Re: [squid-users] Should I "--enable-truncate" on Linux/ReiserFS?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 11 Feb 2006 19:40:19 +0100 (CET)

On Thu, 9 Feb 2006, Steve Snyder wrote:

> Red Hat is enabling the "--enable-truncate" option in their Squid packages.
> Is the use of this option advisable in my circumstances?

I would advice against using this option. It increases the inode usage
considerably, only makes a marginal difference in performance, and opens a
race window where cache objects can be partially corrupted causing swapin
MD5 failures (should be harmless, but somewhat annoying)

> Can someone with experience in these circumstances advise me on the
> performance impact of using "--enable-truncate" (versus outright file
> deletion) on this cache configuration?

reiserfs should benefit much less from truncate than ext3, thanks to it's
different directory/inode layout. And ext3 should only margianlly benefit
from it.

Regards
Henrik
Received on Sat Feb 11 2006 - 11:40:23 MST

This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:03 MST