kern/163587: [sched_ule] The ULE scheduler does not load in the fourth core processor i3

Vladislav V. Prodan universite at ukr.net
Mon Dec 26 08:42:32 UTC 2011


26.12.2011 1:09, Gary Palmer wrote:
> On Sun, Dec 25, 2011 at 11:41:53PM +0200, Vladislav V. Prodan wrote:
>> 25.12.2011 23:20, eadler at FreeBSD.org ??????????:
>>> Synopsis: [sched_ule] The ULE scheduler does not load in the fourth core processor i3
>>>
>>> State-Changed-From-To: open->closed
>>> State-Changed-By: eadler
>>> State-Changed-When: Sun Dec 25 21:20:24 UTC 2011
>>> State-Changed-Why: 
>>> Computers count from 0 :)
>>
>> That's right.
>> cpu3 fourth.
>> And the chart cpu3 NOT loaded.
> 
> If you run 'top' do you see 3 in the 'C' column which shows processes
> on a particular CPU?  Check with 'top -S' which will allow you to see the
> kernel idle threads to make sure that you can see processes on CPU 4.
> Also please check the output of 
> 

Now load (LA) of less than 6%

last pid: 10807;  load averages:  0.06,  0.07,  0.02
            up 2+13:00:52  12:41:30
57 processes:  2 running, 54 sleeping, 1 waiting
CPU 0:  0.0% user,  0.0% nice,  0.0% system,  4.1% interrupt, 95.9% idle
CPU 1:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
CPU 2:  0.0% user,  0.0% nice,  1.0% system,  0.0% interrupt, 99.0% idle
CPU 3:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
Mem: 73M Active, 1076M Inact, 6345M Wired, 118M Cache, 237M Free
Swap: 8192M Total, 448K Used, 8191M Free

  PID USERNAME  THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
   11 root        4 155 ki31     0K    64K CPU3    3 240.1H 392.38% idle
   12 root       15 -72    -     0K   240K WAIT    0 146:58  3.08% intr
 1484 www         1  21    0 47556K 29460K kqread  2  74:00  1.07% nginx
    0 root      178  -8    0     0K  2848K -       3   9:08  0.00% kernel
   15 root        1 -16    -     0K    16K -       0   4:22  0.00% yarrow
   19 root        1  16    -     0K    16K syncer  2   1:42  0.00% syncer
 1760 root        1  20    0 55884K 12304K select  2   0:31  0.00% bsnmpd
    2 root        4  -8    -     0K    80K tx->tx  1   0:30  0.00% zfskern
   14 root        3  -8    -     0K    48K -       2   0:21  0.00% geom
   16 root        8 -68    -     0K   128K -       2   0:09  0.00% usb
   23 root        1 -16    -     0K    16K -       2   0:07  0.00% racctd
 1437 root        1  20    0 22320K  2144K select  2   0:06  0.00% ntpd
    8 root        1 -16    -     0K    16K psleep  2   0:05  0.00% vmdaemon
 1548 root        1  20    0 20372K  3360K select  2   0:02  0.00% sendmail
 3691 root        1  20    0 67996K  4324K select  3   0:01  0.00% sshd
   21 root        1 -16    -     0K    16K sdflus  2   0:01  0.00%
softdepflush
 1741 root        1  20    0 12172K  1396K select  2   0:01  0.00% syslogd
   20 root        1 -16    -     0K    16K vlruwt  1   0:01  0.00% vnlru


> sysctl -a | grep cpu

# sysctl -a | grep cpu
cpu     HAMMER
device  cpufreq
device  cpuctl
kern.ccpu: 0
kern.sched.cpusetsize: 8
  <cpu count="4" mask="f">0, 1, 2, 3</cpu>
    <cpu count="4" mask="f">0, 1, 2, 3</cpu>
      <cpu count="2" mask="3">0, 1</cpu>
      <cpu count="2" mask="c">2, 3</cpu>
kern.smp.cpus: 4
kern.smp.maxcpus: 64
net.inet.tcp.per_cpu_timers: 0
debug.cpufreq.verbose: 0
debug.cpufreq.lowest: 0
hw.ncpu: 4
hw.acpi.cpu.cx_lowest: C1
security.jail.param.cpuset.id: 0
dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.P000
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0
dev.cpu.0.coretemp.delta: 62
dev.cpu.0.coretemp.resolution: 1
dev.cpu.0.coretemp.tjmax: 102,0C
dev.cpu.0.coretemp.throttle_log: 0
dev.cpu.0.temperature: 40,0C
dev.cpu.0.freq: 3100
dev.cpu.0.freq_levels: 3100/255000 3000/244000 2900/233000 2800/223000
2700/213000 2600/202000 2500/193000 2400/183000 2300/173000 2200/164000
2100/155000 2000/146000 1900/137000 1800/128000 1700/120000 1600/112000
1400/98000 1200/84000 1000/70000 800/56000 600/42000 400/28000 200/14000
dev.cpu.0.cx_supported: C1/1 C2/80 C3/104
dev.cpu.0.cx_lowest: C1
dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% last 288us
dev.cpu.1.%desc: ACPI CPU
dev.cpu.1.%driver: cpu
dev.cpu.1.%location: handle=\_PR_.P001
dev.cpu.1.%pnpinfo: _HID=none _UID=0
dev.cpu.1.%parent: acpi0
dev.cpu.1.coretemp.delta: 62
dev.cpu.1.coretemp.resolution: 1
dev.cpu.1.coretemp.tjmax: 102,0C
dev.cpu.1.coretemp.throttle_log: 0
dev.cpu.1.temperature: 40,0C
dev.cpu.1.cx_supported: C1/1 C2/80 C3/104
dev.cpu.1.cx_lowest: C1
dev.cpu.1.cx_usage: 100.00% 0.00% 0.00% last 166us
dev.cpu.2.%desc: ACPI CPU
dev.cpu.2.%driver: cpu
dev.cpu.2.%location: handle=\_PR_.P002
dev.cpu.2.%pnpinfo: _HID=none _UID=0
dev.cpu.2.%parent: acpi0
dev.cpu.2.coretemp.delta: 59
dev.cpu.2.coretemp.resolution: 1
dev.cpu.2.coretemp.tjmax: 102,0C
dev.cpu.2.coretemp.throttle_log: 0
dev.cpu.2.temperature: 43,0C
dev.cpu.2.cx_supported: C1/1 C2/80 C3/104
dev.cpu.2.cx_lowest: C1
dev.cpu.2.cx_usage: 100.00% 0.00% 0.00% last 43us
dev.cpu.3.%desc: ACPI CPU
dev.cpu.3.%driver: cpu
dev.cpu.3.%location: handle=\_PR_.P003
dev.cpu.3.%pnpinfo: _HID=none _UID=0
dev.cpu.3.%parent: acpi0
dev.cpu.3.coretemp.delta: 59
dev.cpu.3.coretemp.resolution: 1
dev.cpu.3.coretemp.tjmax: 102,0C
dev.cpu.3.coretemp.throttle_log: 0
dev.cpu.3.temperature: 44,0C
dev.cpu.3.cx_supported: C1/1 C2/80 C3/104
dev.cpu.3.cx_lowest: C1
dev.cpu.3.cx_usage: 100.00% 0.00% 0.00% last 26us
dev.acpi_perf.0.%parent: cpu0
dev.acpi_perf.1.%parent: cpu1
dev.acpi_perf.2.%parent: cpu2
dev.acpi_perf.3.%parent: cpu3
dev.coretemp.0.%parent: cpu0
dev.coretemp.1.%parent: cpu1
dev.coretemp.2.%parent: cpu2
dev.coretemp.3.%parent: cpu3
dev.est.0.%parent: cpu0
dev.est.1.%parent: cpu1
dev.est.2.%parent: cpu2
dev.est.3.%parent: cpu3
dev.cpufreq.0.%driver: cpufreq
dev.cpufreq.0.%parent: cpu0
dev.cpufreq.1.%driver: cpufreq
dev.cpufreq.1.%parent: cpu1
dev.cpufreq.2.%driver: cpufreq
dev.cpufreq.2.%parent: cpu2
dev.cpufreq.3.%driver: cpufreq
dev.cpufreq.3.%parent: cpu3
dev.p4tcc.0.%parent: cpu0
dev.p4tcc.1.%parent: cpu1
dev.p4tcc.2.%parent: cpu2
dev.p4tcc.3.%parent: cpu3


> 
> Do you know how the program that drew the graphs gets its data?
I use bsnmpd + cacti

-- 
Vladislav V. Prodan
System & Network Administrator
http://support.od.ua
+380 67 4584408, +380 99 4060508
VVP88-RIPE


More information about the freebsd-bugs mailing list