Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2003 01:28:57 +0700
From:      Alex Zablotsky <zas@folksnet.com>
To:        stable@freebsd.org
Subject:   "CPU states"  bug
Message-ID:  <20030414012857.1a4166bc.zas@folksnet.com>

next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,PSE36,MMX,FXSR,SSE>
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: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <ATI model 5046 graphics accelerator> at 0.0 irq 10
isab0: <VIA 82C686 PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0xb800-0xb80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xb400-0xb41f irq 11 at device 4.2 on pc
i0
usb0: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xb000-0xb01f irq 11 at device 4.3 on pci0
usb1: <VIA 83C572 USB controller> 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: <unknown card> (vendor=0x1106, dev=0x3057) at 4.4
pcm0: <Creative EMU10K1> port 0xa800-0xa81f irq 11 at device 6.0 on pci0
pcm0: <SigmaTel STAC9708/9711 ac97 codec>
pcib1: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROMs> at iomem 0xc0000-0xcbfff,0xcc000-0xcffff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
DUMMYNET initialized (011031)
IP packet filtering initialized, divert enabled, rule-based forwarding enabled,
default to deny, unlimited logging
ad0: 57241MB <ST360021A> [116301/16/63] at ata0-master UDMA100
ad1: 58644MB <IC35L060AVER07-0> [119150/16/63] at ata0-slave UDMA100
acd0: CDROM <CD-540E> at ata1-master PIO4
acd1: CD-RW <CD-W540E> at ata1-slave PIO4
Mounting root from ufs:/dev/ad0s1a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030414012857.1a4166bc.zas>