wget-dev
[Top][All Lists]
Advanced

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

Re: wget | Draft: Initial test for dynamic buffer size for downloads (!3


From: @rockdaboot
Subject: Re: wget | Draft: Initial test for dynamic buffer size for downloads (!32)
Date: Sat, 04 Jun 2022 12:30:03 +0000



Tim Rühsen started a new discussion on src/retr.c: 
https://gitlab.com/gnuwget/wget/-/merge_requests/32#note_971478315

>    int ret = 0;
>  #undef max
>  #define max(a,b) ((a) > (b) ? (a) : (b))
> -  int dlbufsize = max (BUFSIZ, 8 * 1024);
> -  char *dlbuf = xmalloc (dlbufsize);
> +  int dlbufsize = max (BUFSIZ, 16 * 1024 * 1024);
> +  /* Number of bytes we should try to read from the network in a single call 
> */
> +  int rdbufsize = 8 * 1024;

Let's start at 64 kB !?

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget/-/merge_requests/32#note_971478315
You're receiving this email because of your account on gitlab.com.




reply via email to

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