From owner-freebsd-fs@FreeBSD.ORG Tue Aug 30 19:10:28 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30F3D1065670 for ; Tue, 30 Aug 2011 19:10:28 +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 C648B8FC1B for ; Tue, 30 Aug 2011 19:10:27 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:6407:f3f9:7d93:d34c]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 14D604AC31 for ; Tue, 30 Aug 2011 23:10:26 +0400 (MSD) Date: Tue, 30 Aug 2011 23:10:24 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <1945418039.20110830231024@serebryakov.spb.ru> To: freebsd-fs@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Subject: Very inconsistent (read) speed on UFS2 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: Tue, 30 Aug 2011 19:10:28 -0000 Hello, Freebsd-fs. Now, when I "defragmented" my large FS, I see very inconsistent read speeds on same files. Is it Ok? My setup is: (1) FreeBSD 8.2-STABLE/x64 (2) E4400 CPU, 2GiB RAM (3) 5xHDDs in RAID5 (software), controller is ICH9R. (4) UFS2 with 32KiB block, vfs.read_max=3D32 (1MiB read-ahead). (5) System and swap on another (6th) HDD, but swap is unused. (6) No periodic or background processes access FS in question at all. Simple program reads each of 12 files (420MiB each) 15 times in cycle like 01, 02, ..., 12, 01,... so, cache in memory should be thrashed, as pr= ograme returns to dame data every ~5.5GiB and here are only 2GiB physical memory in system. --=20 // Black Lion AKA Lev Serebryakov