|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
On Sep 25, 2009, at 12:03 PM, email@hidden wrote:
This - the use of fread - is almost certainly your problem.
Your post-processor should not be using the stdio interfaces. It's probable that it's also reading small amounts of data at a time, which would account for the large amount of time spent inside the locked region.
If you fix your post-processor to use the read(2) interface, and buffer data locally rather than pulling it through stdio, you should see a dramatic improvement in performance.
_______________________________________________ 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
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.