From owner-freebsd-current@FreeBSD.ORG Mon Apr 5 03:07:21 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 2F5E816A4CF for ; Mon, 5 Apr 2004 03:07:21 -0700 (PDT) Received: from pinus.cc.fer.hr (pinus.cc.fer.hr [161.53.73.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 511E443D5C for ; Mon, 5 Apr 2004 03:07:20 -0700 (PDT) (envelope-from ivoras@fer.hr) Received: from fer.hr (lara.cc.fer.hr [161.53.72.113]) by pinus.cc.fer.hr (8.12.2/8.12.2) with ESMTP id i35A8MsM001090 for ; Mon, 5 Apr 2004 12:08:22 +0200 (MEST) Message-ID: <40712EFB.6090000@fer.hr> Date: Mon, 05 Apr 2004 12:03:39 +0200 From: Ivan Voras User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: HTT & SMP kernel 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: Mon, 05 Apr 2004 10:07:21 -0000 Here are my measurements regarding the usefulness of FreeBSD 5.2.1 SMP support with HTTP machines (bytebench 3.1): ** SMP kernel, SMP activated 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 It seems that, currently, performance will suffer on anything making use of concurrency (multiple processes, etc.) -- Every sufficiently advanced magic is indistinguishable from technology - Arthur C Anticlarke