From owner-freebsd-smp Sun May 26 10:56:33 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mail.cscoms.com (mail.cscoms.com [202.183.255.23]) by hub.freebsd.org (Postfix) with ESMTP id 2E2DA37B404 for ; Sun, 26 May 2002 10:56:26 -0700 (PDT) Received: from mail.cscoms.com (dial-377.ras-6.bkk.c.cscoms.com [203.170.140.123]) by mail.cscoms.com (8.11.1/8.11.1) with SMTP id g4QHuNJ24862 for ; Mon, 27 May 2002 00:56:24 +0700 (GMT) Message-Id: <1022436037.220@cscoms.com> Date: Mon, 27 May 2002 01:00:37 -1700 To: smp@FreeBSD.org From: "richy" Subject: §Ò¹ Part Time ÊÃéÒ§ÃÒÂä´é´Õ ãªéà·¤â¹âÅÂշӧҹ᷹¤Ø³ 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 §Ò¹ Part Time ãªéà·¤â¹âÅÂշӧҹ᷹¤Ø³ äÁè¡ÃзºµèͪÕÇÔµ»ÃШÓÇѹ¢Í§¤Ø³ äÁèÇèҤس¨Ðà»ç¹ã¤Ã ¤Ø³µéͧ¡ÒçҹÍÂèÒ§¹ÕéËÃ×Íà»ÅèÒ ?? - âÍ¡ÒÊ·Õè¨Ðà»ç¹à¨éҢͧ¡Ô¨¡ÒÃẺ§èÒ æ - ÁÕ¸ØáԨ¢Í§µ¹àͧº¹ Internet ( E-Commerce ) - à»Ô´´Óà¹Ô¹§Ò¹µÅÍ´ 24 ªÑèÇâÁ§µèÍÇѹ 7ÇѹµèÍÊÑ»´ÒËì 365Çѹã¹Ë¹Ö觻ÕäÁèÁÕÇѹËÂØ´ - à§Ô¹Å§·Ø¹µèÓ ÃÒÂä´éÊÙ§ Part Time 15,000 ºÒ·¢Öé¹ä»µèÍà´×͹ / Full Time 45,000 ºÒ·¢Öé¹ä» - äÁèµéͧ¨éÒ§¾¹Ñ¡§Ò¹¢Ò äÁèµéͧ»Ç´ËÑÇàÃ×èͧ¢Ö鹤èÒáç ¡ÒùѴËÂØ´§Ò¹ áÅÐäÁèµéͧ¨èÒÂÊÇÑÊ´Ô¡Òà - ãªéà·¤â¹âÅÂշӧҹ᷹¤Ø³ äÁè¡ÃзºµèÍ¡ÒôÓà¹Ô¹ªÕÇÔµ»ÃШÓÇѹ¢Í§¤Ø³ à¾Õ§á¤èÇѹÅÐ 2-3 ªÑèÇâÁ§ - ·Ó§Ò¹¨Ò¡·Õèä˹¡çä´é áµèÊÒÁÒöÁÕ¸ØáԨä´é·ÑèÇâÅ¡ - äÁèµéͧ¡Ñ¡µØ¹ÊÔ¹¤éÒ äÁèàÊÕ觵èͷع¨Á - ÁÕÃкº¨Ñ´Êè§ÊÔ¹¤éÒ ·Ñé§ã¹áÅеèÒ§»ÃÐà·È - äÁèãªè¡Òà Knock Door ¢ÒÂÊÔ¹¤éÒ áµèÅÙ¡¤éÒ¨ÐÇÔè§à¢éÒÁÒËҤس ÏÅÏ ¶éҤسÍÂÒ¡ÁÕ¡Ô¨¡ÒâͧµÑÇàͧáÅÐÂѧÊÒÁÒöãªéàÇÅÒÊèǹãË­è¡ÑºÊÔ觷Õè¤Ø³ªÍº ¤Ø³·Óä´éá¹è¹Í¹ ¾ºàÃÒä´é·Õè¹Õè http://www.thaiworkathome.com/win â·Ã 0-2277-7850 µèÍ 57 ==¤Ø³ÍÒ¨ã¹ä´é¾ºã¹ÊÔ觷Õè¤Ø³ËÒÁҹҹ㹪ÕÇÔµ¡Ò÷ӧҹ== ¢ÍÍÀÑÂËÒ¡¤Ø³äÁèµéͧ¡ÒÃáµèä´éÃѺ mail ¹Õé ËÒ¡äÁèµéͧ¡ÒÃÃѺ¢èÒÇÊÒèҡàÃÒÍÕ¡ ¡ÃØ³Ò CLICK ä»·Õè http://www.thaiworkathome.com/unsubscribe.asp ¡ÃÍ¡ email-address ¢Í§·èÒ¹ áÅÐ submit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon May 27 18:52:47 2002 Delivered-To: freebsd-smp@freebsd.org Received: from hanmail.net (m251.theresidences.com [209.52.227.251]) by hub.freebsd.org (Postfix) with SMTP id 9C6E337B406 for ; Mon, 27 May 2002 18:52:43 -0700 (PDT) From: "Á¤Å½Ä" To: Subject: [±¤°í]100% ²ÇÂ¥!!! ÁÖ¼Ò¸¦ ª°Ô + °Ë»ö¿£Áø µî·Ï Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-2022-KR" Date: Mon, 27 May 2002 18:52:31 -0700 Reply-To: "Á¤Å½Ä" X-Priority: 1 (Highest) Content-Transfer-Encoding: 8bit Message-Id: <20020528015243.9C6E337B406@hub.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 http://kr.is-ok.com ¹«·á·Î ±æ°í ±ä °í°´ÀÇ È¨ÆäÀÌÁö ÁÖ¼Ò¸¦ ª°í ±â¾ïÇϱ⠽±°Ô ÁÙ¿©µå¸³´Ï´Ù. ¼­µÎ¸£¼¼¿ä!! ¼­ºñ½º¿ÀÇ ±â³äÀ¸·Î 300°³°¡ ³Ñ´Â °Ë»ö¿£Áø¿¡ ¿ÏÀü ²ÇÂ¥·Î µî·ÏÇص帮°í ±¤°íÇص帳´Ï´Ù. ¾ßÈ£! ¾ÆÁÖ °£´ÜÇÑ ÇÑ´Ü°è µî·ÏÀ¸·Î Áï½Ã ¹«·á·Î »ç¿ë °¡´ÉÇÕ´Ï´Ù. ---------------------------------------------------------------- º» ¸ÞÀÏÀº Á¤º¸Åë½ÅºÎ ±Ç°í »çÇ׿¡ ÀÇ°Å Á¦¸ñ¿¡ [±¤°í]¶ó Ç¥½ÃµÈ ±¤°í ¸ÞÀÏÀÔ´Ï´Ù. mcha40@hanmail.net ¿ÞÂÊ ¹öÆ°À» Ŭ¸¯ÇÏ½Ã¸é ¼ö½Å°ÅºÎ󸮰¡ ÀÌ·ç¾î Áý´Ï´Ù. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue May 28 3:37:13 2002 Delivered-To: freebsd-smp@freebsd.org Received: from hanmail.net (m251.theresidences.com [209.52.227.251]) by hub.freebsd.org (Postfix) with SMTP id 9F54F37B409 for ; Tue, 28 May 2002 03:37:05 -0700 (PDT) From: "Á¤Å½Ä" To: Subject: [±¤°í]100% ²ÇÂ¥!!! ÁÖ¼Ò¸¦ ª°Ô + °Ë»ö¿£Áø µî·Ï Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-2022-KR" Date: Tue, 28 May 2002 03:36:51 -0700 Reply-To: "Á¤Å½Ä" X-Priority: 1 (Highest) Content-Transfer-Encoding: 8bit Message-Id: <20020528103705.9F54F37B409@hub.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 http://kr.is-ok.com ¹«·á·Î ±æ°í ±ä °í°´ÀÇ È¨ÆäÀÌÁö ÁÖ¼Ò¸¦ ª°í ±â¾ïÇϱ⠽±°Ô ÁÙ¿©µå¸³´Ï´Ù. ¼­µÎ¸£¼¼¿ä!! ¼­ºñ½º¿ÀÇ ±â³äÀ¸·Î 300°³°¡ ³Ñ´Â °Ë»ö¿£Áø¿¡ ¿ÏÀü ²ÇÂ¥·Î µî·ÏÇص帮°í ±¤°íÇص帳´Ï´Ù. ¾ßÈ£! ¾ÆÁÖ °£´ÜÇÑ ÇÑ´Ü°è µî·ÏÀ¸·Î Áï½Ã ¹«·á·Î »ç¿ë °¡´ÉÇÕ´Ï´Ù. ---------------------------------------------------------------- º» ¸ÞÀÏÀº Á¤º¸Åë½ÅºÎ ±Ç°í »çÇ׿¡ ÀÇ°Å Á¦¸ñ¿¡ [±¤°í]¶ó Ç¥½ÃµÈ ±¤°í ¸ÞÀÏÀÔ´Ï´Ù. mcha40@hanmail.net ¿ÞÂÊ ¹öÆ°À» Ŭ¸¯ÇÏ½Ã¸é ¼ö½Å°ÅºÎ󸮰¡ ÀÌ·ç¾î Áý´Ï´Ù. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue May 28 12:44:26 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by hub.freebsd.org (Postfix) with ESMTP id 5103237B406 for ; Tue, 28 May 2002 12:44:22 -0700 (PDT) Received: from FreeBSD.org ([63.193.112.125]) by mta6.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GWU00K5W6TYZA@mta6.snfc21.pbi.net> for smp@freebsd.org; Tue, 28 May 2002 12:44:22 -0700 (PDT) Date: Tue, 28 May 2002 12:44:38 -0700 From: Jeffrey Hsu Subject: socket buffers and condition variables To: tanimura@r.dl.itc.u-tokyo.ac.jp Cc: smp@freebsd.org Message-id: <0GWU00K5X6TYZA@mta6.snfc21.pbi.net> MIME-version: 1.0 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 Content-type: text/plain; charset=us-ascii 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 > Reduce contention upon locking a socket buffer by replacing tsleep() and > wakeup() with a condvar. I'd prefer if we waited until we had the networking stack all locked up before measuring and deciding that there is enough contention on socket buffers to warrant this change. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue May 28 12:51:23 2002 Delivered-To: freebsd-smp@freebsd.org Received: from out005.verizon.net (out005pub.verizon.net [206.46.170.143]) by hub.freebsd.org (Postfix) with ESMTP id 47CDC37B408 for ; Tue, 28 May 2002 12:51:21 -0700 (PDT) Received: from there ([4.46.5.177]) by out005.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with SMTP id <20020528195106.PUXN10654.out005.verizon.net@there> for ; Tue, 28 May 2002 14:51:06 -0500 Content-Type: text/plain; charset="iso-8859-1" From: Scott A Tolliver To: freebsd-smp@FreeBSD.org Date: Tue, 28 May 2002 09:39:26 -0400 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: multi processor mother boards Message-Id: <20020528195106.PUXN10654.out005.verizon.net@there> 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 Tue May 28 13:21:17 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by hub.freebsd.org (Postfix) with ESMTP id 58ECF37B407 for ; Tue, 28 May 2002 13:21:06 -0700 (PDT) Received: (qmail 19371 invoked from network); 28 May 2002 20:21:04 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 28 May 2002 20:21:04 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g4SKLIF24702; Tue, 28 May 2002 16:21:18 -0400 (EDT) (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: <0GWU00K5X6TYZA@mta6.snfc21.pbi.net> Date: Tue, 28 May 2002 16:20:45 -0400 (EDT) From: John Baldwin To: Jeffrey Hsu Subject: RE: socket buffers and condition variables Cc: smp@freebsd.org, tanimura@r.dl.itc.u-tokyo.ac.jp 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 28-May-2002 Jeffrey Hsu wrote: > > Reduce contention upon locking a socket buffer by replacing tsleep() and > > wakeup() with a condvar. > > I'd prefer if we waited until we had the networking stack all locked up > before measuring and deciding that there is enough contention on socket > buffers to warrant this change. I don't really see how this change avoids contention anyways. -- 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 Tue May 28 13:52:18 2002 Delivered-To: freebsd-smp@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id D5B4037B410; Tue, 28 May 2002 13:52:06 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id B1C3FAE1CA; Tue, 28 May 2002 13:52:06 -0700 (PDT) Date: Tue, 28 May 2002 13:52:06 -0700 From: Alfred Perlstein To: John Baldwin Cc: Jeffrey Hsu , smp@freebsd.org, tanimura@r.dl.itc.u-tokyo.ac.jp Subject: Re: socket buffers and condition variables Message-ID: <20020528205206.GI17045@elvis.mu.org> References: <0GWU00K5X6TYZA@mta6.snfc21.pbi.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i 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 [020528 13:21] wrote: > > On 28-May-2002 Jeffrey Hsu wrote: > > > Reduce contention upon locking a socket buffer by replacing tsleep() and > > > wakeup() with a condvar. > > > > I'd prefer if we waited until we had the networking stack all locked up > > before measuring and deciding that there is enough contention on socket > > buffers to warrant this change. > > I don't really see how this change avoids contention anyways. The stuff we talked about... using the mutex associated with the condvar rather than the schedlock to protect the cv's wait queue. Basically reduce contention on the global wait queues and schedlock. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue May 28 14: 4:35 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mail.fpsn.net (mail.fpsn.net [63.224.69.57]) by hub.freebsd.org (Postfix) with ESMTP id 6E09437B406 for ; Tue, 28 May 2002 14:04:26 -0700 (PDT) Received: from fpsn.net (mirc-sucks@unixgr.com [63.224.69.60]) (authenticated) by mail.fpsn.net (8.11.6/8.11.6) with ESMTP id g4SL4JT03521 for ; Tue, 28 May 2002 15:04:19 -0600 (MDT) Message-ID: <3CF3F0DE.3B1F6406@fpsn.net> Date: Tue, 28 May 2002 15:04:30 -0600 From: Colin Faber Organization: fpsn.net, Inc. (http://www.fpsn.net) X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Cc: smp@FreeBSD.ORG Subject: Re: =?iso-8859-1?Q?=5B=B1=A4=B0=ED=5D100=25=20=B2=C7=C2=A5=21=21=21=20=C1=D6=BC=D2=B8=A6=20=C2=AA=B0=D4?= + =?iso-8859-1?Q?=B0=CB=BB=F6=BF=A3=C1=F8=20=B5=EE=B7=CF?= References: <20020528103705.9F54F37B409@hub.freebsd.org> Content-Type: text/plain; charset=us-ascii 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 This same network 'theresidences.com' has spammed this list multiple times.. When are you all going to block this asshole? -- Colin Faber (303) 736-5160 fpsn.net, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue May 28 14:33:28 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mail.speakeasy.net (mail15.speakeasy.net [216.254.0.215]) by hub.freebsd.org (Postfix) with ESMTP id BEF0237B440 for ; Tue, 28 May 2002 14:32:47 -0700 (PDT) Received: (qmail 29579 invoked from network); 28 May 2002 21:32:46 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail15.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 28 May 2002 21:32:46 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g4SLWxF25081; Tue, 28 May 2002 17:32:59 -0400 (EDT) (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: <20020528205206.GI17045@elvis.mu.org> Date: Tue, 28 May 2002 17:32:26 -0400 (EDT) From: John Baldwin To: Alfred Perlstein Subject: Re: socket buffers and condition variables Cc: tanimura@r.dl.itc.u-tokyo.ac.jp, smp@freebsd.org, Jeffrey Hsu 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 28-May-2002 Alfred Perlstein wrote: > * John Baldwin [020528 13:21] wrote: >> >> On 28-May-2002 Jeffrey Hsu wrote: >> > > Reduce contention upon locking a socket buffer by replacing tsleep() and >> > > wakeup() with a condvar. >> > >> > I'd prefer if we waited until we had the networking stack all locked up >> > before measuring and deciding that there is enough contention on socket >> > buffers to warrant this change. >> >> I don't really see how this change avoids contention anyways. > > The stuff we talked about... using the mutex associated with the > condvar rather than the schedlock to protect the cv's wait queue. > Basically reduce contention on the global wait queues and schedlock. Hmm, well, that won't be a valid assumption for bug so long anyways as cv's wont' have their own queue forever but will probably share their queue's with tsleep in the future. It's an implementation detail. I don't care if you use cv's instead of sleep/wakeup since cv's are often used with mutexes, but reduced contention isn't really a valid reason to use them. -- 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 Tue May 28 15:13:49 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by hub.freebsd.org (Postfix) with ESMTP id D35F837B482; Tue, 28 May 2002 15:12:52 -0700 (PDT) Received: from FreeBSD.org ([63.193.112.125]) by mta7.pltn13.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GWU003BWDPGNP@mta7.pltn13.pbi.net>; Tue, 28 May 2002 15:12:52 -0700 (PDT) Date: Tue, 28 May 2002 15:13:10 -0700 From: Jeffrey Hsu Subject: Re: socket buffers and condition variables In-reply-to: Message from John Baldwin "of Tue, 28 May 2002 17:32:26 EDT." To: John Baldwin Cc: Alfred Perlstein , tanimura@r.dl.itc.u-tokyo.ac.jp, smp@freebsd.org Message-id: <0GWU003BXDPGNP@mta7.pltn13.pbi.net> MIME-version: 1.0 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 Content-type: text/plain; charset=us-ascii 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 > well, that won't be a valid assumption for bug so long anyways as > cv's wont' have their own queue forever but will probably share their > queue's with tsleep in the future. It's an implementation detail. John is right. This is the way Solaris implements condition variables, for example. > I don't care if you use cv's instead of sleep/wakeup since cv's are > often used with mutexes I do. I think we should stick w/ sleep/wakeup unless there's a good reason to change the code. There are places where condition variables are the better choice, by design and not by implementation detail, but this isn't one of them. > reduced contention isn't really a valid reason to use them. Since this task is A. questionable B. not needed to lock up the networking stack can we remove it from the SMP todo roadmap? We can always do it later if it does turn out to be a good idea. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue May 28 15:29:55 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id BDFC337B40B for ; Tue, 28 May 2002 15:29:43 -0700 (PDT) Received: (qmail 14568 invoked from network); 28 May 2002 22:29:27 -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 ; 28 May 2002 22:29:27 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g4SMTeF25277; Tue, 28 May 2002 18:29:40 -0400 (EDT) (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: <0GWU003BXDPGNP@mta7.pltn13.pbi.net> Date: Tue, 28 May 2002 18:29:07 -0400 (EDT) From: John Baldwin To: Jeffrey Hsu Subject: Re: socket buffers and condition variables Cc: smp@freebsd.org, tanimura@r.dl.itc.u-tokyo.ac.jp, Alfred Perlstein 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 28-May-2002 Jeffrey Hsu wrote: > > well, that won't be a valid assumption for bug so long anyways as > > cv's wont' have their own queue forever but will probably share their > > queue's with tsleep in the future. It's an implementation detail. > > John is right. This is the way Solaris implements condition variables, > for example. > > > I don't care if you use cv's instead of sleep/wakeup since cv's are > > often used with mutexes > > I do. I think we should stick w/ sleep/wakeup unless there's a good reason > to change the code. There are places where condition variables are the > better choice, by design and not by implementation detail, but this isn't one > of them. Well, with wakeup_one() our sleep/wakeup really are just duplicating the functionality of cv's. At some point we should deprecate one in favor of the other but we can worry about that later on I think. > > reduced contention isn't really a valid reason to use them. > > Since this task is > A. questionable > B. not needed to lock up the networking stack > can we remove it from the SMP todo roadmap? We can always do it later > if it does turn out to be a good idea. Yes, I would put it off until later on for now. -- 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 May 29 2:52:42 2002 Delivered-To: freebsd-smp@freebsd.org Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by hub.freebsd.org (Postfix) with ESMTP id 801CE37B401 for ; Wed, 29 May 2002 02:52:35 -0700 (PDT) Received: from moka.ccr.jussieu.fr (moka.ccr.jussieu.fr [134.157.1.23]) by shiva.jussieu.fr (8.12.3/jtpda-5.4) with ESMTP id g4T9qSvg057219 for ; Wed, 29 May 2002 11:52:29 +0200 (CEST) Received: from ROXANNE.ccr.jussieu.fr (moka.ccr.jussieu.fr [134.157.1.23]) by moka.ccr.jussieu.fr (8.10.0/jtpda-5.3.3) with ESMTP id g4T9qSY163778 for ; Wed, 29 May 2002 11:52:28 +0200 Message-Id: <5.0.2.1.2.20020529115143.00ab6808@localhost> X-Sender: vauthero@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Wed, 29 May 2002 11:55:00 +0200 To: freebsd-smp@FreeBSD.org From: Sebastien VAUTHEROT Subject: Monitoring a bi-processor ? Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: 8bit 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 everybody, I'm looking for a tool/package/port (???) which will allow me to monitor a bi-processor server. At this moment the only one I know is "TOP" and I can't see the details of each processor. Have you got any idea ? thanks in advance for all. Best regards, Sébastien VAUTHEROT Tél : 01 44 27 74 05 - FAX : 01 44 27 72 06 CCR - Centre de Calcul Recherche et Réseau JUSSIEU Tour 65/66 5eme étage - Boite 171 - 75252 PARIS CEDEX 05 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed May 29 12:50:32 2002 Delivered-To: freebsd-smp@freebsd.org Received: from falcon.mail.pas.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id E2AAA37B406 for ; Wed, 29 May 2002 12:50:19 -0700 (PDT) Received: from pool0344.cvx22-bradley.dialup.earthlink.net ([209.179.199.89] helo=mindspring.com) by falcon.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 17D9SX-0006eR-00; Wed, 29 May 2002 12:50:14 -0700 Message-ID: <3CF530D6.6FF9DB24@mindspring.com> Date: Wed, 29 May 2002 12:49:42 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Sebastien VAUTHEROT Cc: freebsd-smp@FreeBSD.org Subject: Re: Monitoring a bi-processor ? References: <5.0.2.1.2.20020529115143.00ab6808@localhost> Content-Type: text/plain; charset=us-ascii 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 Sebastien VAUTHEROT wrote: > I'm looking for a tool/package/port (???) which will allow me to > monitor a bi-processor server. > At this moment the only one I know is "TOP" and I can't see the details of > each processor. > > Have you got any idea ? I think we should go by temperature. 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Thu May 30 3:20:46 2002 Delivered-To: freebsd-smp@freebsd.org Received: from relay-1m.club-internet.fr (relay-1m.club-internet.fr [194.158.104.40]) by hub.freebsd.org (Postfix) with ESMTP id A1FAD37B400 for ; Thu, 30 May 2002 03:20:39 -0700 (PDT) Received: from club-internet.fr (srs01v-3-119.n.club-internet.fr [213.44.145.119]) by relay-1m.club-internet.fr (Postfix) with ESMTP id 631C616BD; Thu, 30 May 2002 12:20:36 +0200 (CEST) Message-ID: <3CF5D47E.5000403@club-internet.fr> Date: Thu, 30 May 2002 09:27:58 +0200 From: Mathias HARY User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: fr-fr MIME-Version: 1.0 To: Sebastien VAUTHEROT Cc: freebsd-smp@FreeBSD.org Subject: Re: Monitoring a bi-processor ? References: <5.0.2.1.2.20020529115143.00ab6808@localhost> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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 Not being an expert, my solution was to use the rstatd deamon: In /etc/inetd.conf: uncomment "rstatd" On a remote computer, write a script with as many lines as need for all your servers with "rup otherhost" you'll get (example taken from "man rup"): example% rup otherhost otherhost 7:36am up 6 days, 16:45, load average: 0.20, 0.23, 0.18 See manpages for details... Sebastien VAUTHEROT wrote: > Hi everybody, > > I'm looking for a tool/package/port (???) which will allow me to > monitor a bi-processor server. > At this moment the only one I know is "TOP" and I can't see the details > of each processor. > > Have you got any idea ? > > thanks in advance for all. > > > Best regards, > Sébastien VAUTHEROT > > Tél : 01 44 27 74 05 - FAX : 01 44 27 72 06 > > CCR - Centre de Calcul Recherche et Réseau JUSSIEU > Tour 65/66 5eme étage - Boite 171 - 75252 PARIS CEDEX 05 > > > 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 Thu May 30 3:51:13 2002 Delivered-To: freebsd-smp@freebsd.org Received: from ns2.rapfire.net (ns2.rapfire.net [205.198.245.3]) by hub.freebsd.org (Postfix) with ESMTP id D046E37B404 for ; Thu, 30 May 2002 03:51:10 -0700 (PDT) Received: from [205.198.245.21] (a2-ppp-12.rapfire.net [205.198.245.21]) by ns2.rapfire.net (8.11.0/8.11.0) with ESMTP id g4UAp6X06196 for ; Thu, 30 May 2002 05:51:07 -0500 Mime-Version: 1.0 Message-Id: Date: Thu, 30 May 2002 05:53:46 -0500 To: freebsd-smp@FreeBSD.org From: Chris Harjo Subject: HP vectra XU 6/200 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 support for HP Vectra XU 6/200 dual Pentium Pro 200Mhz -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Thu May 30 6:10: 9 2002 Delivered-To: freebsd-smp@freebsd.org Received: from jetpac.epcdirect.co.uk (mail.epcdirect.co.uk [195.10.242.10]) by hub.freebsd.org (Postfix) with ESMTP id 5DE0937B405 for ; Thu, 30 May 2002 06:09:59 -0700 (PDT) Received: from localhost (localhost.epcdirect.co.uk [127.0.0.1]) by jetpac.epcdirect.co.uk (Postfix) with ESMTP id DD44D467D5; Thu, 30 May 2002 13:09:57 +0000 (GMT) Received: from lfarr (l-farr.int.epcdirect.co.uk [192.168.6.200]) by jetpac.epcdirect.co.uk (Postfix) with ESMTP id D7D03467CF; Thu, 30 May 2002 14:09:53 +0100 (BST) From: "Lawrence Farr" To: "'Chris Harjo'" , Subject: RE: HP vectra XU 6/200 Date: Thu, 30 May 2002 14:09:53 +0100 Message-ID: <003101c207db$49d84e20$c806a8c0@lfarr> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: X-Virus-Scanned: by EPC-Direct (jetpac.epcdirect.co.uk) 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 could never get mine to work, and scrapped it. That was about a year ago though. Lawrence Farr EPC Direct Limited > -----Original Message----- > From: owner-freebsd-smp@FreeBSD.ORG > [mailto:owner-freebsd-smp@FreeBSD.ORG] On Behalf Of Chris Harjo > Sent: 30 May 2002 11:54 > To: freebsd-smp@FreeBSD.org > Subject: HP vectra XU 6/200 > > > support for HP Vectra XU 6/200 dual Pentium Pro 200Mhz > -- > > 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 Fri May 31 2:12:11 2002 Delivered-To: freebsd-smp@freebsd.org Received: from sirppi.helsinki.fi (sirppi.helsinki.fi [128.214.205.27]) by hub.freebsd.org (Postfix) with ESMTP id 5262E37B406; Fri, 31 May 2002 02:12:01 -0700 (PDT) Received: from localhost (akoskine@localhost) by sirppi.helsinki.fi (8.11.6/8.11.4) with ESMTP id g4V9C0T09175; Fri, 31 May 2002 12:12:00 +0300 (EET DST) X-Authentication-Warning: sirppi.helsinki.fi: akoskine owned process doing -bs Date: Fri, 31 May 2002 12:12:00 +0300 (EET DST) From: Aaro J Koskinen To: , Subject: ICU_LEN with IO APIC 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 Hello, Is there any particular reason why the number of interrupts is limited to 32 on APIC systems? Is it just a conservative guess on the number of interrupts anyone might want to need...? A. -- Aaro Koskinen E-mail: aaro@iki.fi "I'm the ocean, I'm the giant undertow." http://www.iki.fi/aaro To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri May 31 6:24:41 2002 Delivered-To: freebsd-smp@freebsd.org Received: from tesla.distributel.net (nat.MTL.distributel.NET [66.38.181.24]) by hub.freebsd.org (Postfix) with ESMTP id 9428D37B401; Fri, 31 May 2002 06:24:36 -0700 (PDT) Received: (from bmilekic@localhost) by tesla.distributel.net (8.11.6/8.11.6) id g4VDNmd69563; Fri, 31 May 2002 09:23:48 -0400 (EDT) (envelope-from bmilekic@unixdaemons.com) Date: Fri, 31 May 2002 09:23:48 -0400 From: Bosko Milekic To: Aaro J Koskinen Cc: freebsd-hackers@FreeBSD.ORG, freebsd-smp@FreeBSD.ORG Subject: Re: ICU_LEN with IO APIC Message-ID: <20020531092348.B69469@unixdaemons.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from akoskine@cc.helsinki.fi on Fri, May 31, 2002 at 12:12:00PM +0300 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 Fri, May 31, 2002 at 12:12:00PM +0300, Aaro J Koskinen wrote: > Hello, > > Is there any particular reason why the number of interrupts is limited > to 32 on APIC systems? Is it just a conservative guess on the number of > interrupts anyone might want to need...? I'm not sure but perhaps this is historical (and now also required again), but if we use a word to mask out interrupts than after 32 we run out of bits. "Who needs more than 32 interrupts anyway?!" :-) > A. > > -- > Aaro Koskinen > E-mail: aaro@iki.fi "I'm the ocean, I'm the giant undertow." > http://www.iki.fi/aaro Regards, -- Bosko Milekic bmilekic@unixdaemons.com bmilekic@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 May 31 7: 2: 0 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by hub.freebsd.org (Postfix) with ESMTP id 13D1837B40D for ; Fri, 31 May 2002 07:01:32 -0700 (PDT) Received: (qmail 23209 invoked from network); 31 May 2002 14:01:30 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 31 May 2002 14:01:30 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g4VE1nF36830; Fri, 31 May 2002 10:01:49 -0400 (EDT) (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: <20020531092348.B69469@unixdaemons.com> Date: Fri, 31 May 2002 10:01:11 -0400 (EDT) From: John Baldwin To: Bosko Milekic Subject: Re: ICU_LEN with IO APIC Cc: freebsd-smp@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG, Aaro J Koskinen 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 31-May-2002 Bosko Milekic wrote: > > On Fri, May 31, 2002 at 12:12:00PM +0300, Aaro J Koskinen wrote: >> Hello, >> >> Is there any particular reason why the number of interrupts is limited >> to 32 on APIC systems? Is it just a conservative guess on the number of >> interrupts anyone might want to need...? > > I'm not sure but perhaps this is historical (and now also required > again), but if we use a word to mask out interrupts than after 32 we > run out of bits. "Who needs more than 32 interrupts anyway?!" :-) Actually, the historical value in stable is 24 because the same 32-bit word shares the 8 softinterrupts with 24 hardware interrupts. I think the APIC only has 32 interrupt pins however. -- 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 Fri May 31 9:13:45 2002 Delivered-To: freebsd-smp@freebsd.org Received: from evilpete.dyndns.org (12-232-26-46.client.attbi.com [12.232.26.46]) by hub.freebsd.org (Postfix) with ESMTP id 2007737B40B; Fri, 31 May 2002 09:13:07 -0700 (PDT) Received: from overcee.wemm.org ([10.0.0.3]) by evilpete.dyndns.org (8.11.6/8.11.6) with ESMTP id g4VGCu173768; Fri, 31 May 2002 09:13:05 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 5EAFC380A; Fri, 31 May 2002 09:12:56 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: John Baldwin Cc: Bosko Milekic , freebsd-smp@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG, Aaro J Koskinen Subject: Re: ICU_LEN with IO APIC In-Reply-To: Date: Fri, 31 May 2002 09:12:56 -0700 From: Peter Wemm Message-Id: <20020531161256.5EAFC380A@overcee.wemm.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 John Baldwin wrote: > > On 31-May-2002 Bosko Milekic wrote: > > > > On Fri, May 31, 2002 at 12:12:00PM +0300, Aaro J Koskinen wrote: > >> Hello, > >> > >> Is there any particular reason why the number of interrupts is limited > >> to 32 on APIC systems? Is it just a conservative guess on the number of > >> interrupts anyone might want to need...? > > > > I'm not sure but perhaps this is historical (and now also required > > again), but if we use a word to mask out interrupts than after 32 we > > run out of bits. "Who needs more than 32 interrupts anyway?!" :-) > > Actually, the historical value in stable is 24 because the same 32-bit word > shares the 8 softinterrupts with 24 hardware interrupts. I think the APIC > only has 32 interrupt pins however. Historically it was because ipending and friends were a 32 bit word. Even now, we have a stack of 32 bit bitfields in this area. It isn't uncommon to have 2 IO apics with 24 pins each. Fortunately there are rarely more than about 20 or so in use in total. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri May 31 14: 7:22 2002 Delivered-To: freebsd-smp@freebsd.org Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 0F90037B415; Fri, 31 May 2002 14:06:58 -0700 (PDT) Received: from pool0324.cvx40-bradley.dialup.earthlink.net ([216.244.43.69] helo=mindspring.com) by snipe.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 17Dtbl-00006g-00; Fri, 31 May 2002 14:06:49 -0700 Message-ID: <3CF7E5C9.82526E0A@mindspring.com> Date: Fri, 31 May 2002 14:06:17 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Bosko Milekic Cc: Aaro J Koskinen , freebsd-hackers@FreeBSD.ORG, freebsd-smp@FreeBSD.ORG Subject: Re: ICU_LEN with IO APIC References: <20020531092348.B69469@unixdaemons.com> Content-Type: text/plain; charset=us-ascii 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 Bosko Milekic wrote: > On Fri, May 31, 2002 at 12:12:00PM +0300, Aaro J Koskinen wrote: > > Is there any particular reason why the number of interrupts is limited > > to 32 on APIC systems? Is it just a conservative guess on the number of > > interrupts anyone might want to need...? > > I'm not sure but perhaps this is historical (and now also required > again), but if we use a word to mask out interrupts than after 32 we > run out of bits. "Who needs more than 32 interrupts anyway?!" :-) Who needs more than 4? Foo on PCI. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Sat Jun 1 8:22:37 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mail.utcorp.net (mail.utcorp.net [146.145.135.97]) by hub.freebsd.org (Postfix) with ESMTP id 6781137B400 for ; Sat, 1 Jun 2002 08:22:31 -0700 (PDT) Received: from shorty30.khome.utcorp.net ([10.200.1.30] helo=utcorp.com) by mail.utcorp.net with esmtp (Exim 3.22 #1) id 17EB4V-000GmK-00 for freebsd-smp@FreeBSD.org; Sat, 01 Jun 2002 11:45:40 -0400 Message-ID: <3CF8E8C0.1B4B0713@utcorp.com> Date: Sat, 01 Jun 2002 11:31:12 -0400 From: Kurt Seel X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-smp@FreeBSD.org Subject: Re: Monitoring a bi-processor ? References: <5.0.2.1.2.20020529115143.00ab6808@localhost> <3CF5D47E.5000403@club-internet.fr> Content-Type: text/plain; charset=us-ascii 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 Mathias HARY wrote: > > Not being an expert, my solution was to use the rstatd deamon: > In /etc/inetd.conf: uncomment "rstatd" > On a remote computer, write a script with as many lines as need > for all your servers with "rup otherhost" > > you'll get (example taken from "man rup"): > example% rup otherhost > otherhost 7:36am up 6 days, 16:45, load average: 0.20, 0.23, 0.18 > > See manpages for details... > > Sebastien VAUTHEROT wrote: > I find xsysstats (see ports) to work nicely as a graphical representation for rstatd. Beware the dangers of enabling portmapper (Sun RPC) on a production box. Here is a short script, change the particulars to taste. #!/bin/sh HOST=$1 xsysstats -background black -geometry 1589x70-0-46 \ -split 4x1 \ -border 3 -baseline white -ruler 30 \ -window 1 -type cpu -color green \ -host $HOST -type context -color yellow -min 8000 -max 8000 \ -host $HOST -type disk -color red -min 1000 -max 1000 \ -host $HOST -window 2 -type load1 -color green \ -host $HOST -type load5 -color yellow \ -host $HOST -type load15 -color red \ -host $HOST -window 3 -type page -color green \ -host $HOST -type swap -color yellow \ -host $HOST -type interrupts -min 10000 -max 10000 -color blue \ -host $HOST -window 4 -type packets -color green -min 512 -max 512 \ -host $HOST -type errors -color red -min 8 -max 8 -host $HOST To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Sat Jun 1 14:45:43 2002 Delivered-To: freebsd-smp@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 553A237B401 for ; Sat, 1 Jun 2002 14:45:32 -0700 (PDT) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.3/8.12.3) with SMTP id g51Lj4b5004113; Sat, 1 Jun 2002 17:45:05 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sat, 1 Jun 2002 17:45:04 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Sebastien VAUTHEROT Cc: smp@FreeBSD.org Subject: Re: Monitoring a bi-processor ? In-Reply-To: <5.0.2.1.2.20020529115143.00ab6808@localhost> 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 I generally just use the built-in systat tool -- it has a number of modes for measuring various things, including network behavior, process behavior, vm system / io / disks / ... It's not "pretty", but it's pretty useful. 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