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.89
>> Do you mean http://www.freebsd.org/cgi/query-pr.cgi?pr=84903 or sth
>> else?
> yes, this
I patched my kernel as described but It has no any effect on untarring
performance.
Anyway thank you for your hint, I belive this can help in tuning other things.
# time gtar -xf mysql-m.tgz
1.207u 16.371
> Unpacking it on FreeBSD5 gives me such results:
>
> # time tar -xf mysql-m.tgz
> 2.130u 20.187s 7:02.69 5.2% 41+382k 13097+8205io 0pf+0w
> ...so 7 minutes of real time.
I've checked the same file on *different* server, but it has very similar
hardware (not Dell, but also Dual Xeon 2.8, SCSI,
> cannot this be related to low value of nswbufs (fixed in curennt and I think
> releng_6)?
Do you mean http://www.freebsd.org/cgi/query-pr.cgi?pr=84903 or sth
else?
Jarek G
___
freebsd-performance@freebsd.org mailing list
http://lists.freebsd.org/mail
--- JG <[EMAIL PROTECTED]> wrote:
> > Anyway, you could try the dd thing; something like
> > # dd if=mysql-m.tgz | tar -zxvf -
> > and see if it makes any diference.
>
> Not for me, I've very similar result. Is there way to do
> something
> reverse - extract tar file to stdout or sth. and then "
> Anyway, you could try the dd thing; something like
> # dd if=mysql-m.tgz | tar -zxvf -
> and see if it makes any diference.
Not for me, I've very similar result. Is there way to do something
reverse - extract tar file to stdout or sth. and then "dd" it to files?
JG
__
> Will noatime make a difference when unpacking a tar archive (assuming an
> otherwise idle system, at least)? My understanding of atime is that it
> might slow down the disk for later accesses due to atime writes, but
> when creating files it shouldn't have any effect. Is that not correct?
Yes,
> Might be silly but do u get similar results if u:
> 1. expand to a memory backed disk
> 2. expand to /dev/null
Hello,
Thank you for test advice.
FreeBSD:
# time tar -xf mysql-m.tgz -O > /dev/null
1.125u 3.007s 0:04.13 99.7% 41+323k 0+0io 0pf+0w
# time tar -xf mysql-m.tgz -O > /dev/null
1.1
> Gentoo is using GNU tar, 5.4 is using bsdtar. Try installing gtar on
> FreeBSD and see what the time is.
"I've tested bsdtar and gtar from ports (btw. gtar seems to be
faster)."
It's not big difference.
JG
___
freebsd-performance@freebsd.org maili