Hi David, Your Xmx seems to be an overkill though without usage stats, this cannot be factified. I think you should analyze long GC pauses given that you have so much difference between the min and max. I prefer making the min/max same before stressing on the values. You can start with 20G but what would you do with the remaining memory?
PS: Your configuration is something I admire. :P On Fri, 6 Dec 2019 at 01:56, David Hastings <hastings.recurs...@gmail.com> wrote: > and if this may be of use: > https://imgur.com/a/qXBuSxG > > just been more or less winging the options since solr 1.3 > > > On Thu, Dec 5, 2019 at 2:41 PM Shawn Heisey <apa...@elyograg.org> wrote: > > > On 12/5/2019 11:58 AM, David Hastings wrote: > > > as of now we do an xms of 8gb and xmx of 60gb, generally through the > > > dashboard the JVM hangs around 16gb. I know Xms and Xmx are supposed > to > > be > > > the same so thats the change #1 on my end, I am just concerned of > > dropping > > > it from 60 as thus far over the last few years I have had no problems > nor > > > performance issues. I know its said a lot of times to make it lower > and > > > let the OS use the ram for caching the file system/index files, so my > > first > > > experiment was going to be around 20gb, was wondering if this seems > > sound, > > > or should i go even lower? > > > > The Xms and Xmx settings should be the same so Java doesn't need to take > > special action to increase the pool size when more than the minimum is > > required. Java tends to always increase to the maximum as it runs, so > > there's usually little benefit to specifying a lower minimum than the > > maximum. With a 60GB max heap, Java is likely to grab a little more > > than 60GB from the OS, regardless of how much heap is actually in use. > > > > If you can provide GC logs from Solr that cover a signficant timeframe, > > especially heavy indexing, we can analyze those and make an estimate > > about the values you should have for Xms and Xmx. It will only be a > > guess ... something might happen later that requires more heap. > > > > We can't make recommendations without hard data. The information you > > provided isn't enough to guess how much heap you'll need. Depending on > > how such a system is used, a few GB might be enough, or you might need a > > lot more. > > > > > > > https://lucidworks.com/post/sizing-hardware-in-the-abstract-why-we-dont-have-a-definitive-answer/ > > > > Thanks, > > Shawn > > > -- -- Regards, *Paras Lehana* [65871] Development Engineer, Auto-Suggest, IndiaMART Intermesh Ltd. 8th Floor, Tower A, Advant-Navis Business Park, Sector 142, Noida, UP, IN - 201303 Mob.: +91-9560911996 Work: 01203916600 | Extn: *8173* -- * * <https://www.facebook.com/IndiaMART/videos/578196442936091/>