Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2010 15:37:33 -0300
From:      Thiago Damas <tdamas@gmail.com>
To:        =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= <des@des.no>
Cc:        Olivier Smedts <olivier@gid0.org>, freebsd-hackers@freebsd.org, Mohacsi Janos <mohacsi@niif.hu>
Subject:   Re: ATA 4K sector issues
Message-ID:  <f8e3d83f1003171137t1b963a68s14f336436b57dc59@mail.gmail.com>
In-Reply-To: <864oke6bwd.fsf@ds4.des.no>
References:  <alpine.BSF.2.00.1003171114280.74067@mignon.ki.iif.hu>  <86tysf58a2.fsf@ds4.des.no> <alpine.BSF.2.00.1003171652260.74067@mignon.ki.iif.hu>  <f8e3d83f1003171034m5e75eae4r5e8b31d88d361d3b@mail.gmail.com>  <367b2c981003171112n785ea9d4q21d00b533819ca67@mail.gmail.com>  <f8e3d83f1003171117k20d553b7y7ce4c3c8ed2f5c96@mail.gmail.com>  <864oke6bwd.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
  With UFS, I previouly did some tests (in portuguese):

Partition without begin aligned:
=3D>        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
=3D>        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=F8rgrav <des@des.no>

> Thiago Damas <tdamas@gmail.com> writes:
> > With UFS, I previouly did some tests (in portuguese):
>
> Some commentary would be nice.
>
> DES
> --
> Dag-Erling Sm=F8rgrav - des@des.no
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f8e3d83f1003171137t1b963a68s14f336436b57dc59>