Re: a simple question

From: Duane Wessels <>
Date: Fri, 22 Oct 1999 11:56:42 -0600

On Fri, 22 Oct 1999, Urban Grena wrote:

> Hi!
> I would like to ask you a question:
> Why does squid prefer truncating files to deleting them ? Is it because of
> speed? And what can I expect if I change this default behavior? (Anybody
> tried to measure this?)

People report different things for unlink vs truncate. In my
tests, truncate proved to give a little higher throughput.


Other people report that truncate is the same, or worse. It probably
depends on your particular operating system and how the filesystem

Duane W.
Received on Fri Oct 22 1999 - 12:04:22 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:49:02 MST