From owner-freebsd-stable Sun Aug 20 16:18:44 2000 Delivered-To: freebsd-stable@freebsd.org Received: from accord.grasslake.net (accord.grasslake.net [206.11.249.240]) by hub.freebsd.org (Postfix) with ESMTP id 5ABA937B422 for ; Sun, 20 Aug 2000 16:18:42 -0700 (PDT) Received: from k6 (k6.grasslake.net [192.168.2.1]) by accord.grasslake.net (8.9.3/8.9.3) with SMTP id SAA34436 for ; Sun, 20 Aug 2000 18:19:54 -0500 (CDT) (envelope-from swb@grasslake.net) Message-ID: <051e01c00afd$4d0e99a0$0102a8c0@k6> From: "Shawn Barnhart" To: Subject: SMP and system loads Date: Sun, 20 Aug 2000 18:21:00 -0500 Organization: Grasslake.Net 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 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Do I need to do anything more than: # Required: options SMP options APIC_IO ...to get SMP working? I just stuffed the drives from a 4.1 system that had been running on a PII233 system with 96MB of RAM into a system with dual PII400s & 256MB RAM. I rebuilt my kernel with the above options in my config file. The previous system had been averaging about 45% CPU utilization, most of it coming from mrtg monitoring a longish list of devices. After running most of the day on the SMP-enabled kernel, the load average doesn't seem to have changed any. Now I realize that mrtg is mostly a perl script and isn't multithreaded, but given the fact that I'm running two CPUs, shouldn't the overall load average be no more than half of what it was? I'm doing same units of work but have twice as much CPU available for doing them. I get output when I run mptable and when I run top I can see active processes get scheduled on different CPUs, and dmesg reports SMP: AP CPU #1 Launched! ...so I'm fairly certain I'm actually running SMP.. What kind of clue am I missing? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message