fread multiple files
fread multiple files
- Subject: fread multiple files
- From: Tomasz Koziara <email@hidden>
- Date: Fri, 25 Sep 2009 18:27:57 +0100
Hi
An MPI code I use outputs 3 * N files, where N is the number of
processors. Then I am using a serial code to post-process the results.
The post-processor is single-threaded and for every time instant reads
a chunk of data from each of 3 *N files. I noticed that most of the
time (nearly 50%) is spent in:
__spin_lock
pthread_mutex_lock
fread
pthread_mutex_unlock
flockfile
funlockfile
I am wondering whether those of you who know more about optimizing IO
could advice me on how to make this reading more efficient.
Regards
Tomek
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden