From owner-freebsd-bugs Fri Jun 16 17:50: 8 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id CA50237C15F for ; Fri, 16 Jun 2000 17:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA64528; Fri, 16 Jun 2000 17:50:01 -0700 (PDT) (envelope-from gnats@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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/19347: top, CPU and SMP-problem in new kernel Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19347 >Category: kern >Synopsis: top, CPU and SMP-problem in new kernel >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 16 17:50:01 PDT 2000 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message