From owner-freebsd-fs@FreeBSD.ORG Fri Aug 26 18:49:52 2011 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B6AC106564A for ; Fri, 26 Aug 2011 18:49:52 +0000 (UTC) (envelope-from mckusick@mckusick.com) Received: from chez.mckusick.com (chez.mckusick.com [70.36.157.235]) by mx1.freebsd.org (Postfix) with ESMTP id 31E0A8FC12 for ; Fri, 26 Aug 2011 18:49:52 +0000 (UTC) Received: from chez.mckusick.com (localhost [127.0.0.1]) by chez.mckusick.com (8.14.3/8.14.3) with ESMTP id p7QIXhlZ008671; Fri, 26 Aug 2011 11:33:43 -0700 (PDT) (envelope-from mckusick@chez.mckusick.com) Message-Id: <201108261833.p7QIXhlZ008671@chez.mckusick.com> To: lev@freebsd.org In-reply-to: <1164434239.20110826221217@serebryakov.spb.ru> Date: Fri, 26 Aug 2011 11:33:43 -0700 From: Kirk McKusick X-Spam-Status: No, score=0.0 required=5.0 tests=MISSING_MID, UNPARSEABLE_RELAY autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on chez.mckusick.com Cc: fs@freebsd.org Subject: Re: Strange behaviour of UFS2+SU FS on FreeBSD 8-Stable: dreadful perofrmance for old data, excellent for new. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2011 18:49:52 -0000 If your old disk was full for a long time and had a lot of activity, the most recently created files are likely to have poor layout. Copying them should give them an improved layout now that much more space is available. Best is to copy one, then remove the original copy. Copy the next one and remove its old copy, etc. Please let me know if this works, as if it does not, something is wrong with growfs. Kirk McKusick