From owner-freebsd-questions Thu Aug 22 11: 3: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A765F37B400 for ; Thu, 22 Aug 2002 11:03:06 -0700 (PDT) Received: from apollo.sitaranetworks.com (apollo.sitaranetworks.com [199.103.141.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88CE143E42 for ; Thu, 22 Aug 2002 11:03:05 -0700 (PDT) (envelope-from cptacek@sitaranetworks.com) Received: from rios.sitaranetworks.com (rios.sitaranetworks.com [199.103.141.78]) by apollo.sitaranetworks.com (8.10.2+Sun/8.9.3) with ESMTP id g7MI34629230 for ; Thu, 22 Aug 2002 14:03:04 -0400 (EDT) Received: by rios.sitaranetworks.com with Internet Mail Service (5.5.2653.19) id ; Thu, 22 Aug 2002 14:03:50 -0400 Message-ID: <31269226357BD211979E00A0C9866DAB02BB9987@rios.sitaranetworks.com> From: Chris Ptacek To: "'freebsd-questions@FreeBSD.ORG'" Subject: fragmentation... TIME to SPACE Date: Thu, 22 Aug 2002 14:03:48 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I am running a machine (FreeBSD 3.2, unfortunately upgrading is not an option at the moment) with a squid proxy. We will sometimes get TIME to SPACE messages on our cache partition which appear to be caused by fragmentation (df shows about 75% disk usage). The source has the following comment: /* * At this point we have discovered a file that is trying to * grow a small fragment to a larger fragment. To save time, * we allocate a full sized block, then free the unused portion. * If the file continues to grow, the `ffs_fragextend' call * above will be able to grow it in place without further * copying. If aberrant programs cause disk fragmentation to * grow within 2% of the free reserve, we choose to begin * optimizing for space. */ My question, are there any settings/modifications (file system, disk usage, etc) I can tweak or play with in order to try and eliminate these TIME to SPACE changes? - Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message