fread multiple files
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hi __spin_lock pthread_mutex_lock fread pthread_mutex_unlock flockfile funlockfile Regards Tomek _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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: I am wondering whether those of you who know more about optimizing IO could advice me on how to make this reading more efficient. This email sent to site_archiver@lists.apple.com
participants (1)
-
Tomasz Koziara