From owner-freebsd-smp Sun Feb 2 2:42:10 2003 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 30D5C37B401; Sun, 2 Feb 2003 02:42:09 -0800 (PST) Received: from platon.gneto.com (as6-1-5.kr.m.bonet.se [217.215.84.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF3A843F3F; Sun, 2 Feb 2003 02:42:02 -0800 (PST) (envelope-from martin@mullet.se) Received: from mullet.se (sokrates.gneto.com [192.168.1.10]) by platon.gneto.com (Postfix) with ESMTP id 90F194B43; Sun, 2 Feb 2003 11:41:51 +0100 (CET) Message-ID: <3E3CF62E.4010909@mullet.se> Date: Sun, 02 Feb 2003 11:42:54 +0100 From: Martin Nilsson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212 X-Accept-Language: sv, en-us, en MIME-Version: 1.0 To: John Baldwin Cc: smp@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/i386 mp_machdep.c References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org John Baldwin wrote: > Well, the pause instruction does seem to be helping considerably. I'd > like for people to test this patch on SMP machines running 4.x, not jus= t > Pentium 4's with HT but P3's, PPro's, etc. as well. >=20 > http://www.FreeBSD.org/~jhb/patches/htt.patch >=20 Hi, I've applied the above patches to two boxes: UP: P3 Celeron 1.3GHz Serverworks LE chipset (dual capable) SMP: P3-S 1.26GHz Serverworks HE-SL chipset, 10Krpm SCSI, 1.5GB So far, no problems found, I have built the world a couple of times and=20 on compile of the whole KDE 3.1 . Make world time (-j8, src on NFS) of the SMP system STABLE kernel 27:04 Kernel with pause 26:06 I can't explain the above diference, maybe I should rerun with local src = to have a better controlled environment. On the UP machine I have a wattmeter connected an there were no change=20 in power consumption when idle. (not expected either) I'll hook up the dual to the wattmeter later today. Anything else you need to test, sorry I don't have any HTT P4 machines=20 here right now. /Martin --=20 Martin Nilsson, CTO & Founder, Mullet Scandinavia AB, Malm=F6, SWEDEN E-mail: martin@mullet.se, Phone: +46-(0)708-606170 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Sun Feb 2 8:35:21 2003 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 6ED2B37B401 for ; Sun, 2 Feb 2003 08:35:20 -0800 (PST) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id F0B7643F75 for ; Sun, 2 Feb 2003 08:35:18 -0800 (PST) (envelope-from Gregor.Bittel@GMX.de) Received: (qmail 12444 invoked by uid 0); 2 Feb 2003 16:35:10 -0000 Received: from pC19F2F1D.dip.t-dialin.net (HELO 1xp133) (193.159.47.29) by mail.gmx.net (mp023-rz3) with SMTP; 2 Feb 2003 16:35:10 -0000 Message-ID: <011401c2cad8$ae0253d0$0400a8c0@1xp133> From: "Gregor Bittel" To: "FreeBSD-SMP-Mailinglist" Subject: Re: cvs commit: src/sys/i386/i386 mp_machdep.c Date: Sun, 2 Feb 2003 17:23:49 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, > Well, the pause instruction does seem to be helping > considerably. I'd like for people to test this patch > on SMP machines running 4.x, not just Pentium 4's > with HT but P3's, PPro's, etc. as well. > > http://www.FreeBSD.org/~jhb/patches/htt.patch > > Thanks. I want to give a small response to this patch for the good old Pentiums (I'm running the Soyo-5TH5 with two of this processors: Pentium/P55C). Dmesg+ mptable can be found for this Board at the Socket-7-Section on my website[1]. I applied it to my 4.7-Release-installation. In my opinion: The patch works great, the usability on my desktop feels much higher (I'm using KDE3.03), and the console seems to work better, too. I'm highly recommend it for those old systems! -Gregor. [1]= http://www.bnv-bamberg.de/home/ba3294/smp/index.htm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Feb 3 9:25:22 2003 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 9E03E37B401; Mon, 3 Feb 2003 09:25:20 -0800 (PST) Received: from willow.he.net (willow.he.net [216.218.240.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 430A443FA3; Mon, 3 Feb 2003 09:25:20 -0800 (PST) (envelope-from pjwhite@electrongate.com) Received: from electron.electrongate.com (MAX2-Port34.Downtown.INFOMAGIC.NET [63.229.94.104]) by willow.he.net (8.8.6/8.8.2) with ESMTP id JAA17740; Mon, 3 Feb 2003 09:25:18 -0800 Message-Id: <5.1.0.14.2.20030203101241.00a22b20@willow.he.net> X-Sender: pjwhite@willow.he.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 03 Feb 2003 10:25:14 -0700 To: John Baldwin From: "Paul J. White" Subject: RE: cvs commit: src/sys/i386/i386 mp_machdep.c Cc: freebsd-smp@FreeBSD.ORG In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have been running with this patch for a couple of days now, and though I did notice a small increase in speed (running seti@home), I have had two complete system freezes so far. The screen freezes, with no response to keyboard, no response to telnet from another machine. Prior to patching I have not experienced this problem at all. The machine is a dual Pentium Pro (200MHz) PR440FX, running 4.7-RELEASE. I typically run two instances of setiathome, XFree86 4.2, and XScreensaver. -- Paul White At 17:19 2003-01-31 -0500, John Baldwin wrote: >On 30-Jan-2003 John Baldwin wrote: > > > > On 30-Jan-2003 John Baldwin wrote: > >> jhb 2003/01/30 08:38:17 PST > >> > >> Modified files: (Branch: RELENG_4) > >> sys/i386/i386 mp_machdep.c > >> Log: > >> MFC: Basic support for Hyperthreading. This uses the values from > cpuid to > >> enmuerate logical CPUs. > >> > >> Requested heavily by: ps > > > > I highly recommend turning on machdep.cpu_idle_hlt for HTT boxes as it > > provides a noticable performance improvement. I'm still testing some > > other patches to rework the locking code in 4.x to make use of the pause > > instruction and be more intelligent about spinning on locks in general. > >Well, the pause instruction does seem to be helping considerably. I'd >like for people to test this patch on SMP machines running 4.x, not just >Pentium 4's with HT but P3's, PPro's, etc. as well. > >http://www.FreeBSD.org/~jhb/patches/htt.patch > >Thanks. > >-- > >John Baldwin <>< http://www.FreeBSD.org/~jhb/ >"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-smp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Feb 3 10:22:32 2003 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 EFBF837B401 for ; Mon, 3 Feb 2003 10:22:29 -0800 (PST) Received: from mail.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CC7C43F85 for ; Mon, 3 Feb 2003 10:22:29 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 16548 invoked from network); 3 Feb 2003 18:22:33 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 3 Feb 2003 18:22:33 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h13IMRUT085587; Mon, 3 Feb 2003 13:22:27 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <5.1.0.14.2.20030203101241.00a22b20@willow.he.net> Date: Mon, 03 Feb 2003 13:22:34 -0500 (EST) From: John Baldwin To: "Paul J. White" Subject: RE: cvs commit: src/sys/i386/i386 mp_machdep.c Cc: freebsd-smp@FreeBSD.ORG Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 03-Feb-2003 Paul J. White wrote: > I have been running with this patch for a couple of days now, and though I > did notice a small increase in speed (running seti@home), I have had two > complete system freezes so far. The screen freezes, with no response to > keyboard, no response to telnet from another machine. Prior to patching I > have not experienced this problem at all. > > The machine is a dual Pentium Pro (200MHz) PR440FX, running 4.7-RELEASE. > I typically run two instances of setiathome, XFree86 4.2, and XScreensaver. Hmm, ok. That is not good. :( I'll look at it and see if I can isolate the freezes to a particular part of the change. > -- Paul White > > At 17:19 2003-01-31 -0500, John Baldwin wrote: > >>On 30-Jan-2003 John Baldwin wrote: >> > >> > On 30-Jan-2003 John Baldwin wrote: >> >> jhb 2003/01/30 08:38:17 PST >> >> >> >> Modified files: (Branch: RELENG_4) >> >> sys/i386/i386 mp_machdep.c >> >> Log: >> >> MFC: Basic support for Hyperthreading. This uses the values from >> cpuid to >> >> enmuerate logical CPUs. >> >> >> >> Requested heavily by: ps >> > >> > I highly recommend turning on machdep.cpu_idle_hlt for HTT boxes as it >> > provides a noticable performance improvement. I'm still testing some >> > other patches to rework the locking code in 4.x to make use of the pause >> > instruction and be more intelligent about spinning on locks in general. >> >>Well, the pause instruction does seem to be helping considerably. I'd >>like for people to test this patch on SMP machines running 4.x, not just >>Pentium 4's with HT but P3's, PPro's, etc. as well. >> >>http://www.FreeBSD.org/~jhb/patches/htt.patch >> >>Thanks. >> >>-- >> >>John Baldwin <>< http://www.FreeBSD.org/~jhb/ >>"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ >> >>To Unsubscribe: send mail to majordomo@FreeBSD.org >>with "unsubscribe freebsd-smp" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-smp" in the body of the message -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Feb 3 13:23:26 2003 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 A4A9E37B43F for ; Mon, 3 Feb 2003 13:23:23 -0800 (PST) Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F6F643F85 for ; Mon, 3 Feb 2003 13:23:22 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 13071 invoked from network); 3 Feb 2003 21:23:29 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 3 Feb 2003 21:23:29 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h13LNKUT086167; Mon, 3 Feb 2003 16:23:20 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 03 Feb 2003 16:23:28 -0500 (EST) From: John Baldwin To: John Baldwin Subject: RE: cvs commit: src/sys/i386/i386 mp_machdep.c Cc: freebsd-smp@FreeBSD.ORG, "Paul J. White" Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 03-Feb-2003 John Baldwin wrote: > > On 03-Feb-2003 Paul J. White wrote: >> I have been running with this patch for a couple of days now, and though I >> did notice a small increase in speed (running seti@home), I have had two >> complete system freezes so far. The screen freezes, with no response to >> keyboard, no response to telnet from another machine. Prior to patching I >> have not experienced this problem at all. >> >> The machine is a dual Pentium Pro (200MHz) PR440FX, running 4.7-RELEASE. >> I typically run two instances of setiathome, XFree86 4.2, and XScreensaver. > > Hmm, ok. That is not good. :( I'll look at it and see if I can isolate > the freezes to a particular part of the change. Actually, can you try reverting the changes to mplock.s and running with just the changes to simplelock.s and see if it still freezes? >> -- Paul White >> >> At 17:19 2003-01-31 -0500, John Baldwin wrote: >> >>>On 30-Jan-2003 John Baldwin wrote: >>> > >>> > On 30-Jan-2003 John Baldwin wrote: >>> >> jhb 2003/01/30 08:38:17 PST >>> >> >>> >> Modified files: (Branch: RELENG_4) >>> >> sys/i386/i386 mp_machdep.c >>> >> Log: >>> >> MFC: Basic support for Hyperthreading. This uses the values from >>> cpuid to >>> >> enmuerate logical CPUs. >>> >> >>> >> Requested heavily by: ps >>> > >>> > I highly recommend turning on machdep.cpu_idle_hlt for HTT boxes as it >>> > provides a noticable performance improvement. I'm still testing some >>> > other patches to rework the locking code in 4.x to make use of the pause >>> > instruction and be more intelligent about spinning on locks in general. >>> >>>Well, the pause instruction does seem to be helping considerably. I'd >>>like for people to test this patch on SMP machines running 4.x, not just >>>Pentium 4's with HT but P3's, PPro's, etc. as well. >>> >>>http://www.FreeBSD.org/~jhb/patches/htt.patch >>> >>>Thanks. >>> >>>-- >>> >>>John Baldwin <>< http://www.FreeBSD.org/~jhb/ >>>"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ >>> >>>To Unsubscribe: send mail to majordomo@FreeBSD.org >>>with "unsubscribe freebsd-smp" in the body of the message >> >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-smp" in the body of the message > > -- > > John Baldwin <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-smp" in the body of the message -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Feb 3 15:19:10 2003 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 C4F8037B401 for ; Mon, 3 Feb 2003 15:19:09 -0800 (PST) Received: from smtp.stonline.sk (mta-in2.stonline.sk [213.81.152.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0318D43F79 for ; Mon, 3 Feb 2003 15:19:09 -0800 (PST) (envelope-from sk@dreamtime.net) Received: from IBMTHINKPAD (telecom-213-128-117.telecom.sk [213.81.128.117]) by smtp2.stonline.sk (STOnline ESMTP Server) with ESMTP id <0H9R00LHJA1C4Q@smtp2.stonline.sk> for freebsd-smp@FreeBSD.ORG; Tue, 04 Feb 2003 00:17:38 +0100 (MET) Date: Tue, 04 Feb 2003 00:19:06 +0100 From: Stephen Karrington Subject: SMP and Proliant DL360 In-reply-to: To: freebsd-smp@FreeBSD.ORG Message-id: <004c01c2cbda$a65a73d0$318051d5@IBMTHINKPAD> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook, Build 10.0.2627 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, We are about to get some new server for a server farm. Looking at the possibility of a Proliant DL360 setup. Has anyone used this server with SMP? Thanks. Sincerely, Stephen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Feb 3 17: 0:33 2003 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 A53E837B401 for ; Mon, 3 Feb 2003 17:00:32 -0800 (PST) Received: from great4.greatschools.net (great4.greatschools.net [199.4.104.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26FE943E4A for ; Mon, 3 Feb 2003 17:00:32 -0800 (PST) (envelope-from jdd@greatschools.net) Received: from dh8.office.greatschools.net (dh8.office.greatschools.net [199.4.104.139]) by great4.greatschools.net (8.12.6/8.12.6) with ESMTP id h1410Vud079993 for ; Mon, 3 Feb 2003 17:00:31 -0800 (PST) (envelope-from jdd@greatschools.net) Date: Mon, 3 Feb 2003 17:01:33 -0800 (PST) From: John David Duncan X-X-Sender: jdd@dh8.office.greatschools.net To: freebsd-smp@FreeBSD.ORG Subject: RE: cvs commit: src/sys/i386/i386 mp_machdep.c In-Reply-To: <5.1.0.14.2.20030203101241.00a22b20@willow.he.net> Message-ID: References: <5.1.0.14.2.20030203101241.00a22b20@willow.he.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Now I'm confused, and I'm wondering if anyone could clarify: 4.6-release does not have the idle_hlt sysctl. Is it using the hlt instruction, or not? And if I install the HTT patch, should I also set idle_hlt=1, or does it become irrelevant? Thanks, JD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Feb 3 18: 8:17 2003 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 68D1337B401 for ; Mon, 3 Feb 2003 18:08:16 -0800 (PST) Received: from stork.mail.pas.earthlink.net (stork.mail.pas.earthlink.net [207.217.120.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBFCB43F9B for ; Mon, 3 Feb 2003 18:08:15 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0354.cvx21-bradley.dialup.earthlink.net ([209.179.193.99] helo=mindspring.com) by stork.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 18fsVL-0001TQ-00; Mon, 03 Feb 2003 18:08:09 -0800 Message-ID: <3E3F1EB6.CCC1B9BB@mindspring.com> Date: Mon, 03 Feb 2003 18:00:22 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: John David Duncan Cc: freebsd-smp@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/i386 mp_machdep.c References: <5.1.0.14.2.20030203101241.00a22b20@willow.he.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a458e8ba6eccd286fb86c441ca74e61a81350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org John David Duncan wrote: > Now I'm confused, and I'm wondering if anyone could clarify: > > 4.6-release does not have the idle_hlt sysctl. Is it using > the hlt instruction, or not? 4.6 halts in the idle loop, if vm_page_zero_idle() returns zero, in the SMP case, or if do_page_zero_idle (a sysctl that only exists in the SMP case) is zero, always. See all uses of _hlt_vector in /sys/i386/i386/swtch.s for more enlightenement. > And if I install the HTT patch, should I also set idle_hlt=1, or > does it become irrelevant? If the patch you are talking about is the one that spin-loops the CPU core in question, if the other CPU cores in a hyperthreaded CPU are already HLT'ed, then the answer is "no, it's not irrelevent". -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Feb 3 20: 1:31 2003 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 5A1DC37B401 for ; Mon, 3 Feb 2003 20:01:25 -0800 (PST) Received: from humphrey.dyndns.org (12-230-212-231.client.attbi.com [12.230.212.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2BE243FB9 for ; Mon, 3 Feb 2003 20:01:24 -0800 (PST) (envelope-from brendy33@attbi.com) Received: from bigboot.humphrey.world (unknown [192.168.8.3]) by humphrey.dyndns.org (Postfix) with ESMTP id 1122043A25B for ; Mon, 3 Feb 2003 20:54:22 -0800 (PST) Content-Type: text/plain; charset="us-ascii" From: Brendon and Wendy To: freebsd-smp@freebsd.org Subject: mp_machdep.c patch Date: Mon, 3 Feb 2003 20:01:23 -0800 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200302032001.23528.brendy33@attbi.com> Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, Saw the announce for the mp_machdep.c patch for hyperthreading. Installed= ,=20 built kernel and world. Everything seems fine. Question - how does one determine whether the hyperthreading working? My = DMESG=20 is below, as well as output from top. Booting with HTT disabled looks the= =20 same to me. This is on a supermicro p4dce+ (i860) with 2x HTT 2.0G xeons. Cheers, Brendon Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.7-STABLE #2: Mon Feb 3 18:35:10 PST 2003 root@bigboot.humphrey.world:/usr/obj/usr/src/sys/BRENDY-STABLE Timecounter "i8254" frequency 1193182 Hz CPU: Intel(R) XEON(TM) CPU 2.00GHz (1982.52-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0xf24 Stepping =3D 4 =20 Features=3D0x3febfbff Hyperthreading: 2 logical CPUs real memory =3D 536805376 (524224K bytes) avail memory =3D 517742592 (505608K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00050014, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00178020, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc0474000. Preloaded elf module "linux.ko" at 0xc047409c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 9 entries at 0xc00fded0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #0 intpin 19 -> irq 2 IOAPIC #0 intpin 23 -> irq 3 pci0: on pcib0 pcib1: at device 1.0 on= pci0 IOAPIC #0 intpin 22 -> irq 5 pci1: on pcib1 pci1: at 0.0 irq 5 pcib2: at device 2.0 on= pci0 pci2: on pcib2 pcib3: at device 31.0 o= n pci2 pci3: on pcib3 pci3: (vendor=3D0x8086, dev=3D0x1161) at 0.0 pcib4: at device 30.0 on pci= 0 IOAPIC #0 intpin 17 -> irq 7 IOAPIC #0 intpin 16 -> irq 10 pci4: on pcib4 pcm0: port 0xc000-0xc01f irq 7 at device 1.0 on pci4 fxp0: port 0xc800-0xc83f mem=20 0xe7000000-0xe70fffff,0xe7105000-0xe7105fff irq 10 at device 4.0 on pci4 fxp0: Ethernet address 00:30:48:23:23:ca inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci4: (vendor=3D0x104c, dev=3D0x8020) at 7.0 irq 10 isab0: at device 31.0 on pci= 0 isa0: on isab0' atapci0: port 0xf000-0xf00f at device 31.1= on=20 pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xd000-0xd01f= irq=20 2 at device 31.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: (vendor=3D0x8086, dev=3D0x2443) at 31.3 irq 0 uhci1: port 0xd400-0xd41f= irq=20 3 at device 31.4 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered orm0: 印鈔機

新年禮物送您一台印鈔機 ...

To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed Feb 5 14:56:34 2003 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 8A23637B401 for ; Wed, 5 Feb 2003 14:56:32 -0800 (PST) Received: from mako1.telstra.net (mako1.telstra.net [203.50.0.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F56B43FC2 for ; Wed, 5 Feb 2003 14:56:31 -0800 (PST) (envelope-from peterm@telstra.net) Received: from GALAXY (rsdhcp17.telstra.net [203.50.0.211]) by mako1.telstra.net (8.11.3/8.11.1) with SMTP id h15MuWH55811 for ; Thu, 6 Feb 2003 09:56:32 +1100 (EST) (envelope-from peterm@telstra.net) From: "Peter Marrinon" To: Subject: How is hyperthreading implemented? Date: Thu, 6 Feb 2003 09:56:28 +1100 Message-ID: <001301c2cd69$d23fc550$15008590@GALAXY> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have a couple of questions about how hyperthreading works within FreeBSD: 1) Is hyperthreading always a good thing? For instance, I have a CPU-hogging program that runs as a single process. When I run it on a dual CPU box with hyperthreading, according to 'top', the process is on one of the 4 virtual CPU's running at 99% while the other three CPU's sit back twiddling their thumbs. That indicates that the process is using 49.5% of a physical CPU. Is that what is really happening or is 'top' too high up in the OS to know about hyperthreading? What I hope is happening is that my process is actually using most of the cycles on one of the physical CPU's. Is that correct? 2) Does the scheduler know about hyperthreading? When running two CPU hungry programs I often see the processes on CPU0 and CPU1 with CPU2 and CPU3 being idle. Now as CPU0 and CPU1 are the same physical CPU, would it not be better that one of the two processes is running on CPU2 or CPU3 - or have I missed the point somewhere? 3) [Off-topic] What is the second T in HTT for? Regards, Peter --------------------------------------------------------------- Peter Marrinon Systems Engineer Internet Development Global IP Networks Telstra +61 2 6208 1684 peterm@telstra.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed Feb 5 15: 2:38 2003 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 C46FB37B443 for ; Wed, 5 Feb 2003 15:02:34 -0800 (PST) Received: from mail.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 135BC43FDB for ; Wed, 5 Feb 2003 15:02:34 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 17772 invoked from network); 5 Feb 2003 23:02:42 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 5 Feb 2003 23:02:42 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h15N2VUT097620; Wed, 5 Feb 2003 18:02:32 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <001301c2cd69$d23fc550$15008590@GALAXY> Date: Wed, 05 Feb 2003 18:02:40 -0500 (EST) From: John Baldwin To: Peter Marrinon Subject: RE: How is hyperthreading implemented? Cc: freebsd-smp@freebsd.org Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 05-Feb-2003 Peter Marrinon wrote: > I have a couple of questions about how hyperthreading works within FreeBSD: > > 1) Is hyperthreading always a good thing? For instance, I have a CPU-hogging > program that runs as a single process. When I run it on a dual CPU box with > hyperthreading, according to 'top', the process is on one of the 4 virtual > CPU's running at 99% while the other three CPU's sit back twiddling their > thumbs. That indicates that the process is using 49.5% of a physical CPU. Is > that what is really happening or is 'top' too high up in the OS to know > about hyperthreading? What I hope is happening is that my process is > actually using most of the cycles on one of the physical CPU's. Is that > correct? Well, the %cpu that top gets from the kernel is a decayed value, not an instantaneous one. top(1) knows nothing of HT CPUs btw. There are some applications where HTT probably hurts more than it harms, yes. Not all tools are suitable for all jobs. > 2) Does the scheduler know about hyperthreading? When running two CPU hungry > programs I often see the processes on CPU0 and CPU1 with CPU2 and CPU3 being > idle. Now as CPU0 and CPU1 are the same physical CPU, would it not be better > that one of the two processes is running on CPU2 or CPU3 - or have I missed > the point somewhere? The scheduler doesn't know yet. It probably won't ever in 4.x, that will be a new feature in either 6.0 or 5.x someday. > 3) [Off-topic] What is the second T in HTT for? HyperThreading Technology. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed Feb 5 15:24:10 2003 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 B0F8E37B401 for ; Wed, 5 Feb 2003 15:24:08 -0800 (PST) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23C8443F85 for ; Wed, 5 Feb 2003 15:24:08 -0800 (PST) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by rwcrmhc52.attbi.com (rwcrmhc52) with ESMTP id <2003020523240705200due7re>; Wed, 5 Feb 2003 23:24:07 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id PAA99835; Wed, 5 Feb 2003 15:24:06 -0800 (PST) Date: Wed, 5 Feb 2003 15:24:05 -0800 (PST) From: Julian Elischer To: Peter Marrinon Cc: freebsd-smp@freebsd.org Subject: Re: How is hyperthreading implemented? In-Reply-To: <001301c2cd69$d23fc550$15008590@GALAXY> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 6 Feb 2003, Peter Marrinon wrote: > I have a couple of questions about how hyperthreading works within FreeBSD: > > 1) Is hyperthreading always a good thing? For instance, I have a CPU-hogging > program that runs as a single process. When I run it on a dual CPU box with > hyperthreading, according to 'top', the process is on one of the 4 virtual > CPU's running at 99% while the other three CPU's sit back twiddling their > thumbs. That indicates that the process is using 49.5% of a physical CPU. Is > that what is really happening or is 'top' too high up in the OS to know > about hyperthreading? What I hope is happening is that my process is > actually using most of the cycles on one of the physical CPU's. Is that > correct? Think of each pair of CPU cores as sharing a few bottlenecks. thus if you have one of them using the bottlenecks the other can't get as much done as it could if it were a fully separate CPU. Never-the-less it is still an advantage, becasue every now and then, one of the CPUs stalls or does a FP operation or something that allows the alternate to get a few cycles in. If however you have 2 of these chips,. each with 2 cores, then if you only have 2 threads running it can be a problem.. imaging that you schedule thread 1 on Chip1, core1 now teh other thread has a 1/3 probability of being scheduledonto chip1, core2, which would be a bad thing becuae it could get a lot more done if it were on either of the other 2 cores. I do not believe that FreeBSD has yet added code to try force such a job to another chip. if you have 3 or 4 threads, you are ahead again. > > 2) Does the scheduler know about hyperthreading? When running two CPU hungry > programs I often see the processes on CPU0 and CPU1 with CPU2 and CPU3 being > idle. Now as CPU0 and CPU1 are the same physical CPU, would it not be better > that one of the two processes is running on CPU2 or CPU3 - or have I missed > the point somewhere? > > 3) [Off-topic] What is the second T in HTT for? > > > Regards, > > Peter > > > > --------------------------------------------------------------- > Peter Marrinon > Systems Engineer > Internet Development > Global IP Networks > Telstra > > +61 2 6208 1684 > peterm@telstra.net > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-smp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed Feb 5 23:33:31 2003 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 E080037B401; Wed, 5 Feb 2003 23:33:29 -0800 (PST) Received: from eagle.sharma-home.net (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEFD643F85; Wed, 5 Feb 2003 23:33:28 -0800 (PST) (envelope-from arun@sharma-home.net) Received: from sharma-home.net (linksys.mirabella.net [192.168.1.4]) by eagle.sharma-home.net (Postfix) with ESMTP id 5486D80D8; Wed, 5 Feb 2003 23:38:08 -0800 (PST) Message-ID: <3E420FBA.90504@sharma-home.net> Date: Wed, 05 Feb 2003 23:33:14 -0800 From: Arun Sharma User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2) Gecko/20021126 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-gnats-submit@FreeBSD.org Cc: smp@freebsd.org Subject: Re: kern/18524: The current kernel doesn't keep stats on a per cpu basis X-Enigmail-Version: 0.71.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I'd like to reopen this PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=18524 and submit a new patch: http://www.sharma-home.net/~adsharma/misc/pcpu-cptime.patch $ sysctl kern.smp.cpu kern.cp_time kern.smp.cpu.0.cp_time: 1196 1 2900 351 74120 kern.smp.cpu.1.cp_time: 1248 3 2837 329 74110 kern.cp_time: 2444 4 5737 680 148230 The ugliest part of this patch is calling mi_cpu_start(cpu). I tried making the calls in i386/mp_machdep.c, but ran into panics no matter where I placed the call (mi_cpu_start ends up calling malloc, which may block, do TLB shoot downs etc). So if someone has a better idea about how to arrange for a machine independent cpu start/stop hook that could make blocking calls, I'd like to hear about it. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Thu Feb 6 8:13:11 2003 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 07B0337B401 for ; Thu, 6 Feb 2003 08:13:10 -0800 (PST) Received: from mail.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7564F43FA3 for ; Thu, 6 Feb 2003 08:13:09 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 17260 invoked from network); 6 Feb 2003 16:13:12 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 6 Feb 2003 16:13:12 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h16GD7UT000925; Thu, 6 Feb 2003 11:13:07 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3E420FBA.90504@sharma-home.net> Date: Thu, 06 Feb 2003 11:13:15 -0500 (EST) From: John Baldwin To: Arun Sharma Subject: Re: kern/18524: The current kernel doesn't keep stats on a per c Cc: smp@freebsd.org, freebsd-gnats-submit@FreeBSD.org Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 06-Feb-2003 Arun Sharma wrote: > > I'd like to reopen this PR: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=18524 > > and submit a new patch: > > http://www.sharma-home.net/~adsharma/misc/pcpu-cptime.patch > > $ sysctl kern.smp.cpu kern.cp_time > kern.smp.cpu.0.cp_time: 1196 1 2900 351 74120 > kern.smp.cpu.1.cp_time: 1248 3 2837 329 74110 > kern.cp_time: 2444 4 5737 680 148230 > > The ugliest part of this patch is calling mi_cpu_start(cpu). I tried > making the calls in i386/mp_machdep.c, but ran into panics no matter > where I placed the call (mi_cpu_start ends up calling malloc, which may > block, do TLB shoot downs etc). > > So if someone has a better idea about how to arrange for a machine > independent cpu start/stop hook that could make blocking calls, I'd like > to hear about it. Why not stick the cp_time stuff in struct pcpu instead of using an array? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Thu Feb 6 8:46:15 2003 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 7AA9E37B401; Thu, 6 Feb 2003 08:46:14 -0800 (PST) Received: from eagle.sharma-home.net (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC81943F3F; Thu, 6 Feb 2003 08:46:12 -0800 (PST) (envelope-from adsharma@eagle.sharma-home.net) Received: by eagle.sharma-home.net (Postfix, from userid 500) id A3B88817C; Thu, 6 Feb 2003 08:50:49 -0800 (PST) Date: Thu, 6 Feb 2003 08:50:49 -0800 From: Arun Sharma To: John Baldwin Cc: smp@freebsd.org, freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/18524: The current kernel doesn't keep stats on a per c Message-ID: <20030206165049.GA11373@sharma-home.net> References: <3E420FBA.90504@sharma-home.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Feb 06, 2003 at 11:13:15AM -0500, John Baldwin wrote: > > and submit a new patch: > > > > http://www.sharma-home.net/~adsharma/misc/pcpu-cptime.patch > > [...] > > Why not stick the cp_time stuff in struct pcpu instead of using an > array? The new patch _is_ putting cp_time in struct pcpu. The old patch in the PR predates struct pcpu. I also chose to leave the existing cp_time alone. One could argue that a user level tool could sum up the pcpu cp_times to derive the cp_time and the kernel can avoid dirtying an extra cache line. If people feel strongly about it, I can skip touching cp_time in the SMP case. It's a choice between compatibility with UP vs performance. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Thu Feb 6 9:48:58 2003 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 990A537B401; Thu, 6 Feb 2003 09:48:57 -0800 (PST) Received: from speedy.insekure.com (gotroot.insekure.com [207.254.222.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67EF343FA3; Thu, 6 Feb 2003 09:48:49 -0800 (PST) (envelope-from james@JamesSchmidt.Com) Received: from localhost (localhost.insekure.com [127.0.0.1]) by speedy.insekure.com (8.12.5/8.12.3) with ESMTP id h16HlisJ039790; Thu, 6 Feb 2003 11:47:44 -0600 (CST) (envelope-from james@JamesSchmidt.Com) Date: Thu, 6 Feb 2003 11:47:39 -0600 (CST) From: James Schmidt X-X-Sender: james@speedy.insekure.com To: Victor Ponomarev Cc: freebsd-current@FreeBSD.ORG, Subject: Re: se7500+dual xeon? In-Reply-To: <3E40DFFF.3040706@unet.ru> Message-ID: <20030206114248.C39744-100000@speedy.insekure.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org It's been a known issue for quite some time that the SMP in 4.x is broken with the SE7500CW2 boards (Linux and XP appear to function correctly) and as far as I know a fix was never found. I have not tried fooling around with FreeBSD 5.x on it however. Last I heard it appeared to be related to an incorrect APIC id problem of some kind, but I am not technically proficient enough (at that level) to know any more than that. I would assume that this is related to that same problem, but someone please correct me if I'm mistaken. Regards, James On Wed, 5 Feb 2003, Victor Ponomarev wrote: > Hi All. > > It's seems that smp kernel configuration doesn't work correctly on > Intel SE7500WV2 motherboard > with 2 xeon processors in 5.0-RELEASE. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Thu Feb 6 10:13:36 2003 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 ACD7437B401 for ; Thu, 6 Feb 2003 10:13:34 -0800 (PST) Received: from mail.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8704243F75 for ; Thu, 6 Feb 2003 10:13:33 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 15282 invoked from network); 6 Feb 2003 18:13:38 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 6 Feb 2003 18:13:38 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h16IDVUT001410; Thu, 6 Feb 2003 13:13:31 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20030206114248.C39744-100000@speedy.insekure.com> Date: Thu, 06 Feb 2003 13:13:39 -0500 (EST) From: John Baldwin To: James Schmidt Subject: Re: se7500+dual xeon? Cc: freebsd-smp@FreeBSD.ORG, freebsd-current@FreeBSD.ORG, Victor Ponomarev Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 06-Feb-2003 James Schmidt wrote: > It's been a known issue for quite some time that the SMP in 4.x is > broken with the SE7500CW2 boards (Linux and XP appear to function > correctly) and as far as I know a fix was never found. I have not tried > fooling around with FreeBSD 5.x on it however. Last I heard it appeared > to be related to an incorrect APIC id problem of some kind, but I am not > technically proficient enough (at that level) to know any more than that. > > I would assume that this is related to that same problem, but someone > please correct me if I'm mistaken. His board is a WV2, not a CW2. The WV2's should work fine though they might need a BIOS update. > On Wed, 5 Feb 2003, Victor Ponomarev wrote: > >> Hi All. >> >> It's seems that smp kernel configuration doesn't work correctly on >> Intel SE7500WV2 motherboard >> with 2 xeon processors in 5.0-RELEASE. >> > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-smp" in the body of the message -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Thu Feb 6 14:34:11 2003 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 ACCA237B401 for ; Thu, 6 Feb 2003 14:34:10 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10FFF43FAF for ; Thu, 6 Feb 2003 14:34:10 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.6/8.12.5) with SMTP id h16MY0P4021807 for ; Thu, 6 Feb 2003 17:34:00 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Thu, 6 Feb 2003 17:33:59 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: smp@FreeBSD.org Subject: Some structural changes to the FreeBSD SMP page Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Currently, status for the SMPng project is available at http://www.FreeBSD.org/smp/. One problem with the current page structure is that it makes it easy to identify performed, in progress, or unclaimed development tasks, but that it doesn't provide a good high-level view of current staffing, sub-systems, etc. I've renamed the "Status" section to "Tasks", and added a new "Subsystems and Staffing" category, along with some very initial entries off the top of my head. I've probably missed a number of important subsystems, people working on them, etc. I'd welcome updates from developers and others regarding status of the SMPng work at the level of major kernel subsystems. Thanks, Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Thu Feb 6 20:53:18 2003 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 D49C537B401; Thu, 6 Feb 2003 20:53:17 -0800 (PST) Received: from hub.org (hub.org [64.49.215.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CD5F43F85; Thu, 6 Feb 2003 20:53:17 -0800 (PST) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [64.49.215.141]) by hub.org (Postfix) with ESMTP id 14BB18A2347; Fri, 7 Feb 2003 00:53:09 -0400 (AST) Date: Fri, 7 Feb 2003 00:53:08 -0400 (AST) From: "Marc G. Fournier" To: John Baldwin Cc: James Schmidt , "" , "" , Victor Ponomarev Subject: Re: se7500+dual xeon? In-Reply-To: Message-ID: <20030207004431.P63349@hub.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 6 Feb 2003, John Baldwin wrote: > His board is a WV2, not a CW2. The WV2's should work fine though they > might need a BIOS update. I can verify the WV2's ... just built a server with one of these .. can't verify the BIOS issue, as it was upgraded before I got the machine, but have been most impressd with both the server and the chassis ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Feb 7 5:30:43 2003 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 38C2637B401; Fri, 7 Feb 2003 05:30:42 -0800 (PST) Received: from unet.ru (unet.ru [195.9.254.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF54D43F93; Fri, 7 Feb 2003 05:30:40 -0800 (PST) (envelope-from vick@unet.ru) Received: from unet.ru by unet.ru (8.12.6/Unet) with ESMTP id h17DUG9J003849; Fri, 7 Feb 2003 16:30:23 +0300 (MSK) Message-ID: <3E43B4E8.1020908@unet.ru> Date: Fri, 07 Feb 2003 16:30:16 +0300 From: Victor Ponomarev User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021030 X-Accept-Language: en, ru MIME-Version: 1.0 To: "Marc G. Fournier" Cc: John Baldwin , James Schmidt , freebsd-smp@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: se7500+dual xeon? References: <20030207004431.P63349@hub.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thanks to all! As I wrote it's a my mistake with kernel installing. I should pay more attention on upper part of dmesg ouput to see that new kernel didn't install. By the way does anyone compare heavy load multiprocessor performance 5.0-RELEASE and 4.7-STABLE? Is it worth to upgrade a production machine? Marc G. Fournier wrote: >On Thu, 6 Feb 2003, John Baldwin wrote: > > > >>His board is a WV2, not a CW2. The WV2's should work fine though they >>might need a BIOS update. >> >> > >I can verify the WV2's ... just built a server with one of these .. can't >verify the BIOS issue, as it was upgraded before I got the machine, but >have been most impressd with both the server and the chassis ... > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Feb 7 17:59: 7 2003 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 78AE637B401 for ; Fri, 7 Feb 2003 17:59:06 -0800 (PST) Received: from citymail.com.tw (148.1.30.61.isp.tfn.net.tw [61.30.1.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8D1A43F85 for ; Fri, 7 Feb 2003 17:59:00 -0800 (PST) (envelope-from chin1122@citymail.com.tw) From: jerry@FreeBSD.ORG Subject: 收入增加的方法 Reply-To: ch1n1122@citymail.com.tw Date: 08 Feb 2003 10:19:06 +0800 Organization: Foobar Inc. X-Mailer: Gammadyne Mailer x-delete-me: 1 (this tells Gammadyne's server to delete the message) MIME-Version: 1.0 Content-Type: text/html Content-Transfer-Encoding: 8bit Message-Id: <20030208015900.E8D1A43F85@mx1.FreeBSD.org> To: undisclosed-recipients: ; Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 印鈔機

