ATA 4K sector issues
Thiago Damas
tdamas at gmail.com
Wed Mar 17 18:37:54 UTC 2010
With UFS, I previouly did some tests (in portuguese):
Partition without begin aligned:
=> 34 1953525101 ad4 GPT (932G)
34 1953525101 1 freebsd-ufs (932G)
newfs -U (default -f 2048 -b 16384)
# time tar xfj
/install/releases/i386/8.0-RELEASE/8.0-RELEASE/ports/ports.tgz
2.342u 5.013s 20:35.65 0.5% 64+1091k 6623+2734io 0pf+0w
newfs -U -f 4096 -b 32768
# time tar xfj
/install/releases/i386/8.0-RELEASE/8.0-RELEASE/ports/ports.tgz
2.590u 5.263s 22:06.32 0.5% 63+1087k 10911+1676io 0pf+0w
Partition aligned on 4k boundaries
=> 34 1953525101 ad4 GPT (932G)
34 30 - free - (15K)
64 1953525071 1 freebsd-ufs (932G)
newfs -U (default -f 2048 -b 16384)
# time tar xfj
/install/releases/i386/8.0-RELEASE/8.0-RELEASE/ports/ports.tgz
2.392u 5.000s 10:24.15 1.1% 64+1095k 8375+2735io 0pf+0w
newfs -U -f 4096 -b 32768
# time tar xfj
/install/releases/i386/8.0-RELEASE/8.0-RELEASE/ports/ports.tgz
2.547u 5.567s 1:25.50 9.4% 64+1088k 11880+1755io 0pf+0w
Aligning the partition, and ajusting the block/fragment size, I went
from 22minutes to 1m25s.
But, I tried every combination possible with ZFS, and always get
slow performance (something like 2, 3 MB/s write speed)
2010/3/17 Dag-Erling Smørgrav <des at des.no>
> Thiago Damas <tdamas at gmail.com> writes:
> > With UFS, I previouly did some tests (in portuguese):
>
> Some commentary would be nice.
>
> DES
> --
> Dag-Erling Smørgrav - des at des.no
>
More information about the freebsd-hackers
mailing list