Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zero filling pages



On Wednesday, July 23, 2003, at 17:50, Nat! wrote:
"Clark S. Cox III" <email@hidden>

Zero filling is my bottleneck currently.

Are you sure? how did you determine this.

Using sample. The first routine to touch a page is really expensive.

That doesn't mean that it's the zero-filling that's at fault. Even without zero-filling, the first access to the page would be the most expensive. When you first allocate a page, that page is only logical, it hasn't necessarily been mapped to any physical memory. Only after you first access an address inside that page can you know that the page has been mapped in.
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.
References: 
 >Re: zero filling pages (From: Nat! <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.