From owner-freebsd-fs@FreeBSD.ORG Fri Aug 26 19:28:06 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 A28EF106566C; Fri, 26 Aug 2011 19:28:06 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3FAD58FC0A; Fri, 26 Aug 2011 19:28:06 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:b1b7:d4b2:b3b3:a68b]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id D78254AC31; Fri, 26 Aug 2011 23:28:03 +0400 (MSD) Date: Fri, 26 Aug 2011 23:27:58 +0400 From: Lev Serebryakov Organization: FreeBSD Project X-Priority: 3 (Normal) Message-ID: <1963980291.20110826232758@serebryakov.spb.ru> To: Kirk McKusick In-Reply-To: <201108261833.p7QIXhlZ008671@chez.mckusick.com> References: <1164434239.20110826221217@serebryakov.spb.ru> <201108261833.p7QIXhlZ008671@chez.mckusick.com> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable 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 Reply-To: lev@FreeBSD.org List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2011 19:28:06 -0000 Hello, Kirk. You wrote 26 =E0=E2=E3=F3=F1=F2=E0 2011 =E3., 22:33:43: > 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=20 > 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. Ok, I'll write script for this monotonous work :) I could even copy them one-by-one via other file system )copy out, delete, copy in). Will it be better or not? --=20 // Black Lion AKA Lev Serebryakov