lkml.org 
[lkml]   [1997]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [pre-2.1.37-4] load cpu 1.0
Andrea Arcangeli wrote:

> $ cat /proc/loadavg
> 1.74 1.67 1.37 2/48 553
>
> xload remain at 50% and top says that idle is 98%
>
> I think :) is a /proc/loadavg bug.


I'm running it on a single-processor system with SMP enabled, because it
wouldn't compile when I disabled SMP. I'm also seeing load averages
higher than normal. I've been running top from procps-1.01; the CPU
states always look like this:


4:59pm up 10:44, 5 users, load average: 1.08, 1.12, 1.18
26 processes: 23 sleeping, 2 running, 0 zombie, 1 stopped
CPU states: 0.0% user, 0.0% system, 0.0% nice, 100.0% idle
Mem: 63160K av, 59828K used, 3332K free, 10900K shrd, 37236K buff
Swap: 0K av, 0K used, 0K free 12680K cached

PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
1 root 3 0 336 336 264 S 0 0.0 0.5 0:00 init
2 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kflushd
7 root 0 0 8 8 0 S 0 0.0 0.0 0:00 update
32 root 0 0 312 312 244 S 0 0.0 0.4 0:00 kerneld
40 root 0 0 376 376 300 S 0 0.0 0.5 0:00 cron
71 root 0 0 400 400 316 S 0 0.0 0.6 0:00 syslogd
73 root 0 0 352 352 280 S 0 0.0 0.5 0:00 klogd
75 root 0 0 324 324 264 S 0 0.0 0.5 0:00 inetd
89 trevor 10 0 1124 1124 708 S 0 0.0 1.7 0:00 tcsh
93 root 0 0 264 264 216 S 0 0.0 0.4 0:00 mingetty
94 root 0 0 272 272 224 S 0 0.0 0.4 0:00 mingetty
95 root 0 0 268 268 220 S 0 0.0 0.4 0:00 mingetty
96 root 0 0 272 272 224 S 0 0.0 0.4 0:00 mingetty
97 root 0 0 312 312 264 S 0 0.0 0.4 0:00 gpm
644 trevor 0 0 1156 1156 716 S 0 0.0 1.8 0:00 tcsh
5622 trevor 0 0 1124 1124 708 S 0 0.0 1.7 0:00 tcsh
5624 root 0 0 1172 1172 724 S 0 0.0 1.8 0:00 tcsh
5626 trevor 0 0 1096 1096 680 S 0 0.0 1.7 0:00 tcsh
5698 root 0 0 520 520 404 S 0 0.0 0.8 0:00 pppd
5729 root 0 0 504 504 368 S 0 0.0 0.7 0:00 named
5744 trevor 5 0 1276 1276 932 T 0 0.0 2.0 0:00 lynx
5751 trevor 0 0 1324 1324 956 S 0 0.0 2.0 0:00 lynx
5773 trevor 0 0 1596 1596 1152 S 0 0.0 2.5 0:00 pine
5828 root 1 0 444 444 336 R 0 0.0 0.7 0:00 top
5830 root 3 0 276 276 228 S 0 0.0 0.4 0:00 mingetty
5831 trevor 10 0 220 220 172 R 0 0.0 0.3 0:00 bogomips

I tried recompiling top (with H.J. Lu's changes for glibc), but the newly
compiled one dies before displaying anything.

I'm also seeing the problem where processes seem to hang for a long time
even when the system isn't doing very much. It seems worst when starting
a new process. When I run bogomips, it takes a long time and then says
"Calibrating delay loop.. failed." An strace shows it doing

times({tms_utime=0, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 3895484
times({tms_utime=0, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 3895484
write(1, "failed\n", 7failed
) = 7
_exit(-1) = ?

It seemed to behave similarly under 2.1.36 (which only used for a couple
of minutes because of trouble logging in).

processor : 0
cpu : 486
model : Am5x86-WB
vendor_id : AuthenticAMD
stepping : 4
fdiv_bug : no
hlt_bug : no
fpu : yes
fpu_exception : yes
cpuid : yes
wp : yes
flags : fpu
bogomips : 79.67

CONFIG_EXPERIMENTAL=y
CONFIG_MODULES=y
CONFIG_KERNELD=y
CONFIG_NET=y
CONFIG_PCI=y
CONFIG_PCI_OPTIMIZE=y
CONFIG_SYSVIPC=y
CONFIG_SYSCTL=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_JAVA=m
CONFIG_M486=y
CONFIG_VIDEO_SELECT=y
CONFIG_PNP_PARPORT=m
CONFIG_PNP=y
CONFIG_PNP_PARPORT_AUTOPROBE=y
CONFIG_BLK_DEV_FD=m
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_LOOP=m
CONFIG_INET=y
CONFIG_NET_IPIP=m
CONFIG_PATH_MTU_DISCOVERY=y
CONFIG_IP_NOSR=y
CONFIG_SCSI=m
CONFIG_BLK_DEV_SD=m
CONFIG_CHR_DEV_ST=m
CONFIG_BLK_DEV_SR=m
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=m
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_AHA1542=m
CONFIG_NETDEVICES=y
CONFIG_NET_ETHERNET=y
CONFIG_NET_ISA=y
CONFIG_EEXPRESS=m
CONFIG_NE2000=m
CONFIG_PPP=y
CONFIG_EXT2_FS=y
CONFIG_NET_IPIP=m
CONFIG_PATH_MTU_DISCOVERY=y
CONFIG_IP_NOSR=y
CONFIG_SCSI=m
CONFIG_BLK_DEV_SD=m
CONFIG_CHR_DEV_ST=m
CONFIG_BLK_DEV_SR=m
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=m
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_AHA1542=m
CONFIG_NETDEVICES=y
CONFIG_NET_ETHERNET=y
CONFIG_NET_ISA=y
CONFIG_EEXPRESS=m
CONFIG_NE2000=m
CONFIG_PPP=y
CONFIG_EXT2_FS=y
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=y
CONFIG_UMSDOS_FS=m
CONFIG_PROC_FS=y
CONFIG_NFS_FS=m
CONFIG_NFSD=m
CONFIG_SUNRPC=m
CONFIG_LOCKD=m
CONFIG_SMB_FS=m
CONFIG_SMB_WIN95=y
CONFIG_ISO9660_FS=m
CONFIG_AUTOFS_FS=y
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_PRINTER=m
CONFIG_PRINTER_READBACK=y
CONFIG_SOUND=m
CONFIG_LOWLEVEL_SOUND=y
CONFIG_AWE32_SYNTH=y
___
Trevor Johnson <trevor@jpj.net>


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.037 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site