Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Paul Bunn <Paul@UltraBac.com>
To: "'axp-list@redhat.com'" <axp-list@redhat.com>
Subject: Re: Performance of P4 1.7Ghz on RH7.0
Date: Thu, 14 Jun 2001 20:34:12 -0700	[thread overview]
Message-ID: <60C3F0B752909B428D39EA63B4352E99591B0A@velma.ultrabac.com> (raw)

I suspect that the reason for the slowdown when adding multiple clients on the P4
is the result of very poor context switching performance on that processor.  I did
some testing (in an NT environment, but the concept of context-switching remains
the same) on a variety of processors, including Athlon, P-III, P-4 and Alpha
systems with a memory benchmarking program that I wrote a couple of years back.
One particular test stress-tested the ability of the processor to quickly switch
back and forth between 2 threads.  The scores were as follows (the actual result
is merely an linear index score ie a score of 2.0 is eexactly twice as good as
1.0).

P4-1400:0.99
21264-500:0.82
21164-500:0.72
PII-Xeon-450:0.80
PIII-600:1.07
PIII-733(SMP):0.90
Athlon-700:1.50

The P4 was incredibly fast on bulk memory copies, but the processor stalls
horribly on context switching operations which can have more of an impact on "real
world" usage of a processor -- depending, of course, the type of applications
being run on it.  What is surprising above (or maybe it shouldn't be a surprise
since the Athlon inherited much of the Alpha goodness) was just how much faster
the Athlon-700 was compared to a 1.4Ghz P4.  It should be noted that the test is
very dependent on memory chipset performance, so the test isn't as empirical as I
would like since it doesn't follow the "all other things being equal" rule that a
good benchmark should.  Darek Mihocka wrote an excellent pair of articles about
why the P4 did very poorly in his own set of performance investigations, and they
are at:

http://www.emulators.com/pentium4.htm
http://www.emulators.com/pentium4_6mo.htm

Darek has his own set of benchmarks too that illustrate that the Athlon 1.2Ghz can
be faster (in some cases 2x or even 3x) than the P4-1.5Ghz.  In fact the Athlon
beats the P4 in 18 out of 22 tests.
http://www.emulators.com/benchmrk.htm

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com
 

-----Original Message-----
From: Em Hwan KIM [mailto:EHKIM2@sec.samsung.com]
Sent: Thursday, June 14, 2001 6:13 PM
To: 'axp-list@redhat.com'
Subject: Performance of P4 1.7Ghz on RH7.0
Importance: High


Hello.

I have a question regarding to the Result of AB

1)      P4 system is got the best score with single client, but other scores are
not so good compare to Xeon. 

Please tell me what is the main reason.




- Result of AB -

OS: RH7.0

Kernel: 2.4.4 

Hub: 3Com 10 port 10/100 switch 

Benchmark tool : ApacheBench version 1.3c

Test scrip: ab -t 3000 http://target server ip//

Number of node : 6 client

System  CPU     Cache   Memory  NIC     1client 2client 2client 3client 3client
3client
UP1500  800Mhz  4MB     2048MB          1549    1425    1423    955     948
955    
up1100  700Mhz  4MB     768MB           1436    1178    1185    788     787
786    
Xeon    800Mhz  256KB   2048MB SDRAM PC 100     Intel 10/100    1014    951
952     630     626     629    
P4      1.7GHz  256KB   2048MB RAM BUS (800Mhz) DEC 21143       1385    786
794     531     512     543    
P3      1GHz    128KB   1024MB  Intel 10/100    1177    669     643     447
436     434    




             reply	other threads:[~2001-06-15  3:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-15  3:34 Paul Bunn [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-06-15  1:22 Performance of P4 1.7Ghz on RH7.0 Em Hwan KIM
2001-06-15  1:12 Em Hwan KIM
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox