[haiku-bugs] [Haiku] #5559: Memory pressure causes high latency

#5559: Memory pressure causes high latency
---------------------------+------------------------------------------------
 Reporter:  bbjimmy        |       Owner:  axeld    
     Type:  bug            |      Status:  new      
 Priority:  normal         |   Milestone:  R1/alpha2
Component:  System/Kernel  |     Version:  R1/alpha1
 Keywords:                 |   Blockedby:           
 Platform:  All            |    Blocking:           
---------------------------+------------------------------------------------
 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 r35788 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.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5559>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: