[Top][All Lists]

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

Re: [Bug-wget] Writing whole blocks?

From: Hrvoje Niksic
Subject: Re: [Bug-wget] Writing whole blocks?
Date: Tue, 22 Mar 2011 15:26:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Sebastian Pipping <address@hidden> writes:

> I noticed that wget writes data to disk as it comes in.

This is not strictly true, it is up to the OS to write data to disk.
What Wget does is that it doesn't hold the data in stdio buffers after
receiving it from the network.  Since the data comes from the network in
buffers, this is exactly what you want.  It would be a bad idea to
interrupt Wget only to find that some data is missing because Wget was
unnecessarily buffering it.

> I was wondering if you would be interested to incorporate a patch
> buffering writes to full page caches sizes (e.g. 4096 in my machine)
> by default and adding a parameter to override this behavior.

Can you describe a specific problem that this additional parameter would


reply via email to

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