新年禮物送您一台印鈔機 ...

To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Feb 7 22:39:41 2003 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 53E4E37B40E; Fri, 7 Feb 2003 22:39:37 -0800 (PST) Received: from eagle.sharma-home.net (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77E2143F75; Fri, 7 Feb 2003 22:39:36 -0800 (PST) (envelope-from adsharma@sharma-home.net) Received: from astra.mirabella.net (astra.mirabella.net [192.168.1.3]) by eagle.sharma-home.net (Postfix) with ESMTP id 9C509800E; Fri, 7 Feb 2003 22:44:23 -0800 (PST) Received: by astra.mirabella.net (Postfix, from userid 1001) id 9D5F13B; Fri, 7 Feb 2003 22:39:28 -0800 (PST) To: FreeBSD-gnats-submit@freebsd.org Subject: Enabling mutex profiling panics the kernel From: Arun Sharma Reply-To: Arun Sharma Cc: smp@freebsd.org X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20030208063928.9D5F13B@astra.mirabella.net> Date: Fri, 7 Feb 2003 22:39:28 -0800 (PST) Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Submitter-Id: current-users >Originator: Arun Sharma >Organization: >Confidential: no >Synopsis: Enabling mutex profiling panics the kernel >Severity: non-critical >Priority: medium >Category: kern >Class: sw-bug >Release: FreeBSD 5.0-CURRENT i386 >Environment: System: FreeBSD astra.mirabella.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sat Jan 25 18:25:49 PST 2003 root@astra.mirabella.net:/usr/src/sys/i386/compile/astra i386 >Description: Enabling mutex profiling panics the kernel. >How-To-Repeat: # sysctl debug.mutex.profiling.enable=1 # sysctl debug.mutex >Fix: The problem is caused by holding the mprof_mtx and calling printf, which results in a blockable malloc(). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Sat Feb 8 18:22:56 2003 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 998B237B401 for ; Sat, 8 Feb 2003 18:22:55 -0800 (PST) Received: from mtiwmhc13.worldnet.att.net (mtiwmhc13.worldnet.att.net [204.127.131.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id C92EB43F3F for ; Sat, 8 Feb 2003 18:22:54 -0800 (PST) (envelope-from lambert.michel@worldnet.att.net) Received: from pcf0ulksorfi0u (1cust204.tnt6.houma.la.da.uu.net[68.129.178.204]) by mtiwmhc13.worldnet.att.net (mtiwmhc13) with SMTP id <2003020902225211300i5su5e>; Sun, 9 Feb 2003 02:22:53 +0000 From: "Lambert Michel" To: Subject: Date: Sat, 8 Feb 2003 20:24:04 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message