guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#44567] [PATCH] publish: Improve HTTP performance when not using --c


From: Ludovic Courtès
Subject: [bug#44567] [PATCH] publish: Improve HTTP performance when not using --cache.
Date: Mon, 16 Nov 2020 09:26:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi,

Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

> I didn't observe any meaningful difference, it perhaps felt more
> 'steady'.  The value comes from what Linux, the kernel, configures as a
> max value by default (see 'man tcp' and 'cat
> /proc/sys/net/core/wmem_max').

I see, makes sense!

>>>       (make-gzip-output-port (response-port response)
>>>                              #:level level
>>> -                            #:buffer-size (* 64 1024)))
>>> +                            #:buffer-size %default-buffer-size))
>>
>> Does the gzip buffer size have to match the TCP buffer size?  I’d say
>> not necessarily, so perhaps we should have a separate variable for the
>> gzip buffer size (or keep it as is).
>
> It doesn't, but if we're going to pick some value, it seems the network
> one (SO_SNDBUF) should be the lowest common denominator.  Since we're
> augmenting the previous value, I've just all made them agree.

OK.

>> That’s it, thank you!
>
> Thanks for the review!  Pushed to the 1.2.0-version branch.

Great, thanks!

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]