Re: Page faults hurt sound quality
Re: Page faults hurt sound quality
- Subject: Re: Page faults hurt sound quality
- From: Philippe Wicker <email@hidden>
- Date: Sun, 12 Oct 2003 18:25:07 +0200
On Sunday, October 12, 2003, at 06:08 PM, Jeremy Sagan wrote:
In March 11 2002, Herbie Robinson wrote a very useful and detailed
post on this list entitled 'Wired Memory Utilities' in which he
outlines 3 different ways to use wired memory in OS X. To the best of
my knowledge there is no Apple official documentation on the correct
way for hosts and plug-ins to handle the issue of page-faults in audio
applications.
Since plug-ins like samplers use very large chunks of memory is it the
plug-ins responsibility to wire its memory? Is it even possible,
running in user space? Should hosts use the task-wire call before
loading plug-ins?
Have a look to the POSIX call "mlock" (documented in a man page), it
may answer (at least partially) to your question.
It has been brought to my attention that page-ins seem much more
prevalent in Panther than they did in Jaguar. In either case a page
fault in the audio thread will cause a glitch.
Thanks,
Jeremy
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
Philippe Wicker
email@hidden
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.