• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Page faults hurt sound quality
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Page faults hurt sound quality
      • From: James McCartney <email@hidden>
    • Re: Page faults hurt sound quality
      • From: Jeremy Sagan <email@hidden>
References: 
 >Page faults hurt sound quality (From: Jeremy Sagan <email@hidden>)

  • Prev by Date: Page faults hurt sound quality
  • Next by Date: Re: man coreaudio (?)
  • Previous by thread: Page faults hurt sound quality
  • Next by thread: Re: Page faults hurt sound quality
  • Index(es):
    • Date
    • Thread