On 3/16/22 03:56, Vincenzo D'Amore wrote:
just asking how can I rely on the number of processors the solr dashboard
shows.
Just to give you a context, I have a 2 nodes solrcloud instance running in
kubernetes.
Looking at solr dashboard (8.3.0) I see there is only 1 cpu available per
solr instance.
but the Solr pods are deployed in two different kube nodes, and entering
the pod with the
kubectl exec -ti solr-0 -- /bin/bash
and running top I see there are 16 cores available for each solr instance.
The dashboard info comes from Java, and Java gets it from the OS. How
that works with containers is something I don't know much about. Here's
what Linux says about a server I have which has two six-core Intel CPUs
with hyperthreading. This is bare metal, not a VM or container:
elyograg@smeagol:~$ grep processor /proc/cpuinfo
processor : 0
processor : 1
processor : 2
processor : 3
processor : 4
processor : 5
processor : 6
processor : 7
processor : 8
processor : 9
processor : 10
processor : 11
processor : 12
processor : 13
processor : 14
processor : 15
processor : 16
processor : 17
processor : 18
processor : 19
processor : 20
processor : 21
processor : 22
processor : 23
If I start Solr on that server, the dashboard reports 24 processors.
Thanks,
Shawn