Re: Background page clearing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/25/2014 08:06 AM, Wilco Dijkstra wrote:
> 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).

If the page is being allocated, it is about to be used and be brought in
to the CPU's cache.  If we zero it close to this use, we only pay to
bring it in to the CPU's cache once.  Or so goes the theory...

I tried a zero-on-free implementation a year or so ago.  It helped some
workloads and hurt others.  The gains were not large enough or
widespread enough to merit pushing it in to the kernel.

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]