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

Matthias Schniedermeyer ms at citd.de
Tue Mar 9 15:41:31 CST 2010


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.




More information about the xfs mailing list