lkml.org 
[lkml]   [2009]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -mm] vmscan: make mapped executable pages the first class citizen
> Our big problem today usually isn't throughput though,
> but latency - the time it takes to bring a previously
> inactive application back to life.

But if you page back in in 2MB chunks that is faster too. The initial "oh
dear we guessed wrong and he's clicked on OpenOffice again" we can't
really speed up (barring not paging out those bits and a little bit of
potential gain from not ramming stuff down the disks throat at full pelt)
but the amount of time it takes after that first "run for the disk"
moment is a lot shorter.

One question I have no idea as to the answer or any research on is "if I
take a 2MB chunk of an apps pages and toss them out together is there
sufficient statistical correlation that makes it useful to pull them back
in together"

Clearly working in 512K/2MB chunks reduces the efficiency that we get
from memory (which we have lots of) as well as improving our I/O
efficiency dramatically (which we are very short of), the question is
which dominates under load.







\
 
 \ /
  Last update: 2009-05-10 23:33    [W:2.043 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site