On 03/01/2016 11:09 AM, Dennis Gregorovic wrote:
Hi,
In the koji/__init__.py:fastUpload method there is a blocksize parameter that is used to determine how many bytes are uploaded to the koji hub per request. By default it is set to 1MB and as far as I can tell that is the value actually used. Is there a way to change this value via koji configuration? A larger blocksize value could significantly improve the upload throughput.
There is no way to change it via configuration. It used to be smaller and we raised it for performance. At the time at least, 1M seemed to be roughly the point of diminishing returns. It really depends on the connection overhead.
Speaking of connection overhead, another factor to consider is whether keepalive is enabled on the httpd server that runs the hub.
Worth noting that there is also a hard coded block size on the other end.
Does anyone have time to experiment with different permutations?
-- Dennis _______________________________________________ koji-devel mailing list koji-devel@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/koji-devel@lists.fedorahosted.org