Bug 19347

Summary: top, CPU and SMP-problem in new kernel
Product: Base System Reporter: zrq501j <zrq501j>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description zrq501j 2000-06-17 01:50:01 UTC
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.

Fix: 

None... =(
How-To-Repeat: just cvsup down the latest kernel-source and compile the new kernel.
Comment 1 Mike Barcroft freebsd_committer freebsd_triage 2001-07-22 04:18:57 UTC
State Changed
From-To: open->feedback


Does this problem still occur in newer versions of FreeBSD, 
such as 4.3-RELEASE?
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 2002-01-18 16:14:39 UTC
State Changed
From-To: feedback->closed

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.