Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 24 Dec 2002 04:10:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 24 Dec 2002 04:10:48 -0500 Received: from amsfep15-int.chello.nl ([213.46.243.28]:23598 "EHLO amsfep15-int.chello.nl") by vger.kernel.org with ESMTP id ; Tue, 24 Dec 2002 04:10:47 -0500 Date: Tue, 24 Dec 2002 10:18:52 +0100 Subject: Re: Horrible drive performance under concurrent i/o jobs (dlh problem?) Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v548) Cc: "'David Lang'" , "'Torben Frey'" , To: "Joseph D. Wagner" From: Roy Sigurd Karlsbakk In-Reply-To: <000d01c2a8b6$3d102e20$941e1c43@joe> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.548) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1480 Lines: 36 > SHORT ANSWER: Segregating partitions reduces seek time. Period. > > LONG ANSWER: Reads and writes tend to be grouped within a partition. > For > example, if you're starting a program, you're going to be doing a lot > of > reads somewhere in the /usr partition. If the program uses temporary > files, > you're going to do a lot of reads & writes in the /tmp partition. If > you're > saving a file, you're going to be doing lots of writes to the /home > partition. Hence, since most disk accesses occur in groups within a > partition, preference should be giving to reducing seek time WITHIN a > partition, rather than reducing seek time BETWEEN partitions. keep in mind that only around half of the seek time is because of the partition! Taking an IBM 120GXP as an example: Average seek: 8.5ms Full stroke seek: 15.0ms Time to rotate disk one round: 1/(7200/60)*1000 = 8.3ms Then, the sector you're looking for, will, by average, be half a round away from where you are, and thus, giving the minimum average seek time 8.3/2 = 4.15ms or something like half the seek time. Concidering this, you may gain a maximum <= 50% gain in using smaller partitions. btw. anyone that knows the zone layout on IBM drives? roy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/