How do you log GC frequency and time to compare it with other GC configurations?
Also, do you tweak parameters automatically or is there a set of configuration that get tested? Lastly, I was under impression that G1 is not recommended to be used based on some issues with Lucene, so I haven't tried it. Are you guys seeing any significant performance benefits with it and Java 8? Any issues? On May 1, 2016 12:57 PM, "Bram Van Dam" <bram.van...@intix.eu> wrote: > On 30/04/16 17:34, Davis, Daniel (NIH/NLM) [C] wrote: > > Bram, on the subject of brute force - if your script is "clever" and > uses binary first search, I'd love to adapt it to my environment. I am > trying to build a truly multi-tenant Solr because each of our indexes is > tiny, but all together they will eventually be big, and so I'll have to > repeat this experiment, many, many times. > > Sorry to disappoint, the script is very dumb, and it doesn't just > start/stop Solr, it installs our application suite, picks a GC profile > at random, indexes a boatload of data and then runs a bunch of query tests. > > Three pointers I can give you: > > 1) beware of JVM versions, especially when using the G1 collector, it > behaves horribly on older JVMs but rather nicely on newer versions. > > 2) At the very least you'll want to test the G1 and CMS collectors. > > 3) One large index vs many small indexes: the behaviour is very > different. Depending on how many indexes you have, it might be worth to > run each one in a different JVM. Of course that's not practical if you > have thousands of indexes. > > - Bram > >