public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* RE: [very very drafty] prezeroing to increase the page fault rate
@ 2004-12-16 18:38 Luck, Tony
  2004-12-16 22:37 ` Nick Piggin
  0 siblings, 1 reply; 9+ messages in thread
From: Luck, Tony @ 2004-12-16 18:38 UTC (permalink / raw)
  To: linux-ia64

>> > Also just a stupid question - would an madvise(..., MADV_PREFAULT)
>> > be of use to you? Or is that too difficult to get a good NUMA
>> > allocation layout?
>> 
>> Its easy to implement. The current code already checks for MADV_RAND and
>> switches off prefaulting for that case.
>
>Oh yeah that could be useful too (ie. pre-enlarging the 
>prefault window)
>
>What I had meant though is: MADV_PREFAULT will allocate pages and
>instantiate ptes and allocate pages for the region specified. So your
>large app would call that on startup and not take any faults in future.

How does that differ from (the already existing) MADV_WILLNEED?

There is also a MADV_SEQUENTIAL ... perhaps that could be used to
kick the prefaulter into higher gear (perhaps go directly to order
2, or more, allocation, instead of ramping up slowly).

-Tony

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-01-03 20:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <fa.n0l29ap.1nqg39@ifi.uio.no>
     [not found] ` <fa.n04s9ar.17sg3f@ifi.uio.no>
2004-12-24 21:10   ` Prezeroing V2 [3/4]: Add support for ZEROED and NOT_ZEROED free maps Bodo Eggert
2004-12-26 23:02     ` Florian Weimer
2004-12-26 23:12       ` Prezeroing V2 [3/4]: Add support for ZEROED and NOT_ZEROED free Linus Torvalds
2004-12-26 23:24         ` Prezeroing V2 [3/4]: Add support for ZEROED and NOT_ZEROED free maps Florian Weimer
2004-12-27  1:37           ` Ingo Oeser
2004-12-27  4:33             ` Prezeroing V2 [3/4]: Add support for ZEROED and NOT_ZEROED free Zwane Mwaikambo
2004-12-27  0:01         ` Prezeroing V2 [3/4]: Add support for ZEROED and NOT_ZEROED free maps Chris Wedgwood
2005-01-03 20:30         ` Prezeroing V2 [3/4]: Add support for ZEROED and NOT_ZEROED free Christoph Lameter
2004-12-16 18:38 [very very drafty] prezeroing to increase the page fault rate Luck, Tony
2004-12-16 22:37 ` Nick Piggin
2004-12-21 19:55   ` Increase page fault rate by prezeroing V1 [0/3]: Overview Christoph Lameter
2004-12-23 19:29     ` Prezeroing V2 [0/3]: Why and When it works Christoph Lameter
2004-12-23 19:33       ` Prezeroing V2 [1/4]: __GFP_ZERO / clear_page() removal Christoph Lameter
2004-12-23 19:34         ` Prezeroing V2 [3/4]: Add support for ZEROED and NOT_ZEROED free maps Christoph Lameter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox