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: Strange behaviour of mmap() in OS X



Disagreement: this is a multi-tasking operating system, so one *normal* user task should definitely NOT be able to completely hog system resources like that, unless it is given special leave to do so. I can (somewhat) agree that it should be possible to allow it to do so, but definitely NOT as the default behavior!

[replying to myself]

OK, I reran my tests and it seems the situation has improved dramatically (tested with 10.2.6):

- swapping speed for such a case is close to disk throughput
- other processes do not get swapped out completely any longer

So the system definitely no longer goes into the "catastrophic failure" mode that I had described before and reported in radar. The rest of the system does still seem to be affected a little more than it should be, but in a range where reasonable people may very well differ about what is the right behavior.

Regards,

Marcel

--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
1d480c25f397c4786386135f8e8938e4
_______________________________________________
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: Strange behaviour of mmap() in OS X (From: Marcel Weiher <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.