Memory pressure causes high latency
|Reported by:||bbjimmy||Owned by:||bonefish|
|Has a Patch:||no||Platform:||All|
Performing a jam on the haiku trunk with 479mb available ram and 997mb Virtual Memory swap file causes extreem latency issues after about 10 minutes of operation. Stopping the jsm job will not ease the latency issues. The activity monitor shows about 20% used memory, but the rest is devoted to cashed memory and I beleive the swap file is being constantly accessed ( constant disk activity, and remaining above 50% utilized.) This state will continue untill the system is re-booted. then the used memory will remain around 20%, but the cashed memory will not use the rest of available memory and the swap space remains below 20% usage.
This is 100% repeatable on hrev35788 and recent earlier revisions.
Increasing the swap file space makes the problem worse, not better.
decreasing the swap file space solves the issue, but leves not enough memory to jam the tree.
I believe Haiku is attempting to use virtual memory for cached memory and making the system unusable by constantly accessing the swap file.