Awesome: A window manager that gets out of the way
Awesome: A window manager that gets out of the way
Posted Nov 17, 2011 17:56 UTC (Thu) by andresfreund (subscriber, #69562)In reply to: Awesome: A window manager that gets out of the way by nix
Parent article: Awesome: A window manager that gets out of the way
Having to wait for far too long till the 2-6GB of Memory used by desktop applications are paged in again afterwards is a really annoying pita.
And I definitely want them paged out while I need the memory for something else...
Posted Nov 21, 2011 14:54 UTC (Mon)
by nix (subscriber, #2304)
[Link] (2 responses)
Posted Nov 21, 2011 15:19 UTC (Mon)
by andresfreund (subscriber, #69562)
[Link] (1 responses)
Not sure what youre refering to with constrained storage though. The system I notice this most is a low-end server class/high end workstation hardware...
seconds. Yuck.
Obviously in reality it won't be quite that bad and the situation can improve considerably if many process are swapping in (because then you suddently don't have only one synchronous request going on at the time) or if you start doing readahead on swap...
Posted Nov 21, 2011 22:31 UTC (Mon)
by nix (subscriber, #2304)
[Link]
Awesome: A window manager that gets out of the way
Awesome: A window manager that gets out of the way
Even on a RAID10 of 10 rotational disks 4GB/4kb (swapped memory/pagesize) random reads hurt significantly. Especially as in most situations swapin produces loads of synchronous reads.
Calculating it with the worst case load pattern (which is not that unreasonable) and a perfect distribution between devices thats:
>>> (2**30*4/4096)/(7200/60.0*10)
873.8133333333334
Awesome: A window manager that gets out of the way