xfs
[Top] [All Lists]

Re: What are the correct mkfs.xfs parameters for a lying WD-EARS HDD?

To: Eric Sandeen <sandeen@xxxxxxxxxxx>, Matthias Schniedermeyer <ms@xxxxxxx>
Subject: Re: What are the correct mkfs.xfs parameters for a lying WD-EARS HDD?
From: Gim Leong Chin <chingimleong@xxxxxxxxxxxx>
Date: Wed, 10 Mar 2010 16:26:58 +0800 (SGT)
Cc: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.sg; s=s1024; t=1268209618; bh=W+egbnAl98DCvRc7SCpy/0mpaIsv7WJE+WTF5zXSgZ0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=x01wOZxp9GC4EH4lPEEXmdPZ+DQCGNsuTn7lHTGjDH9TyL+j1T8tgZantxSwV3J6DTO2uVqJoZJ289hfdNrI5mfrgnXV96IkzFsZs5KygjZ+XbolP5s29Y/d24IITOE0Ho5jPUIluZzffBEPMNCoUAnc92u/4efJClf/CVyxLAA=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.sg; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ipcR6N82eGLLkj/9772vwB5wEEwezpcd4wJu/w2SRYEa21w+1MEVdrUG2EKNe8ZoLtXlCV8Dy0gbFoZrN/WuP4knBDhdnznVZHYVoX3cRzZkEY7SVOQ8Q/3Y3cDJMOnBdi6nNWMDBGPMkPPshfr+aEWDQ5AKltyLObkguBaOTiE=;
In-reply-to: <20100309214131.GA30233@xxxxxxx>
Hi,


You can use GPT fdisk (gdisk) to do the partitioning.  The author had the exact 
same problem with the performance of WD 4 kB sector drives.  The tool 
automatically sets the partition start and end at 4 kB boundaries.  You can in 
fact set the partition start and end at any sector you want.

It is the firmware in the WD drives that translates the physical 4 kB sector to 
512 byte sectors.


GL

--- On Wed, 10/3/10, Matthias Schniedermeyer <ms@xxxxxxx> wrote:

> From: Matthias Schniedermeyer <ms@xxxxxxx>
> Subject: Re: What are the correct mkfs.xfs parameters for a lying WD-EARS HDD?
> To: "Eric Sandeen" <sandeen@xxxxxxxxxxx>
> Cc: xfs@xxxxxxxxxxx
> Date: Wednesday, 10 March, 2010, 5:41 AM
> On 09.03.2010 00:47, Matthias
> Schniedermeyer wrote:
> > On 08.03.2010 16:45, Eric Sandeen wrote:
> > > Matthias Schniedermeyer wrote:
> > > > Hi
> > > > 
> > > > 
> > > > More than a month ago i bought 4 Western
> Digital WD15EARS (1.5 TB) which 
> > > > are (AFAIK) the first general/commercial
> available 4k sector SATA-HDDs.
> > > > 
> > > > Unfortunatly the HDDs lie about the 4k
> physical sector size and the most 
> > > > prominent drawback is a worse than abysmal
> delete performance.
> > > > ("Normal" Read & Write-performance is
> OK)
> > > > 
> > > > So if i wanted to (re-)mkfs the filesystems
> what would the correct 
> > > > parameters be?
> > > 
> > > once that is done, tell mkfs.xfs "-s size=4096"
> to set the 4k sector size
> > 
> > So that should be enough?
> > Time for backup/mkfs/restore then.
> 
> backup/mkfs/restore is finished.
> 
> I'm currently testing delete-performance.
> And it improved to abysmal performance. (As expected)
> 
> Read-latency, while deleting, has also improved
> drastically. Before the 
> FS was near unusable while deleting. But that is also to be
> expected 
> from such a HDD when it is doing RMW like there is no
> tomorrow. ;-)
> 
> 
> 
> 
> 
> 
> Bis denn
> 
> -- 
> Real Programmers consider "what you see is what you get" to
> be just as 
> bad a concept in Text Editors as it is in women. No, the
> Real Programmer
> wants a "you asked for it, you got it" text editor --
> complicated, 
> cryptic, powerful, unforgiving, dangerous.
> 
> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs
> 


      New Email names for you! 
Get the Email name you&#39;ve always wanted on the new @ymail and @rocketmail. 
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/sg/

<Prev in Thread] Current Thread [Next in Thread>