From nobody@FreeBSD.ORG  Fri Jun 16 17:46:55 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 9B70D37C125; Fri, 16 Jun 2000 17:46:55 -0700 (PDT)
Message-Id: <20000617004655.9B70D37C125@hub.freebsd.org>
Date: Fri, 16 Jun 2000 17:46:55 -0700 (PDT)
From: zrq501j@tninet.se
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: top, CPU and SMP-problem in new kernel
X-Send-Pr-Version: www-1.0

>Number:         19347
>Category:       kern
>Synopsis:       top, CPU and SMP-problem in new kernel
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 16 17:50:01 PDT 2000
>Closed-Date:    Fri Jan 18 08:14:39 PST 2002
>Last-Modified:  Fri Jan 18 08:15:44 PST 2002
>Originator:     Johan Andersson
>Release:        4.0
>Organization:
None
>Environment:
FreeBSD oden.valhall 4.0-STABLE FreeBSD 4.0-STABLE #30: Mon Jun 12 14:09:58 CEST 2000     root@oden.valhall:/usr/src/sys/compile/JOHANS_KERNEL  i386
>Description:
I upgraded the kernel-source using cvsup and the /usr/share/example/cvsup/4.x-stable-supfile
Then i compiled the new kernel... it took over 20 re-writings of the config-file I wrote until it wanted to boot.
After that I could not use `top`, so recompiled the kvm-libs, and then the top-program almost works (it bugs showing wish program that have what pid).
But, my computer was WAY slower now then it was before the new kernel, so i think that FreeBSD dont use both my cpu's. I got an AbitBP6-moderboard with 2 celeron 366mhz (unclocked) on.
Before i could compile things and use programs at the same time without any problems, now the programs is VERY slow when i do more then one thing at the same time.

The kernel find the 2 cpu's in the boot, but i dont think it uses both the cpu's when the system is running.
Here is an output from dmesg|grep -i cpu:
CPU: Pentium II/Pentium II Xeon/Celeron (367.50-MHz 686-class CPU)
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
SMP: AP CPU #1 Launched!

How can i fix so the system is as fast as it was with the original-source when i compiled it for smp, and how do i fix top (and ps)? Why do top and ps bug?

I am NOT good at english, and i realy hope you can understand me anyway, if not, please email me and ask becouse i realy want to fix this problems.
I can send you my config-file i use when i compile the kernel if you want it.
>How-To-Repeat:
just cvsup down the latest kernel-source and compile the new kernel.
>Fix:
None... =(

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: mike 
State-Changed-When: Sat Jul 21 20:18:57 PDT 2001 
State-Changed-Why:  

Does this problem still occur in newer versions of FreeBSD, 
such as 4.3-RELEASE? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=19347 
State-Changed-From-To: feedback->closed 
State-Changed-By: sheldonh 
State-Changed-When: Fri Jan 18 08:14:39 PST 2002 
State-Changed-Why:  
Automatic feedback timeout.  If additional feedback that warrants 
the re-opening of this PR is available but not included in the 
audit trail, please include the feedback in a reply to this message 
(preserving the Subject line) and ask that the PR be re-opened. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19347 
>Unformatted:
