HyperThreading and Fedora - 2.4.22-1.2140.nptlsmp

Jon Goldberg jgoldberg at minorplanet.org
Fri Jan 9 20:59:27 UTC 2004


Hi,

Having some issues with Hyperthreading:  It sometimes works and sometimes
doesn't.  What happens is sometimes when I boot I can get both processors
running processes but sometimes CPU01 won't run anything.  Any Ideas?  I'm
using setiathome because it easy to load a CPU.  I have tried the
processes niced or not.  There is no difference.  And I can't seem to get
anything else to run cpu01 either.  Here's my config and what I am seeing:

Top:

 13:28:40  up 1 min,  1 user,  load average: 1.00, 0.40, 0.15
70 processes: 66 sleeping, 4 running, 0 zombie, 0 stopped
CPU states:  cpu    user    nice  system    irq  softirq  iowait    idle
 13:55:26  up 28 min,  1 user,  load average: 2.15, 2.02, 1.65
72 processes: 67 sleeping, 5 running, 0 zombie, 0 stopped
CPU states:  cpu    user    nice  system    irq  softirq  iowait    idle
           total    0.0%   99.0%    0.8%   0.0%     0.0%    0.0%  100.0%
           cpu00    0.0%   99.0%    0.9%   0.0%     0.0%    0.0%    0.0%
           cpu01    0.0%    0.0%    0.0%   0.0%     0.0%    0.0%  100.0%
Mem:   496992k av,  241268k used,  255724k free,       0k shrd,   13876k buff
        58984k active,             165180k inactive
Swap: 2096376k av,       0k used, 2096376k free                   76840k
cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
 5751 root      26   1 13908  13M   276 R N  53.4  2.7  13:25   0 setiathome
 5750 root      26   1 13908  13M   276 R N  45.4  2.7  13:29   0 setiathome
 5811 root      16   0  1092 1092   888 R     0.9  0.2   0:00   0 top
    1 root      16   0   428  428   368 S     0.0  0.0   0:04   0 init
    2 root      RT   0     0    0     0 SW    0.0  0.0   0:00   0 swapper
    3 root      RT   0     0    0     0 SW    0.0  0.0   0:00   1 swapper
    4 root      16   0     0    0     0 SW    0.0  0.0   0:00   0 keventd
    5 root      34  19     0    0     0 SWN   0.0  0.0   0:00   0 ksoftirqd/0
    6 root      39  19     0    0     0 SWN   0.0  0.0   0:00   1 ksoftirqd/1
    8 root      25   0     0    0     0 SW    0.0  0.0   0:00   0 bdflush
    7 root      25   0     0    0     0 SW    0.0  0.0   0:00   0 kswapd
    9 root      15   0     0    0     0 SW    0.0  0.0   0:00   0 kupdated
   10 root      24   0     0    0     0 SW    0.0  0.0   0:00   0 mdrecoveryd
   22 root      25   0     0    0     0 SW    0.0  0.0   0:00   0 scsi_eh_0
   23 root      25   0     0    0     0 SW    0.0  0.0   0:00   0 scsi_eh_1
   27 root      25   0     0    0     0 SW    0.0  0.0   0:00   0 raid1d
   28 root      25   0     0    0     0 SW    0.0  0.0   0:00   0 raid1d
   29 root      25   0     0    0     0 SW    0.0  0.0   0:00   0 raid1d
   30 root      15   0     0    0     0 SW    0.0  0.0   0:00   0 kjournald
   92 root      15   0     0    0     0 SW    0.0  0.0   0:00   0 khubd
 4566 root      15   0     0    0     0 SW    0.0  0.0   0:00   0 kjournald
 4909 root      16   0     0    0     0 SW    0.0  0.0   0:00   0 knodemgrd_0
 5235 root      15   0   572  572   492 S     0.0  0.1   0:00   0 syslogd
 5239 root      15   0   380  380   316 S     0.0  0.0   0:00   0 klogd
 5250 root      16   0   368  368   304 S     0.0  0.0   0:00   0 irqbalance
 5268 rpc       16   0   580  580   504 S     0.0  0.1   0:00   0 portmap
 5284 root      17   0   832  832   700 S     0.0  0.1   0:00   0 apcupsd
 5388 named     18   0  2100 2100  1688 S     0.0  0.4   0:00   0 named
 5403 root      16   0  1424 1424  1296 S     0.0  0.2   0:00   0 sshd
 5415 root      16   0   976  972   844 S     0.0  0.1   0:00   0 xinetd
 5431 ntp       16   0  3808 3808  2204 S     0.0  0.7   0:00   0 ntpd
 5442 root      18   0   476  476   396 S     0.0  0.0   0:00   0 vsftpd
 5462 root      16   0  3172 3168  2216 S     0.0  0.6   0:00   0 sendmail
 5467 smmsp     16   0  2308 2300  1788 S     0.0  0.4   0:00   0 sendmail

Uname:

[root at calvin seti2]# uname -a
Linux calvin.minorplanet.org 2.4.22-1.2140.nptlsmp #1 SMP Tue Jan 6
20:11:24 EST 2004 i686 i686 i386 GNU/Linux


CPUINFO:

[root at calvin seti2]# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 2.60GHz
stepping        : 9
cpu MHz         : 2593.715
cache size      : 512 KB
physical id     : 0
siblings        : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
runqueue        : 0

bogomips        : 5177.34

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 2.60GHz
stepping        : 9
cpu MHz         : 2593.715
cache size      : 512 KB
physical id     : 0
siblings        : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
runqueue        : 0

bogomips        : 5177.34

[root at calvin seti2]#


Any Ideas?

Thanks,

Jon





More information about the fedora-list mailing list