From owner-freebsd-current@FreeBSD.ORG Tue Jul 17 21:03:32 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B61D016A402 for ; Tue, 17 Jul 2007 21:03:32 +0000 (UTC) (envelope-from marinosi@diogenis.ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id 172BB13C442 for ; Tue, 17 Jul 2007 21:03:31 +0000 (UTC) (envelope-from marinosi@diogenis.ceid.upatras.gr) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 30D3DEB46BA for ; Wed, 18 Jul 2007 00:03:30 +0300 (EEST) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id DD28D157C58 for ; Wed, 18 Jul 2007 00:03:29 +0300 (EEST) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iAKZMkXJ7p8F for ; Wed, 18 Jul 2007 00:03:29 +0300 (EEST) Received: from diogenis.ceid.upatras.gr (unknown [10.1.0.181]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 90341157AE1 for ; Wed, 18 Jul 2007 00:03:29 +0300 (EEST) Received: by diogenis.ceid.upatras.gr (Postfix, from userid 3149) id 2047C8FF41; Wed, 18 Jul 2007 00:03:28 +0300 (EEST) Date: Wed, 18 Jul 2007 00:03:28 +0300 From: Marinos Ilias To: freebsd-current@freebsd.org Message-ID: <20070717210328.GA899@ceid.upatras.gr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="98e8jtXdkpgskNou" Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Subject: Re: ULE/SCHED_SMP diff for 7.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 17 Jul 2007 21:03:32 -0000 --98e8jtXdkpgskNou Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello list, although I run -CURRENT on a pentium4 , as I have HyperThreading enabled (ok I know about the issues :-P ) I tried Jeff's patch.It works for me :-P It works fine , although I cannot figure out if I can have any improve with my cpu. I attach the results for 4 sysbench tests (for both unpatched and patched ULE) .A little bit weird results for 800 and 1000 threads test.Congratulations Jeff.Nice work! Cheers, Ilias --98e8jtXdkpgskNou Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=ule_patched sysbench v0.4.8: multi-threaded system evaluation benchmark Running the test with following options: Number of threads: 800 Doing thread subsystem performance test Thread yields per test: 1000 Locks used: 8 Threads started! Done. Test execution summary: total time: 115.8402s total number of events: 10000 total time taken by event execution: 89360.0746 per-request statistics: min: 0.0128s avg: 8.9360s max: 92.6393s approx. 95 percentile: 32.3754s Threads fairness: events (avg/stddev): 12.5000/4.36 execution time (avg/stddev): 111.7001/2.50 sysbench v0.4.8: multi-threaded system evaluation benchmark Running the test with following options: Number of threads: 1000 Doing thread subsystem performance test Thread yields per test: 1000 Locks used: 8 Threads started! Done. Test execution summary: total time: 119.3290s total number of events: 10000 total time taken by event execution: 114023.2052 per-request statistics: min: 0.0230s avg: 11.4023s max: 119.0953s approx. 95 percentile: 40.3187s Threads fairness: events (avg/stddev): 10.0000/3.88 execution time (avg/stddev): 114.0232/3.17 sysbench v0.4.8: multi-threaded system evaluation benchmark Running the test with following options: Number of threads: 1000 Doing CPU performance benchmark Threads started! Done. Maximum prime number checked in CPU test: 10000 Test execution summary: total time: 38.5863s total number of events: 10000 total time taken by event execution: 6625.7610 per-request statistics: min: 0.0071s avg: 0.6626s max: 38.3246s approx. 95 percentile: 0.9653s Threads fairness: events (avg/stddev): 10.0000/17.95 execution time (avg/stddev): 6.6258/12.28 sysbench v0.4.8: multi-threaded system evaluation benchmark Running the test with following options: Number of threads: 100 Doing CPU performance benchmark Threads started! Done. Maximum prime number checked in CPU test: 10000 Test execution summary: total time: 38.3250s total number of events: 10000 total time taken by event execution: 3321.8330 per-request statistics: min: 0.0072s avg: 0.3322s max: 25.5190s approx. 95 percentile: 0.9860s Threads fairness: events (avg/stddev): 100.0000/56.36 execution time (avg/stddev): 33.2183/4.89 --98e8jtXdkpgskNou Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=ule_unpatched sysbench v0.4.8: multi-threaded system evaluation benchmark Running the test with following options: Number of threads: 800 Doing thread subsystem performance test Thread yields per test: 1000 Locks used: 8 Threads started! Done. Test execution summary: total time: 118.3846s total number of events: 10000 total time taken by event execution: 91204.1873 per-request statistics: min: 0.0033s avg: 9.1204s max: 103.2080s approx. 95 percentile: 34.6621s Threads fairness: events (avg/stddev): 12.5000/4.79 execution time (avg/stddev): 114.0052/2.56 sysbench v0.4.8: multi-threaded system evaluation benchmark Running the test with following options: Number of threads: 1000 Doing thread subsystem performance test Thread yields per test: 1000 Locks used: 8 Threads started! Done. Test execution summary: total time: 119.2878s total number of events: 10000 total time taken by event execution: 113845.7329 per-request statistics: min: 0.0232s avg: 11.3846s max: 118.5737s approx. 95 percentile: 40.6458s Threads fairness: events (avg/stddev): 10.0000/3.87 execution time (avg/stddev): 113.8457/3.21 sysbench v0.4.8: multi-threaded system evaluation benchmark Running the test with following options: Number of threads: 1000 Doing CPU performance benchmark Threads started! Done. Maximum prime number checked in CPU test: 10000 Test execution summary: total time: 39.7346s total number of events: 10594 total time taken by event execution: 8634.6490 per-request statistics: min: 0.0067s avg: 0.8151s max: 39.3339s approx. 95 percentile: 3.4416s Threads fairness: events (avg/stddev): 10.5940/11.65 execution time (avg/stddev): 8.6346/7.60 sysbench v0.4.8: multi-threaded system evaluation benchmark Running the test with following options: Number of threads: 100 Doing CPU performance benchmark Threads started! Done. Maximum prime number checked in CPU test: 10000 Test execution summary: total time: 37.8735s total number of events: 10000 total time taken by event execution: 3497.9287 per-request statistics: min: 0.0069s avg: 0.3498s max: 15.2557s approx. 95 percentile: 1.0344s Threads fairness: events (avg/stddev): 100.0000/58.32 execution time (avg/stddev): 34.9793/2.34 --98e8jtXdkpgskNou--