Frequently Asked Questions

Mar 28, 2024 - 07:26am

 [F] Frequently Asked Questions  / Operational Questions  / Performance Issues.  / Timing Out, Slow Response  /

Insufficient Memory Usage Settings

Rate This FAQ
 (Not yet rated)

Created On: 12 Jan 2003 2:34 pm
Last Edited: 28 Apr 2005 3:40 pm

Question Printer Friendly

Making the right settings in the Memory Usage section of the control panel is more of an art than a science.

Answer

Our recommendation is that for optimum performance the disk cache in Web Crossing (Memory Usage control panel) be set to about 1/3 to 1/2 of database size. If available RAM makes that impossible, it's wise to consider deleting some discussions then repacking the database to shrink the size.

Loosely, and realizing every system is very unique, figure a 10 msec delay for each disk page. So for example, 200 pages/minute is about 2 seconds of lost CPU time per 60 seconds, or 3.3% which is just fine.

Also, since there are a lot of disk reads during startup to init the disk cache, so the lost time is actually less than this. The thing to do is write down the loads and time, then check in 24 hours and see how it is doing.

The small object heap is a bit more of a problem, the best setting here is determined by watching the number of memory reclaims over time. Ideally the number would be small, perhaps a few thousand in a 24-hour period, but limitations on server RAM may require restricting the amount of memory Web Crossing can be allocated. The best approach is to make a modest change, then check again in 24 hours to see the result. Adjustments over a few days will allow you to reach a reasonable compromise between Web Crossing performance and other server requirements.

Please note! We DO NOT recommend that you increase your memory settings to the point where the majority of the memory being used by Web Crossing is VIRTUAL. Over use of virtual memory (which comes from your disk drive) is a severe performance killer. No disk is as fast as RAM.