From owner-freebsd-current@FreeBSD.ORG Sun Apr 4 09:13:12 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3703016A4CE for ; Sun, 4 Apr 2004 09:13:12 -0700 (PDT) Received: from geri.cc.fer.hr (geri.cc.fer.hr [161.53.72.107]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8954843D39 for ; Sun, 4 Apr 2004 09:13:11 -0700 (PDT) (envelope-from ivoras@geri.cc.fer.hr) Received: from geri.cc.fer.hr (geri.cc.fer.hr [161.53.72.107]) by geri.cc.fer.hr (8.12.9p2/8.12.8) with ESMTP id i34GB9cj087232 for ; Sun, 4 Apr 2004 18:11:11 +0200 (CEST) (envelope-from ivoras@geri.cc.fer.hr) Message-ID: <4070340F.3090804@geri.cc.fer.hr> Date: Sun, 04 Apr 2004 18:13:03 +0200 From: Ivan Voras User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org X-Enigmail-Version: 0.83.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 05 Apr 2004 04:49:33 -0700 Subject: SMP+HTT performance X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Apr 2004 16:13:12 -0000 People (me included) have been wondering what influence do HTT and SMP have on system performance, so I made some benchmarks (bytebench 3.1): ** SMP kernel, SMP enabled TEST BASELINE RESULT INDEX Arithmetic Test (type = double) 2541.7 771818.7 303.7 Dhrystone 2 without register variables 22366.3 4752705.6 212.5 Execl Throughput Test 16.5 971.9 58.9 File Copy (30 seconds) 179.0 48236.0 269.5 Pipe-based Context Switching Test 1318.5 72264.1 54.8 Shell scripts (8 concurrent) 4.0 380.6 95.2 ========= SUM of 6 items 994.5 AVERAGE 165.7 ** SMP kernel, SMP disabled (kern.smp.disabled=1 in loader.conf) TEST BASELINE RESULT INDEX Arithmetic Test (type = double) 2541.7 770832.5 303.3 Dhrystone 2 without register variables 22366.3 4722643.0 211.1 Execl Throughput Test 16.5 976.0 59.2 File Copy (30 seconds) 179.0 48385.0 270.3 Pipe-based Context Switching Test 1318.5 86409.7 65.5 Shell scripts (8 concurrent) 4.0 440.3 110.1 ========= SUM of 6 items 1019.5 AVERAGE 169.9 ** UP kernel TEST BASELINE RESULT INDEX Arithmetic Test (type = double) 2541.7 770802.1 303.3 Dhrystone 2 without register variables 22366.3 4831707.7 216.0 Execl Throughput Test 16.5 1406.9 85.3 File Copy (30 seconds) 179.0 48395.0 270.4 Pipe-based Context Switching Test 1318.5 117582.0 89.2 Shell scripts (8 concurrent) 4.0 547.6 136.9 ========= SUM of 6 items 1101.0 AVERAGE 183.5 Processor is: CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3000.12-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Hyperthreading: 2 logical CPUs FreeBSD is 5.2.1-release, scheduler is ULE. So, it looks like anything that requires concurrency will suffer. -- `\|/' .---------------. ,'Y`. _( To think.... )_________ )|._.|( ( Doesn't that involve little ) /(___)\ ""( little lightbulbs over )" ( ) ""( My head ??? )""""""" `..-.,' """"""""""""" |"| .--' `--.