Mailinglist Archive: opensuse (4244 mails)

< Previous Next >
Re: [opensuse] OpenSUSE 10.3 benchmarking: slower than 10.2?
  • From: nordi <nordi@xxxxxxxxx>
  • Date: Sun, 14 Oct 2007 18:01:32 +0200
  • Message-id: <47123D5C.4020407@xxxxxxxxx>
Anders Johansson schrieb:
Cool. Can you do the same thing for 10.3, so we can compare?

Here it is.

Syscalls run considerably slower in 10.3 than in 10.0. I grepped through the file to see how long the syscalls took:

10.0:
5 usecs: 52792
6 usecs: 79944
7 usecs:   434
weighted average: 5.61 usecs

10.3
5 usecs: 16811
6 usecs: 85497
7 usecs:  4282
weighted average: 5.88 usecs

That's only a 5% difference, but probably there are rounding errors hiding somewhere since we have very small numbers: If you go by the size of the files (6.0MB versus 7.5MB) the difference is much clearer.


Btw, I saw the following on Suse 10.3:

$ head -n 10000 trace_anders > temp
$ time grep -c 'uid' temp
2494

real    0m4.745s
user    0m4.720s
sys     0m0.004s
$ LANG=POSIX
$ time grep -c 'uid' temp
2494

real    0m0.004s
user    0m0.004s
sys     0m0.000s


Grepping with UTF-8 was super-slow for me, while grepping with LANG=POSIX worked as expected. On Suse 10.0 I can grep the whole file with UTF-8 in just 0.9 seconds, while on Suse 10.3 it takes 4.7 seconds to grep a small fraction. Anyone else seeing this?

Regards
nordi
< Previous Next >
Follow Ups