From owner-freebsd-current@FreeBSD.ORG Fri Jul 30 00:36:38 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB29E16A4CE for ; Fri, 30 Jul 2004 00:36:38 +0000 (GMT) Received: from smtp06.web.de (smtp06.web.de [217.72.192.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 475E843D58 for ; Fri, 30 Jul 2004 00:36:38 +0000 (GMT) (envelope-from eugene3@web.de) Received: from [217.228.123.144] (helo=[192.168.0.3]) by smtp06.web.de with asmtp (WEB.DE 4.101 #44) id 1BqLNQ-0003m0-00; Fri, 30 Jul 2004 02:36:00 +0200 Message-ID: <410997F7.30605@web.de> Date: Fri, 30 Jul 2004 02:36:07 +0200 From: Eugene User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7) Gecko/20040616 X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: Scot Hetzel References: <410941AC.8010609@web.de> <790a9fff04072912241219b5c2@mail.gmail.com> In-Reply-To: <790a9fff04072912241219b5c2@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: eugene3@web.de X-Sender: eugene3@web.de cc: freebsd-current@freebsd.org Subject: Re: did gbde on swap destroy some boot sectors? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jul 2004 00:36:38 -0000 Scot Hetzel wrote: >>my swap labels are the following ones... >> >>/dev/da0s1b >>/dev/da1s1b >>/dev/da2s1b >> > > What we should be looking at are the disklabels for those devices: > > disklabel /dev/da0s1 > > As the swap partition could be overlapping with your root partition. > Then when your system crashed, the system wrote to the end of your > swap partition, which wrote over your root partition. i configured the labels some moths ago from within sysinstall when i installed freebsd, they realy shouldnt overlap. im heavily using my swap, so it should have crashed earlier that root label... > > >>and they are located at the very beginning of all hard drives for speed >>reasons... >> > > Actually, you want your swap partition as close to the center of the > hard drive as possible to minimize the movement of the drive heads, > thus increasing the speed. > > Scot seems i was too fixated onto continouously read/write speed alone being faster at the beginning ignoring the reposition of the heads from label to label... but i still guess there is a chance the kernel does wait and read/write in chunks, minimizing head-reposition over long distances, doesnt it? there are even tunables about swap... hi_swap and so on wich are realy of use... should i benchmark where to locate and how to size it or will i only gain performance far from being noticeable? Eugene