Date: Wed, 15 Sep 2010 11:56:44 +0200 (CEST) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-geom@FreeBSD.ORG, zeus@ibs.dn.ua Subject: Re: storage configuration for Advanced Format Message-ID: <201009150956.o8F9uiLh088066@lurza.secnetix.de> In-Reply-To: <20100914180729.GC92933@relay.ibs.dn.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Zeus V Panchenko <zeus@ibs.dn.ua> wrote: > Bruce Cran (bruce@cran.org.uk) [10.09.14 18:35] wrote: > > On Tue, 14 Sep 2010 18:23:52 +0300 > > Zeus V Panchenko <zeus@ibs.dn.ua> wrote: > > > > > 2. gpart add -b 2048 -s 1953521664 -t freebsd-ufs /dev/ad4 > > > > You can use suffixes to specify the size if you want - e.g. "-s 500G". > > Or, omit it altogether to use all available space. > > what i wanted to detalize is `-b 2048' option ... am i correct, > it causes the data ajustment to benefit 4k blocks peformance? It lets the partition start at 1 MB offset, which is of course aligned to 4k. 1 MB is also standard in Windows, I think, although I'm not sure why. I usually let the first partition start at 64K, because the fdisk(1) default is a "geometry" with 63 sectors per track, so I let the first partition start at sector 65 in the first slice (63 + 65 = 128 sectors = 64Kb). By using a fragment size of 4KB with the newfs command, you make sure that there will be no misaligned accesses. Regarding your mentioning of "performance": You are aware that the WD "green" drives are pretty slow, aren't you? If you need good performance, you can get much faster drives for just a few Dollars/Euros/whatever more. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "It combines all the worst aspects of C and Lisp: a billion different sublanguages in one monolithic executable. It combines the power of C with the readability of PostScript." -- Jamie Zawinski, when asked: "What's wrong with perl?"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009150956.o8F9uiLh088066>