I would really like to understand how it is
possible that my Pentium-4 1.7Ghz is only 1.12 times
faster than my Athlon 900. Both have more or less
the same amount of memory - both run the same OS
(debian testing - both up to date).
I already posted this in an unrelated thread in the
motherboard section but I guess it really belongs here:
--------------------------------------------------------------------------------
Benchmark:
- Compile time ('time make') of libcwd-0.99.45 after a './configure --enable-maintainer-mode -disable-pch'
compiler: gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
(OS: debian 'testing' (Lenny) at Apr 26, 2007).
System 1:
- model name : AMD Athlon(tm) Processor
cpu MHz : 908.119
cache size : 256 KB
bogomips : 1818.08
MemTotal: 906592 kB
Diskspeed:
Timing cached reads: 272 MB in 2.00 seconds = 135.85 MB/sec
Timing buffered disk reads: 148 MB in 3.02 seconds = 49.04 MB/sec
System 2:
- model name : Intel(R) Pentium(R) 4 CPU 1.70GHz
cpu MHz : 1708.705
cache size : 256 KB
bogomips : 3420.70
MemTotal: 1036664 kB
Diskspeed:
Timing cached reads: 628 MB in 2.00 seconds = 313.39 MB/sec
Timing buffered disk reads: 182 MB in 3.00 seconds = 60.61 MB/sec
'vmstat 1' shows that during compilation 100% cpu is being used,
and both, id(le) and wa(it for IO), are constantly 0. Hence, we are
not measuring diskspeed here - but cpu speed.
Results:
The Althon 900 compiles libcwd in 2 minutes and 5 seconds.
The Pentium-4 1.7 GHz does the same job in 1 minute 53 seconds.
Conclusion: the pentium is only 1.12 times faster, despite that it's nearly
double clock frequency.
What is causing this?
Edit: tried to change the topic (was: Why is AMD faster than Intel?)
possible that my Pentium-4 1.7Ghz is only 1.12 times
faster than my Athlon 900. Both have more or less
the same amount of memory - both run the same OS
(debian testing - both up to date).
I already posted this in an unrelated thread in the
motherboard section but I guess it really belongs here:
--------------------------------------------------------------------------------
Benchmark:
- Compile time ('time make') of libcwd-0.99.45 after a './configure --enable-maintainer-mode -disable-pch'
compiler: gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
(OS: debian 'testing' (Lenny) at Apr 26, 2007).
System 1:
- model name : AMD Athlon(tm) Processor
cpu MHz : 908.119
cache size : 256 KB
bogomips : 1818.08
MemTotal: 906592 kB
Diskspeed:
Timing cached reads: 272 MB in 2.00 seconds = 135.85 MB/sec
Timing buffered disk reads: 148 MB in 3.02 seconds = 49.04 MB/sec
System 2:
- model name : Intel(R) Pentium(R) 4 CPU 1.70GHz
cpu MHz : 1708.705
cache size : 256 KB
bogomips : 3420.70
MemTotal: 1036664 kB
Diskspeed:
Timing cached reads: 628 MB in 2.00 seconds = 313.39 MB/sec
Timing buffered disk reads: 182 MB in 3.00 seconds = 60.61 MB/sec
'vmstat 1' shows that during compilation 100% cpu is being used,
and both, id(le) and wa(it for IO), are constantly 0. Hence, we are
not measuring diskspeed here - but cpu speed.
Results:
The Althon 900 compiles libcwd in 2 minutes and 5 seconds.
The Pentium-4 1.7 GHz does the same job in 1 minute 53 seconds.
Conclusion: the pentium is only 1.12 times faster, despite that it's nearly
double clock frequency.
What is causing this?
Edit: tried to change the topic (was: Why is AMD faster than Intel?)