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 pitrou
Recipients eric.araujo, giampaolo.rodola, neologix, pitrou, rosslagerwall
Date 2013-03-07.15:27:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <2052869606.18016339.1362670065533.JavaMail.root@zimbra10-e2.priv.proxad.net>
In-reply-to <1362667872.18.0.127575309336.issue13564@psf.upfronthosting.co.za>
Content
> As for your "blocksize = filesize" argument I changed my opinion:
> despite being less CPU consuming we might incur into problems if
> that number is too big.  'count' parameter on Linux, for example, is
> expected to be an unsigned int.
> Other plarforms will also use different data types so we better stick
> with a fixed blocksize value (currently 8192).

If you really think a blocksize is necessary, you could choose a much
larger one for sendfile() (such as 16 MB). Then the overhead of system
calls would be much smaller.
History
Date User Action Args
2013-03-07 15:27:51pitrousetrecipients: + pitrou, giampaolo.rodola, eric.araujo, neologix, rosslagerwall
2013-03-07 15:27:51pitroulinkissue13564 messages
2013-03-07 15:27:51pitroucreate