From owner-freebsd-smp@FreeBSD.ORG Mon Jul 26 16:46:26 2004 Return-Path: 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 5746316A4CE for ; Mon, 26 Jul 2004 16:46:26 +0000 (GMT) Received: from grand.central.org (GRAND.CENTRAL.ORG [128.2.194.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7F8043D2D for ; Mon, 26 Jul 2004 16:46:25 +0000 (GMT) (envelope-from openafs-announce-admin@openafs.org) Received: from grand.central.org (localhost.localdomain [127.0.0.1]) by grand.central.org (Postfix) with ESMTP id B7AF49C0E for ; Mon, 26 Jul 2004 12:46:03 -0400 (EDT) From: openafs-announce-admin@openafs.org To: freebsd-smp@freebsd.org X-Ack: no Sender: openafs-announce-admin@openafs.org Errors-To: openafs-announce-admin@openafs.org X-BeenThere: openafs-announce@openafs.org X-Mailman-Version: 2.0.4 Precedence: bulk Message-Id: <20040726164603.B7AF49C0E@grand.central.org> Date: Mon, 26 Jul 2004 12:46:03 -0400 (EDT) Subject: Your message to OpenAFS-announce awaits moderator approval X-BeenThere: freebsd-smp@freebsd.org List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jul 2004 16:46:26 -0000 Your mail to 'OpenAFS-announce' with the subject Returned mail: Data format error Is being held until the list moderator can review it for approval. The reason it is being held: Post to moderated list Either the message will get posted to the list, or you will receive notification of the moderator's decision. From owner-freebsd-smp@FreeBSD.ORG Wed Jul 28 13:53:41 2004 Return-Path: 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 2B33316A4CE for ; Wed, 28 Jul 2004 13:53:41 +0000 (GMT) Received: from tquila.lirex.com (tquila.lirex.com [194.12.246.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FE3C43D46 for ; Wed, 28 Jul 2004 13:53:40 +0000 (GMT) (envelope-from RVasilev@lirex.bg) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Wed, 28 Jul 2004 16:53:38 +0300 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FreeBSD SMP on 4.x + usage monitoring thread-index: AcR0qkhOkDcEyiE9RQuY5swsNXPcRA== From: "Radoslav Vasilev" To: Subject: FreeBSD SMP on 4.x + usage monitoring X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2004 13:53:41 -0000 Hi all, Very important to me is are we able to monitor or, at a minum, to be = sure, thread-enabled application is using more than just a single CPU. = For example: 1) I compiled linuxthreads from ports direcotory. 2) I compiled Mysql 4.0.18 Server, with linuxthreads , again from ports = collection 3) SMP enabled kernel What I observe, with ``top -I`` is mysqld using just one CPU, during a = single bulky, SQL query. My questions are: 1) Is top the proper way of cpu usage monitoring 2) are there any other tool for real time monitoring for SMP Thanks in advance.. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.721 / Virus Database: 477 - Release Date: 16.7.2004 =E3. =20 From owner-freebsd-smp@FreeBSD.ORG Wed Jul 28 14:35:32 2004 Return-Path: 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 4B05F16A4CE for ; Wed, 28 Jul 2004 14:35:32 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id D90B243D69 for ; Wed, 28 Jul 2004 14:35:31 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i6SEZVXv069191; Wed, 28 Jul 2004 09:35:31 -0500 (CDT) (envelope-from dan) Date: Wed, 28 Jul 2004 09:35:31 -0500 From: Dan Nelson To: Radoslav Vasilev Message-ID: <20040728143530.GC9972@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: freebsd-smp@freebsd.org Subject: Re: FreeBSD SMP on 4.x + usage monitoring X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2004 14:35:32 -0000 In the last episode (Jul 28), Radoslav Vasilev said: > Very important to me is are we able to monitor or, at a minum, to be sure, > thread-enabled application is using more than just a single CPU. For > example: > > 1) I compiled linuxthreads from ports direcotory. > 2) I compiled Mysql 4.0.18 Server, with linuxthreads , again from ports collection > 3) SMP enabled kernel > > What I observe, with ``top -I`` is mysqld using just one CPU, during a > single bulky, SQL query. That's expected behaviour. MySQL cannot parallelize a single query to balance load across CPUs and get faster I/O the way Oracle does. "ps ax | grep mysql" should still show a couple other idle processes (the LinuxThreads support ones, plus any other client sessions you have open to mysql). > My questions are: > 1) Is top the proper way of cpu usage monitoring > 2) are there any other tool for real time monitoring for SMP "systat -v" is also a good one, which shows you disk throughput and %busy stats along with a bunch of other info. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-smp@FreeBSD.ORG Fri Jul 30 17:17:05 2004 Return-Path: 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 30B6516A4CE for ; Fri, 30 Jul 2004 17:17:05 +0000 (GMT) Received: from mail.revolutionsp.com (ganymede.revolutionsp.com [64.246.0.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 163E643D54 for ; Fri, 30 Jul 2004 17:17:05 +0000 (GMT) (envelope-from klr@6s-gaming.com) Received: from mail.revolutionsp.com (localhost [127.0.0.1]) by mail.revolutionsp.com (Postfix) with ESMTP id A99A515C95 for ; Fri, 30 Jul 2004 14:14:48 +0000 (GMT) Received: from 81.84.175.12 (SquirrelMail authenticated user klr@6s-gaming.com); by mail.revolutionsp.com with HTTP; Fri, 30 Jul 2004 14:14:48 -0000 (GMT) Message-ID: <56566.81.84.175.12.1091196888.squirrel@81.84.175.12> Date: Fri, 30 Jul 2004 14:14:48 -0000 (GMT) From: "Hugo Silva" To: freebsd-smp@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: 5.2.1-p9/SMP panics under high load X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jul 2004 17:17:05 -0000 Hi list, I have a dual xeon 3.0 server w/ SMP enabled which is panicking under high loads. I don't have the panic with me because the datacenter still didn't mail it, but I'm sure it's due to the high loads. I have seen this problem with another user, and he was told to add a kernel option that fixed his problems. I googled a bit and found KVA_PAGES=512, but this only caused my SMP kernel to not boot. Can anyone point me the correct kernel option to make it stop panicking under high load ? Regards, Hugo