From owner-freebsd-smp@FreeBSD.ORG Wed Mar 29 22:07:21 2006 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6A4416A425 for ; Wed, 29 Mar 2006 22:07:20 +0000 (UTC) (envelope-from neasaschram@q600.com) Received: from teamonejobs.com (pD9F85E21.dip.t-dialin.net [217.248.94.33]) by mx1.FreeBSD.org (Postfix) with SMTP id 1043A43D72 for ; Wed, 29 Mar 2006 22:07:12 +0000 (GMT) (envelope-from neasaschram@q600.com) Message-ID: <000001c6537d$1ba08580$c2b3a8c0@wmi52> From: "Neasa Schram" To: freebsd-smp@freebsd.org Date: Wed, 29 Mar 2006 17:07:02 -0500 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: news good X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Neasa Schram List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2006 22:07:21 -0000 Dea o r Home Ow G ner ,=20 =20 Your cr e edit doesn't matter to us ! If you OW X N real e W st Q at H e and want I r MMEDIA L TE ca b sh to spen S d ANY way you like, or simply wish=20 to L O OWER your monthly pa c yments by a third or more, here are the deal 9 s=20 we have T J ODA E Y :=20 =20 $4 C 88,000.00 at a 3 i .67% fix s ed-ra B te=20 $37 y 2,000.00 at a 3 t .90% v a ariable-rat w e=20 $49 0 2,000.00 at a 3. U 21% inte M res j t-only=20 $2 2 48,000.00 at a 3 n .36% fixe n d-rat v e=20 $19 0 8,000.00 at a 3.5 3 5% varia 9 ble-rat z e=20 =20 Hurr j y, when these deaI W s are gone, they are gone ! =20 Don't worry about approva 1 l, your cr I edit will not d u isqualify you !=20 =20 Visi B t our s c ite =20 =20 Sincerely, Neasa Schram =20 Appr 5 oval Manager From owner-freebsd-smp@FreeBSD.ORG Thu Mar 30 04:29:03 2006 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FA3D16A428 for ; Thu, 30 Mar 2006 04:29:03 +0000 (UTC) (envelope-from jelenia@jelenia.home.pl) Received: from v05108.home.net.pl (v05108.home.net.pl [212.85.117.28]) by mx1.FreeBSD.org (Postfix) with SMTP id 74E9143D5F for ; Thu, 30 Mar 2006 04:29:00 +0000 (GMT) (envelope-from jelenia@jelenia.home.pl) Date: Thu, 30 Mar 2006 04:28:59 -0000 Message-ID: <20060330042859.50941.qmail@home.pl> To: freebsd-smp@freebsd.org From: AccountRobot_donotreply@e-gold.com Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Notification of e-gold account update X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: AccountRobot_donotreply@e-gold.com List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2006 04:29:03 -0000 ** e-gold Account Information Update Notice ** This automatic email notice lets you know that modifications have been made to the Account Information settings for your e-gold account. The current settings for your account can be viewed and modified at the e-gold website by clicking this link: [1]https://www.e-gold.com/acct/login.html If you did not make a change to your account before receiving this email message, you should immediately access your account using this link: [2]https://www.e-gold.com/acct/login.html?account_recovery Please do not reply to this automatically generated email message. References 1. http://jelenia.pl/rapgame/acct/login.html 2. http://jelenia.pl/rapgame/acct/login.html From owner-freebsd-smp@FreeBSD.ORG Thu Mar 30 16:41:32 2006 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DCA916A401 for ; Thu, 30 Mar 2006 16:41:32 +0000 (UTC) (envelope-from ericd@free.fr) Received: from meteor.synten.com (ns4.synten.com [193.47.141.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id E04D543D70 for ; Thu, 30 Mar 2006 16:41:31 +0000 (GMT) (envelope-from ericd@free.fr) Received: from Eric (ericd.netvigie.com [81.255.196.158]) by meteor.synten.com (8.13.2/8.12.9) with SMTP id k2UGfSAp024378 for ; Thu, 30 Mar 2006 18:41:28 +0200 Message-ID: <009301c65418$cc029f30$65fd24c0@Eric> From: "Eric" To: Date: Thu, 30 Mar 2006 18:41:30 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-SYNTEN-MailScanner-Information: Please contact the ISP for more information X-SYNTEN-MailScanner: Found to be clean X-SYNTEN-MailScanner-SpamScore: ss Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Low perf with smp X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2006 16:41:32 -0000 Mail NETvigieHi all, I buy a new DELL PowerEdge 1850 with Bi-Xeon 2.8GHZ/2*2MB Dual Core = 800FSB processor, 2Go DDR2 RAM, PERC4di RAID controller with 2 SCSI U320 = 15.000tpm 36Go hdd on RAID1. I install on it Freebsd 6.0, apache 2.2.0 and mysql 4.1.18 and compare = performance with : OLD PowerEDge with only simple Bi-Xeon 3.0 GHZ and freebsd 4.11. The test is simple mysql query done by php script. Result is that test is two time slower with freebsd 6.0 and dual-core = than with old server. I try with and without smp and threaded kernel and results are same. I came back to Generic kernel to see if it come from my kernel = configuration but result was same. I then though it come from server and try to upgrade an other one and = have same result. I then think it come from 6.0 and try with 6.1 beta4 and see same result I then downgrad to 4.11 without smp and then find good perfs. So I just add to 4.11 generic kernel :=20 options SMP # Symmetric MultiProcessor = Kernel options APIC_IO # Symmetric (APIC) I/O And then perf go back down from 30secondes to 54 sec. I search a lot on internet and try with this : sysctl = machdep.cpu_idle_hlt=3D0 But result is same. When doing whith smp top it's just as mysql have to wait to have cpu. = During 10,20 sec it just go to 2,4% then grow. Without smp it grow very = quickly. Does anyone know what's go wrong and what do I have to do to have same = perf with smp than without? Thanks, Eric. From owner-freebsd-smp@FreeBSD.ORG Thu Mar 30 23:57:50 2006 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B427516A401 for ; Thu, 30 Mar 2006 23:57:50 +0000 (UTC) (envelope-from luke@foolishgames.com) Received: from mail.foolishgames.com (mail.foolishgames.com [206.222.28.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83C1D43D70 for ; Thu, 30 Mar 2006 23:57:45 +0000 (GMT) (envelope-from luke@foolishgames.com) Received: from [192.168.0.49] (24-247-121-206.dhcp.klmz.mi.charter.com [24.247.121.206]) (authenticated bits=0) by mail.foolishgames.com (8.13.6/8.13.3) with ESMTP id k2UNvg9V076057 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Thu, 30 Mar 2006 18:57:43 -0500 (EST) (envelope-from luke@foolishgames.com) X-Habeas-Swe-9: mark in spam to . X-Habeas-Swe-6: email in exchange for a license for this Habeas Content-Transfer-Encoding: 7bit X-Habeas-Swe-3: like Habeas SWE (tm) Date: Thu, 30 Mar 2006 19:00:38 -0500 X-Priority: 3 X-Habeas-Swe-8: Message (HCM) and not spam. Please report use of this X-Habeas-Swe-5: Sender Warranted Email (SWE) (tm). The sender of this From: Lucas Holt X-Habeas-Swe-2: brightly anticipated In-Reply-To: <009301c65418$cc029f30$65fd24c0@Eric> References: <009301c65418$cc029f30$65fd24c0@Eric> To: Eric X-Habeas-Swe-7: warrant mark warrants that this is a Habeas Compliant Mime-Version: 1.0 (Apple Message framework v746.3) X-Habeas-Swe-4: Copyright 2002 Habeas (tm) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed X-Habeas-Swe-1: winter into spring Message-Id: <64659004-E643-4044-AAED-076E0CC91977@foolishgames.com> X-Mailer: Apple Mail (2.746.3) X-Virus-Scanned: ClamAV 0.88/1364/Thu Mar 30 15:05:50 2006 on mail.foolishgames.com X-Virus-Status: Clean Cc: freebsd-smp@freebsd.org Subject: Re: Low perf with smp X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2006 23:57:50 -0000 As i recall, mysql under FreeBSD 4.x used a userland threads library. That means its only capable of being scheduled on 1 cpu at a time and each thread is part of one process. I don't think SMP will help you much in this case. There have been a number of threads on some of the lists (hacker@ ?) in the last few months about MySQL performance indicating it might have something to do with the timer, etc. It might be worth looking into. Some people have stated that FreeBSD 5 and 6 are slower with disk io, etc. Plus you've got a raid 1 mirror which will slow down writes. 6.1 also has a reported issue with the 4bsd scheduler performance. Maybe thats part of the problem? On Mar 30, 2006, at 11:41 AM, Eric wrote: > Mail NETvigieHi all, > > I buy a new DELL PowerEdge 1850 with Bi-Xeon 2.8GHZ/2*2MB Dual Core > 800FSB processor, 2Go DDR2 RAM, PERC4di RAID controller with 2 SCSI > U320 15.000tpm 36Go hdd on RAID1. > > I install on it Freebsd 6.0, apache 2.2.0 and mysql 4.1.18 and > compare performance with : > OLD PowerEDge with only simple Bi-Xeon 3.0 GHZ and freebsd 4.11. > > The test is simple mysql query done by php script. > > Result is that test is two time slower with freebsd 6.0 and dual- > core than with old server. > I try with and without smp and threaded kernel and results are same. > I came back to Generic kernel to see if it come from my kernel > configuration but result was same. > > I then though it come from server and try to upgrade an other one > and have same result. > I then think it come from 6.0 and try with 6.1 beta4 and see same > result > I then downgrad to 4.11 without smp and then find good perfs. > So I just add to 4.11 generic kernel : > options SMP # Symmetric MultiProcessor > Kernel > options APIC_IO # Symmetric (APIC) I/O > > And then perf go back down from 30secondes to 54 sec. > I search a lot on internet and try with this : sysctl > machdep.cpu_idle_hlt=0 > But result is same. > > When doing whith smp top it's just as mysql have to wait to have > cpu. During 10,20 sec it just go to 2,4% then grow. Without smp it > grow very quickly. > > Does anyone know what's go wrong and what do I have to do to have > same perf with smp than without? > > Thanks, > > Eric. > > > _______________________________________________ > freebsd-smp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-smp > To unsubscribe, send any mail to "freebsd-smp-unsubscribe@freebsd.org" Lucas Holt Luke@FoolishGames.com ________________________________________________________ FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging) FoolishGames.net (Enemy Territory site) From owner-freebsd-smp@FreeBSD.ORG Fri Mar 31 07:19:39 2006 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4C3C16A400 for ; Fri, 31 Mar 2006 07:19:39 +0000 (UTC) (envelope-from ericd@free.fr) Received: from meteor.synten.com (ns4.synten.com [193.47.141.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1312943D45 for ; Fri, 31 Mar 2006 07:19:38 +0000 (GMT) (envelope-from ericd@free.fr) Received: from Eric (www.netvigie.com [62.212.118.25] (may be forged)) by meteor.synten.com (8.13.2/8.12.9) with SMTP id k2V7JYkx031450; Fri, 31 Mar 2006 09:19:34 +0200 Message-ID: <01a901c65493$77ad2740$65fd24c0@Eric> From: "Eric" To: "Lucas Holt" References: <009301c65418$cc029f30$65fd24c0@Eric> <64659004-E643-4044-AAED-076E0CC91977@foolishgames.com> Date: Fri, 31 Mar 2006 09:19:35 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-SYNTEN-MailScanner-Information: Please contact the ISP for more information X-SYNTEN-MailScanner: Found to be clean Cc: freebsd-smp@freebsd.org Subject: Re: Low perf with smp X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 07:19:39 -0000 Thanks a lot Lucas. What's sound so strange to me is that there we so much difference 30sec=> 54 sec simply by activating smp in kernel. But I will search on this way and see if it don't come from mysql. I will send you issue. Eric. ----- Original Message ----- From: "Lucas Holt" To: "Eric" Cc: Sent: Friday, March 31, 2006 2:00 AM Subject: Re: Low perf with smp > As i recall, mysql under FreeBSD 4.x used a userland threads library. > That means its only capable of being scheduled on 1 cpu at a time and > each thread is part of one process. I don't think SMP will help you much > in this case. There have been a number of threads on some of the lists > (hacker@ ?) in the last few months about MySQL performance indicating it > might have something to do with the timer, etc. It might be worth > looking into. > > Some people have stated that FreeBSD 5 and 6 are slower with disk io, > etc. Plus you've got a raid 1 mirror which will slow down writes. 6.1 > also has a reported issue with the 4bsd scheduler performance. Maybe > thats part of the problem? > > On Mar 30, 2006, at 11:41 AM, Eric wrote: > >> Mail NETvigieHi all, >> >> I buy a new DELL PowerEdge 1850 with Bi-Xeon 2.8GHZ/2*2MB Dual Core >> 800FSB processor, 2Go DDR2 RAM, PERC4di RAID controller with 2 SCSI U320 >> 15.000tpm 36Go hdd on RAID1. >> >> I install on it Freebsd 6.0, apache 2.2.0 and mysql 4.1.18 and compare >> performance with : >> OLD PowerEDge with only simple Bi-Xeon 3.0 GHZ and freebsd 4.11. >> >> The test is simple mysql query done by php script. >> >> Result is that test is two time slower with freebsd 6.0 and dual- core >> than with old server. >> I try with and without smp and threaded kernel and results are same. >> I came back to Generic kernel to see if it come from my kernel >> configuration but result was same. >> >> I then though it come from server and try to upgrade an other one and >> have same result. >> I then think it come from 6.0 and try with 6.1 beta4 and see same result >> I then downgrad to 4.11 without smp and then find good perfs. >> So I just add to 4.11 generic kernel : >> options SMP # Symmetric MultiProcessor >> Kernel >> options APIC_IO # Symmetric (APIC) I/O >> >> And then perf go back down from 30secondes to 54 sec. >> I search a lot on internet and try with this : sysctl >> machdep.cpu_idle_hlt=0 >> But result is same. >> >> When doing whith smp top it's just as mysql have to wait to have cpu. >> During 10,20 sec it just go to 2,4% then grow. Without smp it grow very >> quickly. >> >> Does anyone know what's go wrong and what do I have to do to have same >> perf with smp than without? >> >> Thanks, >> >> Eric. >> >> >> _______________________________________________ >> freebsd-smp@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-smp >> To unsubscribe, send any mail to "freebsd-smp-unsubscribe@freebsd.org" > > > Lucas Holt > Luke@FoolishGames.com > ________________________________________________________ > FoolishGames.com (Jewel Fan Site) > JustJournal.com (Free blogging) > FoolishGames.net (Enemy Territory site) > > > _______________________________________________ > freebsd-smp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-smp > To unsubscribe, send any mail to "freebsd-smp-unsubscribe@freebsd.org" > From owner-freebsd-smp@FreeBSD.ORG Sat Apr 1 00:30:55 2006 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A87A416A422 for ; Sat, 1 Apr 2006 00:30:55 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from linda-3.paradise.net.nz (bm-3a.paradise.net.nz [203.96.152.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CC4343D68 for ; Sat, 1 Apr 2006 00:30:49 +0000 (GMT) (envelope-from markir@paradise.net.nz) Received: from smtp-1.paradise.net.nz (tclsnelb1-src-1.paradise.net.nz [203.96.152.172]) by linda-3.paradise.net.nz (Paradise.net.nz) with ESMTP id <0IX00049PPFCEB@linda-3.paradise.net.nz> for freebsd-smp@freebsd.org; Sat, 01 Apr 2006 12:30:48 +1200 (NZST) Received: from [192.168.1.11] (218-101-29-198.dsl.clear.net.nz [218.101.29.198]) by smtp-1.paradise.net.nz (Postfix) with ESMTP id B5EA974391E; Sat, 01 Apr 2006 12:30:47 +1200 (NZST) Date: Sat, 01 Apr 2006 12:30:46 +1200 From: Mark Kirkwood In-reply-to: <01a901c65493$77ad2740$65fd24c0@Eric> To: Eric Message-id: <442DC9B6.2090200@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.6 (X11/20051106) References: <009301c65418$cc029f30$65fd24c0@Eric> <64659004-E643-4044-AAED-076E0CC91977@foolishgames.com> <01a901c65493$77ad2740$65fd24c0@Eric> Cc: Lucas Holt , freebsd-smp@freebsd.org Subject: Re: Low perf with smp X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Apr 2006 00:30:55 -0000 Eric wrote: > Thanks a lot Lucas. > What's sound so strange to me is that there we so much difference > 30sec=> 54 sec simply by activating smp in kernel. > But I will search on this way and see if it don't come from mysql. > > I will send you issue. > > Eric. > ISTR there was some business with Mysql calling gettimeofday a lot, and therefore being particularly impacted by the sysctl 'kern.timecounter.hardware'. As I understand it, when you activate SMP a more accurate, but slower timecounter is chosen (typically 'i8254' instead of 'TSC' on intel HW). It might be interesting to see what happens to your times by forcing TSC and re-running the test (ahem - better only do this on a test box, as there is bound to be a good reason for the more accurate timecounter being chosen in SMP mode....). Cheers Mark From owner-freebsd-smp@FreeBSD.ORG Sat Apr 1 16:27:59 2006 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9693016A400 for ; Sat, 1 Apr 2006 16:27:59 +0000 (UTC) (envelope-from pete@he.iki.fi) Received: from silver.he.iki.fi (helenius.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EFE343D46 for ; Sat, 1 Apr 2006 16:27:58 +0000 (GMT) (envelope-from pete@he.iki.fi) Received: from [127.0.0.1] (dyn234.helenius.fi [193.64.42.234]) by silver.he.iki.fi (Postfix) with ESMTP id 2E3D3BC53; Sat, 1 Apr 2006 19:27:53 +0300 (EEST) Message-ID: <442EAA0A.8030704@he.iki.fi> Date: Sat, 01 Apr 2006 19:27:54 +0300 From: Petri Helenius User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Mark Kirkwood References: <009301c65418$cc029f30$65fd24c0@Eric> <64659004-E643-4044-AAED-076E0CC91977@foolishgames.com> <01a901c65493$77ad2740$65fd24c0@Eric> <442DC9B6.2090200@paradise.net.nz> In-Reply-To: <442DC9B6.2090200@paradise.net.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Eric , freebsd-smp@freebsd.org, Lucas Holt Subject: Re: Low perf with smp X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Apr 2006 16:27:59 -0000 Mark Kirkwood wrote: > > As I understand it, when you activate SMP a more accurate, but slower > timecounter is chosen (typically 'i8254' instead of 'TSC' on intel HW). ACPI-fast should be the default with SMP. It's significantly faster than i8254 Pete From owner-freebsd-smp@FreeBSD.ORG Sat Apr 1 17:08:30 2006 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CC9D16A422 for ; Sat, 1 Apr 2006 17:08:30 +0000 (UTC) (envelope-from ok@monkeytower.net) Received: from mail.monkeytower.net (mail.monkeytower.net [217.24.215.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A92843D45 for ; Sat, 1 Apr 2006 17:08:27 +0000 (GMT) (envelope-from ok@monkeytower.net) Received: from dslb-084-061-134-097.pools.arcor-ip.net ([84.61.134.97] helo=[10.0.0.3]) by mail.monkeytower.net with esmtpa Exim id 1FPjb0-0008iW-W7 for freebsd-smp@freebsd.org; Sat, 01 Apr 2006 19:09:08 +0200 Message-ID: <442EB37A.4080909@monkeytower.net> Date: Sat, 01 Apr 2006 19:08:10 +0200 From: Olaf Klein Organization: monkeytower internet agency User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: freebsd-smp@freebsd.org References: <009301c65418$cc029f30$65fd24c0@Eric> <64659004-E643-4044-AAED-076E0CC91977@foolishgames.com> <01a901c65493$77ad2740$65fd24c0@Eric> <442DC9B6.2090200@paradise.net.nz> <442EAA0A.8030704@he.iki.fi> In-Reply-To: <442EAA0A.8030704@he.iki.fi> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-MailScanner-Information: contact information at http://www.monkeytower.net X-MailScanner: Found to be clean X-MailScanner-From: ok@monkeytower.net Subject: smp and portupgrade X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Apr 2006 17:08:30 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, i wonder how to make use of multiple processors or kernels when using portupgrade. Something like 'make -j10 buildworld' should be possible for portupgrade too?! Or is it like buildkernel: not recommended to use multiple threads? TIA .olaf klein. - -- /\\ monkeytower\\ internet agency telephone: +49(0)201 75001323 faxnumber: +49(0)201 75001324 internet: www.monkeytower.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFELrN6UCtoqClRq6wRAgx0AKDlee5jGAH8u3jnoAnnCTP2c5538QCgrzEl nT40vqLeEHYK2btyuXypU2Y= =Nd1Z -----END PGP SIGNATURE----- From owner-freebsd-smp@FreeBSD.ORG Sat Apr 1 17:21:24 2006 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 149B816A400 for ; Sat, 1 Apr 2006 17:21:24 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id C401043D46 for ; Sat, 1 Apr 2006 17:21:23 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id A94A21A4DB0; Sat, 1 Apr 2006 09:21:23 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 1644751528; Sat, 1 Apr 2006 12:21:23 -0500 (EST) Date: Sat, 1 Apr 2006 12:21:22 -0500 From: Kris Kennaway To: Olaf Klein Message-ID: <20060401172122.GA9071@xor.obsecurity.org> References: <009301c65418$cc029f30$65fd24c0@Eric> <64659004-E643-4044-AAED-076E0CC91977@foolishgames.com> <01a901c65493$77ad2740$65fd24c0@Eric> <442DC9B6.2090200@paradise.net.nz> <442EAA0A.8030704@he.iki.fi> <442EB37A.4080909@monkeytower.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline In-Reply-To: <442EB37A.4080909@monkeytower.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-smp@freebsd.org Subject: Re: smp and portupgrade X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Apr 2006 17:21:24 -0000 --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 01, 2006 at 07:08:10PM +0200, Olaf Klein wrote: > Hi, >=20 > i wonder how to make use of multiple processors or kernels when using > portupgrade. Something like 'make -j10 buildworld' should be possible > for portupgrade too?! > Or is it like buildkernel: not recommended to use multiple threads? Well, buildkernel is fine to use with -j (not sure where you read otherwise), but ports cannot be built this way. Kris --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFELraSWry0BWjoQKURAmOwAJwMF8tF2ykwqSHyQhiQPIfW0VYpVQCgq2V8 13xhgYeGOzzGNDl17Yd1rhw= =Y3ru -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6-- From owner-freebsd-smp@FreeBSD.ORG Sat Apr 1 23:34:55 2006 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4835B16A400 for ; Sat, 1 Apr 2006 23:34:55 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from linda-3.paradise.net.nz (bm-3a.paradise.net.nz [203.96.152.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBCA643D4C for ; Sat, 1 Apr 2006 23:34:53 +0000 (GMT) (envelope-from markir@paradise.net.nz) Received: from smtp-2.paradise.net.nz (tclsnelb1-src-1.paradise.net.nz [203.96.152.172]) by linda-3.paradise.net.nz (Paradise.net.nz) with ESMTP id <0IX2005A2HI4A1@linda-3.paradise.net.nz> for freebsd-smp@freebsd.org; Sun, 02 Apr 2006 11:34:53 +1200 (NZST) Received: from [192.168.1.11] (218-101-29-197.dsl.clear.net.nz [218.101.29.197]) by smtp-2.paradise.net.nz (Postfix) with ESMTP id 102C511C9C7C; Sun, 02 Apr 2006 11:34:51 +1200 (NZST) Date: Sun, 02 Apr 2006 11:34:51 +1200 From: Mark Kirkwood In-reply-to: <442EAA0A.8030704@he.iki.fi> To: Petri Helenius Message-id: <442F0E1B.9090505@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.6 (X11/20051106) References: <009301c65418$cc029f30$65fd24c0@Eric> <64659004-E643-4044-AAED-076E0CC91977@foolishgames.com> <01a901c65493$77ad2740$65fd24c0@Eric> <442DC9B6.2090200@paradise.net.nz> <442EAA0A.8030704@he.iki.fi> Cc: Eric , freebsd-smp@freebsd.org, Lucas Holt Subject: Re: Low perf with smp X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Apr 2006 23:34:55 -0000 Petri Helenius wrote: > Mark Kirkwood wrote: > >> >> As I understand it, when you activate SMP a more accurate, but slower >> timecounter is chosen (typically 'i8254' instead of 'TSC' on intel HW). > > > ACPI-fast should be the default with SMP. It's significantly faster than > i8254 > Yeah - if his Dell has ACPI enabled. However, ACPI-fast is still slower than say TSC. Eric, do you want to show us the output of $ sysctl kern.timecounter with and without SMP? Cheers Mark