On Tue, Mar 1, 2016 at 4:48 PM, Mike McLean <mikem(a)redhat.com> wrote:
On 03/01/2016 11:09 AM, Dennis Gregorovic wrote:
> 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.
For people on the local LAN sure, but the further away you are the
more likely you'll have issues, I suspect people in India, Australia
and other places much more will cause issues.
There is no way to change it via configuration. It used to be
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
Is it hard to make it a config option?
Worth noting that there is also a hard coded block size on the other
Does anyone have time to experiment with different permutations?
Ah, time, I wish.