slow tar performance on fbsd5

JG jarek at adeon.lublin.pl
Fri Oct 14 03:06:37 PDT 2005


Hello all,

Seems that my problem with untarring is resolved!

Firstly, Write Cache was disabled by default by my scsi controller.

FreeBSD 5.4, WCE=0
# time gtar -xf mysql-m.tgz
1.207u 16.371s 7:01.06 4.1%     164+278k 8030+7176io 4pf+0w

FreeBSD 5.4, WCE=1
# time gtar -xf mysql-m.tgz
1.217u 16.893s 3:24.51 8.8% 170+288k 8550+6355io 4pf+0w

I've upgraded to RELENG_6 today.

FreeBSD6 RC1, WCE=1

# time gtar -xf mysql-m.tgz
0.141u 2.836s 0:22.23 13.3%     177+284k 2+1298io 0pf+0w

Unbeliveable! It's 22 seconds on FBSD6 versus 3 minutes and 24secs on FBSD5!

BTW. If you want to turn write cache on, use:
camcontrol modepage daX -m8 -P0 -e
then put "1" after WCE in your favourite editor.

Regards,
JG


 







More information about the freebsd-performance mailing list