From owner-freebsd-stable@FreeBSD.ORG Mon Apr 14 03:06:09 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E77337B401 for ; Mon, 14 Apr 2003 03:06:09 -0700 (PDT) Received: from mx1.sftb.net (mur.cp.ru [213.183.102.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71D4343F85 for ; Mon, 14 Apr 2003 03:06:04 -0700 (PDT) (envelope-from zas@folksnet.com) Received: from [217.106.34.30] (helo=home.zas.sftb.net) by mail.sftb.net with asmtp (Exim 4.14) id 194mDq-0000c4-67 for stable@freebsd.org; Mon, 14 Apr 2003 01:29:00 +0700 Date: Mon, 14 Apr 2003 01:28:57 +0700 From: Alex Zablotsky To: stable@freebsd.org Message-Id: <20030414012857.1a4166bc.zas@folksnet.com> X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: 1.2 (+) X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *194mDq-0000c4-67*s8lhpeKIrAo* Subject: "CPU states" bug X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2003 10:06:10 -0000 Hi there, That is what is see if I run the top program. As you see all CPU states are equal to zero. Also it looks like the system is a little bit slower as it shoudl be. last pid: 675; load averages: 0.31, 0.17, 0.15 up 0+00:48:41 01:23:20 50 processes: 1 running, 49 sleeping CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 0.0% idle Mem: 183M Active, 51M Inact, 41M Wired, 172K Cache, 48M Buf, 99M Free Swap: 512M Total, 512M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 499 root 2 0 34316K 33304K select 0:37 0.00% 0.00% XFree86 566 zas 2 0 33104K 27736K poll 0:35 0.00% 0.00% kdeinit 584 zas 2 0 30328K 28304K poll 0:19 0.00% 0.00% opera 544 zas 2 0 27016K 23116K poll 0:11 0.00% 0.00% kdeinit 625 zas 2 0 30020K 25828K poll 0:10 0.00% 0.00% licq 562 zas 2 0 27660K 24044K poll 0:07 0.00% 0.00% kdeinit 571 zas 2 0 28168K 24356K poll 0:06 0.00% 0.00% kdeinit 88 root 2 0 916K 520K select 0:06 0.00% 0.00% moused 613 zas 2 0 26852K 23640K poll 0:06 0.00% 0.00% kppp 194 zas 2 0 7036K 5420K poll 0:04 0.00% 0.00% artsd 570 zas 2 0 26832K 23160K poll 0:03 0.00% 0.00% kdeinit 564 zas 2 0 27664K 24236K poll 0:03 0.00% 0.00% kdeinit 672 zas 2 0 27892K 24016K poll 0:01 0.00% 0.00% kdeinit 558 zas 2 0 30344K 25304K poll 0:01 0.00% 0.00% kdeinit 561 zas 2 0 26424K 22408K poll 0:01 0.00% 0.00% kdeinit 658 zas 2 0 9044K 6880K poll 0:00 0.00% 0.00% sylpheed 538 zas 2 0 18008K 13216K poll 0:00 0.00% 0.00% kdeinit 84 root 2 0 2592K 1896K select 0:00 0.00% 0.00% sshd 542 zas 2 0 19388K 14812K poll 0:00 0.00% 0.00% kdeinit 535 zas 2 0 18316K 13552K poll 0:00 0.00% 0.00% kdeinit 93 root 2 0 3024K 2220K select 0:00 0.00% 0.00% sendmail 661 root 2 0 4076K 2828K select 0:00 0.00% 0.00% mc 675 zas 28 0 1976K 1216K RUN 0:00 0.00% 0.00% top 567 zas 2 0 18780K 14220K poll 0:00 0.00% 0.00% kdeinit 142 root 2 0 1972K 1032K select 0:00 0.00% 0.00% kdm 73 root 2 0 948K 664K select 0:00 0.00% 0.00% syslogd 559 zas 10 0 1000K 624K nanslp 0:00 0.00% 0.00% kwrapper 130 root 10 0 1268K 976K wait 0:00 0.00% 0.00% login 573 zas 10 0 1080K 924K wait 0:00 0.00% 0.00% bash 674 zas 10 0 1080K 924K wait 0:00 0.00% 0.00% bash 512 zas 10 0 656K 472K wait 0:00 0.00% 0.00% sh 662 root 3 0 1088K 932K ttyin 0:00 0.00% 0.00% bash 583 zas 10 0 656K 468K wait 0:00 0.00% 0.00% sh bash-2.05b$ uname -a FreeBSD home.zas.sftb.net 4.8-STABLE FreeBSD 4.8-STABLE #0: Sun Apr 13 02:34:06 NOVST 2003 root@home.zas.sftb.net:/usr/obj/usr/src/sys/ZAS i386 bash-2.05b$ Kernel config: machine i386 cpu I686_CPU ident ZAS maxusers 128 options SYSVSHM # include support for shared memory options SHMMAXPGS=1024 # max amount of shared memory pages (4k on i386) options SYSVSEM options SEMMNI=256 options SEMMNS=512 options SEMMNU=256 options SEMMAP=256 options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options UFS_DIRHASH #Improve performance on big directories options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options NFS #Network Filesystem options NFS_ROOT #NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM #Rate limit bad replies options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. device isa device pci device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device fd1 at fdc0 drive 1 device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives options ATA_STATIC_ID #Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0 at atkbdc? irq 12 device vga0 at isa? # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 device sio2 at isa? disable port IO_COM3 irq 5 device sio3 at isa? disable port IO_COM4 irq 9 device miibus # MII bus support device rl # RealTek 8129/8139 # Pseudo devices - the number indicates how many units to allocate. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device tun pseudo-device ppp 1 pseudo-device bpf #Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) device ugen # Generic device ums # Mouse device pcm options IPFIREWALL #firewall options IPFIREWALL_VERBOSE #enable logging to syslogd(8) options IPFIREWALL_FORWARD #enable transparent proxy support options IPDIVERT #divert sockets options DUMMYNET options HZ=1000 device snp dmesg output: Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.8-STABLE #0: Sun Apr 13 02:34:06 NOVST 2003 root@home.zas.sftb.net:/usr/obj/usr/src/sys/ZAS Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1102509960 Hz CPU: Intel Celeron (1102.51-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383f9ff real memory = 402571264 (393136K bytes) avail memory = 387874816 (378784K bytes) Preloaded elf kernel "kernel" at 0xc03a0000. Pentium Pro MTRR support enabled Using $PIR table, 9 entries at 0xc00f12d0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: at 0.0 irq 10 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0xb800-0xb80f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xb400-0xb41f irq 11 at device 4.2 on pc i0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ums0: Logitech USB Mouse, rev 1.10/6.20, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. uhci1: port 0xb000-0xb01f irq 11 at device 4.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: (vendor=0x1106, dev=0x3057) at 4.4 pcm0: port 0xa800-0xa81f irq 11 at device 6.0 on pci0 pcm0: pcib1: on motherboard pci2: on pcib1 orm0: