Re: How to get a sustained read speed under OS X
Re: How to get a sustained read speed under OS X
- Subject: Re: How to get a sustained read speed under OS X
- From: Bob Ippolito <email@hidden>
- Date: Thu, 3 Jun 2004 14:43:43 -0400
On Jun 3, 2004, at 1:21 PM, Marc Van Olmen wrote:
>
Because it is realtime problem I'm having related to video/audio
>
stream I
>
hope I can ask you guys this question:
>
>
How do I get a sustained stream working under OS X, or does OS X
>
doesn't
>
provide a mechanism for this?
>
>
I thought it was a matter of getting the read thread the right
>
priority or
>
is it better that I use some async reading?
>
>
I need to get a sustained speed of 3.5MBytes/second, this is easy to
>
do but
>
as soon I start duplicate a file in the Finder on the same hard disk
>
I'm
>
trouble, my read speeds drops very low. On a G5 the problem was worse
>
then
>
on a G4 because maybe not so good harddisk.
Read ahead! You shouldn't need to fiddle with thread priorities or
anything.. just make sure that your read ahead buffer is big enough to
compensate for the kind of scenarios you expect to see.
-bob
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.