User: Password:
Subscribe / Log in / New account

Adding a huge zero page

Adding a huge zero page

Posted Sep 27, 2012 9:07 UTC (Thu) by kiryl (subscriber, #41516)
In reply to: Adding a huge zero page by mti
Parent article: Adding a huge zero page

H. Peter Anvin asked to evaluate other implementation: virtual huge zero page. The idea to have pmd table where all entires point to normal zero page. This way should be more effective from cache usage point of view, but it will increase pressure on TLB. I'm going to implement it and compare with current implementation.

(Log in to post comments)

Adding a huge zero page

Posted Oct 12, 2012 11:51 UTC (Fri) by etienne (guest, #25256) [Link]

Sorry, late comment.
Shortening a huge zero page is good from the cache point of view, but maybe bad from DMA point of view, a:
dd if=/dev/zero of=/dev/sda18
may be forced to use 4 Kbytes pages because the huge zero page is not contiguous in physical memory...
Just my £0.02

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds