3 ms·
The page-zeroing code may be able to minimize its effect on the cache, but it will then necessarily consume memory bandwidth -- 4 KB of bandwidth per page zeroe
by brucedawson 12y ago
The page-zeroing code may be able to minimize its effect on the cache, but it will then necessarily consume memory bandwidth -- 4 KB of bandwidth per page zeroed as it writes each page. So, it still affects overall performance.
And it guarantees that when a process goes to use the pages they will not be in the cache. Ah, tradeoffs.
- ars 12y agoIt does it when the system is otherwise idle. > And it guarantees that when a process goes to use the pages they will not be in the cache. There isn't much point in caching a page full of zeros. Let the cache fill when there is actual data.
- deleted 12y ago[deleted]