From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id D78122F0A3 for ; Thu, 14 Jun 2001 23:33:41 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f5F3Vxr19733 for axp-list@listman.redhat.com; Thu, 14 Jun 2001 23:31:59 -0400 Received: from VELMA.ultrabac.com (mail.ultrabac.com [207.149.162.225]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f5F3Vxb19729 for ; Thu, 14 Jun 2001 23:31:59 -0400 Received: by velma.ultrabac.com with Internet Mail Service (5.5.2653.19) id ; Thu, 14 Jun 2001 20:34:32 -0700 Message-ID: <60C3F0B752909B428D39EA63B4352E99591B0A@velma.ultrabac.com> From: Paul Bunn To: "'axp-list@redhat.com'" Subject: Re: Performance of P4 1.7Ghz on RH7.0 Date: Thu, 14 Jun 2001 20:34:12 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: 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