Re: Does CFSocket use efficient polling?
Re: Does CFSocket use efficient polling?
- Subject: Re: Does CFSocket use efficient polling?
- From: Dave Camp <email@hidden>
- Date: Mon, 16 Feb 2009 13:09:35 -0800
This is excellent news.
Could you explain in a bit more detail the "30 seconds on the final
bit of data" part? Under what circumstances might this occur?
Thanks,
Dave
On Feb 16, 2009, at 12:06 PM, Mark Pauley wrote:
Wait, what OS are you seeing this on? We should have a much more
efficient CPU footprint on recent Leopard updates. We actually
tuned the socket callback with a low-watermark optimization. Turns
out we were getting a ton of callbacks because our socket buffer was
a bit too small, downloading (even on gig-e) should be much nicer
now. The catch is that the NSURLDownload code actually exercises
some code that NSURLConnection doesn't, and you pay for the
decreased CPU load with possible latency (almost guaranteed 30
seconds on the final bit of data I think). This works great for
things like streaming video and downloading.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden