slow tar performance on fbsd5

JG jarek at adeon.lublin.pl
Wed Aug 24 17:49:51 GMT 2005


> 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.194u 3.013s 0:04.22 99.5%     41+321k 1+0io 0pf+0w

So the same result twice. BTW It's fast.

-------------------------------


Gentoo:
# time tar -xf mysql-m.tgz -O > /dev/null
real    0m7.586s
user    0m0.906s
sys     0m1.352s

# time tar -xf mysql-m.tgz -O > /dev/null

real    0m1.640s
user    0m0.833s
sys     0m0.808s

Seems like a cached. First time 7,5 sec, each next time it takes only
1.6secs. I checked it with the other file and result is the same.


Anyway, it's only a few secs difference, so the problem must be with write. Any other hints? :)


Thank You,
JG



More information about the freebsd-performance mailing list