On 9/23/2020 7:42 PM, Wei wrote:
Recently we deployed solr 8.4.1 on a batch of new servers with 2 NUMAs. I
noticed that query latency almost doubled compared to deployment on single
NUMA machines. Not sure what's causing the huge difference. Is there any
tuning to boost the performance on multiple NUMA machines? Any pointer is
appreciated.

If you're running with standard options, Solr 8.4.1 will start using the G1 garbage collector.

As of Java 14, G1 has gained the ability to use the -XX:+UseNUMA option, which makes better decisions about memory allocations and multiple NUMAs. If you're running a new enough Java, it would probably be beneficial to add this to the garbage collector options. Solr itself is unaware of things like NUMA -- Java must handle that.

https://openjdk.java.net/jeps/345

Thanks,
Shawn

Reply via email to