"Leif Neland" <le...@neland.dk> wrote: >My 60MHz Pentium, FreeBSD > >time file /usr/home/leif/vnc-3.3.2r >/usr/home/leif/vnc-3.3.2r3_unixsrc.tgz: gzip compressed data, deflated, >original filename, last modified: Thu Jan 21 19:23:21 1999 > >real 0m1.237s >user 0m0.758s >sys 0m0.394s
I can't believe these figures. Matthew Dillon <dil...@apollo.backplane.com> wrote: > Someone would have to compare file sources or profile it to figure out > what is causing the slowness. I can't reproduce the complaint using a 64MB PII-266 running -CURRENT - there's no evidence of lack of speed, and profiling file(1) doesn't show any anomolies. It is somewhat slower on my 8MB 386, but not unreasonably so: pc0640% time file src/Z/dhcp-2.0b1pl26.tar.gz src/Z/dhcp-2.0b1pl26.tar.gz: gzip compressed data, deflated, last modified: Thu Jan 1 10:00:00 1970, os: Unix file src/Z/dhcp-2.0b1pl26.tar.gz 1.96s user 0.83s system 98% cpu 2.823 total pc0640% Note that this is somewhat more than twice the time Leif claimed for his P-60 - and a P-60 should be more than twice the speed of a 386SX-25. Unfortunately, I can't profile it on my 386: It's running 2.x and I deleted the profiling libraries due to lack of space. It will happily run the profiled ELF file(1), but doesn't generate any timing data. Looking at ktrace with MALLOC_OPTIONS=U, it does do a lot of realloc()ing (once for every 20 active lines in .../magic) and sbrk()s to a maximum size of ~390KB - not really significant. All I can think of is that Leif has a problem with his P-60 system. Peter To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message