homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neologix
Recipients eric.araujo, giampaolo.rodola, neologix, pitrou, rosslagerwall
Date 2013年03月06日.16:13:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1362586435.65.0.968516842883.issue13564@psf.upfronthosting.co.za>
In-reply-to
Content
Here's the result of a benchmark sending a 1GB file over a Gb/s ethernet network:
vanilla:
real 0m9.446s
user 0m0.493s
sys 0m1.425s
sendfile:
real 0m9.143s
user 0m0.055s
sys 0m0.986s
The total time doesn't vary much (the reduction above is just jitter).
But it reduces user+sys time by almost a factor of 2.
Note that is changed Giampaolo's patch to call sendfile on the whole file, not by block.
History
Date User Action Args
2013年03月06日 16:13:55neologixsetrecipients: + neologix, pitrou, giampaolo.rodola, eric.araujo, rosslagerwall
2013年03月06日 16:13:55neologixsetmessageid: <1362586435.65.0.968516842883.issue13564@psf.upfronthosting.co.za>
2013年03月06日 16:13:55neologixlinkissue13564 messages
2013年03月06日 16:13:55neologixcreate

AltStyle によって変換されたページ (->オリジナル) /