linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Background page clearing
@ 2014-07-25 15:06 Wilco Dijkstra
  2014-07-25 15:19 ` Dave Hansen
  0 siblings, 1 reply; 4+ messages in thread
From: Wilco Dijkstra @ 2014-07-25 15:06 UTC (permalink / raw)
  To: linux-mm

Hi,

I recently noticed how a Stream benchmark took 30% more time in the first iteration due to having to
clean pages in the output array. Especially clearing a huge page on a pagefault is a substantial
overhead. It affects the cached data of the workload while it is running and reduces available
memory bandwidth.

Is there a reason Linux does not do background page clearing like other OSes to reduce this
overhead? It would be a good fit for typical mobile workloads (bursts of high activity followed by
periods of low activity).

Wilco



--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

end of thread, other threads:[~2014-07-25 16:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-25 15:06 Background page clearing Wilco Dijkstra
2014-07-25 15:19 ` Dave Hansen
2014-07-25 16:27   ` Wilco Dijkstra
2014-07-25 16:32     ` Dave Hansen

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