Async writing to lots of files at the same time ?
Async writing to lots of files at the same time ?
- Subject: Async writing to lots of files at the same time ?
- From: Mark Gilbert <email@hidden>
- Date: Mon, 5 Dec 2005 23:00:57 +0000
Folks.
I need to continuously write data into 128 open files at the same time.
Currently I write one after the other, but I wonder if its worth
putting in code to make each write Asynchronous.
Currently the storage aspect is pulling my app down, and so I want to
'smoothen' out the impact disk writing has on the overall operation
of my app.
Is Async disk writing a good idea ? Some people have suggested
putting the disk writes into another thread (currently on my main
thread). I am keen to avoid it impacting on my Core Audio IO Proc
which is running on another thread, and can sometimes be pulled down
by the disk access.
How would the system deal with 128 async writes. Is this likely to
cause problems, or make things better ?
Cheers
Mark Gilbert.
--
email@hidden
Tel: +44 208 340 5677
fax: +44 870 055 7790
http://www.gallery.co.uk
New Product ! - MetaCorder
Location Sound Field Recorder
http://www.metacorder.info
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden