> On 22 ????? 2015 ?., at 17:11, Ian Smith <smithi at nimnet.asn.au> wrote: > > Dmitry Sivachenko wrote: >>> On 22 ????? 2015 ?., at 8:53, Peter Jeremy <peter at rulingia.com> wrote: >>> On 2015-Mar-22 00:58:55 +0300, Dmitry Sivachenko <trtrmitya at gmail.com> wrote: >>>> I have a machine with the following processor: >>>> CPU: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (2400.14-MHz >>>> K8-class CPU) Origin="GenuineIntel" Id=0x206c2 Family=0x6 Model=0x2c Stepping=2 >>> ... >>>> After I upgraded to 10.1-STABLE #0 r279956, this sysctl disapeared. % sysctl dev.cpu.0.freq sysctl: unknown oid 'dev.cpu.0.freq': No such file or directory % > >>> What OIDs do you have? Does dev.cpu.0 exist? How about dev.cpu? >> dev.cpu.0 does exist. > > It could be helpful to show all of: > > % sysctl dev.cpu > % sysctl dev.est # if you have that? > % sysctl -a | grep freq | grep -v time > > both before and after re-enabling p4tcc.Hello, With #hint.p4tcc.0.disabled="1" commented out: % sysctl dev.cpu dev.cpu.%parent: dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.P001 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.coretemp.delta: 67 dev.cpu.0.coretemp.resolution: 1 dev.cpu.0.coretemp.tjmax: 95.0C dev.cpu.0.coretemp.throttle_log: 0 dev.cpu.0.temperature: 28.0C dev.cpu.0.freq: 2400 dev.cpu.0.freq_levels: 2400/-1 2100/-1 1800/-1 1500/-1 1200/-1 900/-1 600/-1 300/-1 dev.cpu.0.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% last 261us dev.cpu.1.%desc: ACPI CPU dev.cpu.1.%driver: cpu dev.cpu.1.%location: handle=\_PR_.P002 dev.cpu.1.%pnpinfo: _HID=none _UID=0 dev.cpu.1.%parent: acpi0 dev.cpu.1.coretemp.delta: 67 dev.cpu.1.coretemp.resolution: 1 dev.cpu.1.coretemp.tjmax: 95.0C dev.cpu.1.coretemp.throttle_log: 0 dev.cpu.1.temperature: 28.0C dev.cpu.1.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.1.cx_lowest: C1 dev.cpu.1.cx_usage: 100.00% 0.00% 0.00% last 71201us dev.cpu.2.%desc: ACPI CPU dev.cpu.2.%driver: cpu dev.cpu.2.%location: handle=\_PR_.P003 dev.cpu.2.%pnpinfo: _HID=none _UID=0 dev.cpu.2.%parent: acpi0 dev.cpu.2.coretemp.delta: 62 dev.cpu.2.coretemp.resolution: 1 dev.cpu.2.coretemp.tjmax: 95.0C dev.cpu.2.coretemp.throttle_log: 0 dev.cpu.2.temperature: 33.0C dev.cpu.2.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.2.cx_lowest: C1 dev.cpu.2.cx_usage: 100.00% 0.00% 0.00% last 124614us dev.cpu.3.%desc: ACPI CPU dev.cpu.3.%driver: cpu dev.cpu.3.%location: handle=\_PR_.P004 dev.cpu.3.%pnpinfo: _HID=none _UID=0 dev.cpu.3.%parent: acpi0 dev.cpu.3.coretemp.delta: 62 dev.cpu.3.coretemp.resolution: 1 dev.cpu.3.coretemp.tjmax: 95.0C dev.cpu.3.coretemp.throttle_log: 0 dev.cpu.3.temperature: 33.0C dev.cpu.3.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.3.cx_lowest: C1 dev.cpu.3.cx_usage: 100.00% 0.00% 0.00% last 101864us dev.cpu.4.%desc: ACPI CPU dev.cpu.4.%driver: cpu dev.cpu.4.%location: handle=\_PR_.P005 dev.cpu.4.%pnpinfo: _HID=none _UID=0 dev.cpu.4.%parent: acpi0 dev.cpu.4.coretemp.delta: 62 dev.cpu.4.coretemp.resolution: 1 dev.cpu.4.coretemp.tjmax: 95.0C dev.cpu.4.coretemp.throttle_log: 0 dev.cpu.4.temperature: 33.0C dev.cpu.4.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.4.cx_lowest: C1 dev.cpu.4.cx_usage: 100.00% 0.00% 0.00% last 127376us dev.cpu.5.%desc: ACPI CPU dev.cpu.5.%driver: cpu dev.cpu.5.%location: handle=\_PR_.P006 dev.cpu.5.%pnpinfo: _HID=none _UID=0 dev.cpu.5.%parent: acpi0 dev.cpu.5.coretemp.delta: 62 dev.cpu.5.coretemp.resolution: 1 dev.cpu.5.coretemp.tjmax: 95.0C dev.cpu.5.coretemp.throttle_log: 0 dev.cpu.5.temperature: 33.0C dev.cpu.5.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.5.cx_lowest: C1 dev.cpu.5.cx_usage: 100.00% 0.00% 0.00% last 107493us dev.cpu.6.%desc: ACPI CPU dev.cpu.6.%driver: cpu dev.cpu.6.%location: handle=\_PR_.P007 dev.cpu.6.%pnpinfo: _HID=none _UID=0 dev.cpu.6.%parent: acpi0 dev.cpu.6.coretemp.delta: 63 dev.cpu.6.coretemp.resolution: 1 dev.cpu.6.coretemp.tjmax: 95.0C dev.cpu.6.coretemp.throttle_log: 0 dev.cpu.6.temperature: 32.0C dev.cpu.6.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.6.cx_lowest: C1 dev.cpu.6.cx_usage: 100.00% 0.00% 0.00% last 155573us dev.cpu.7.%desc: ACPI CPU dev.cpu.7.%driver: cpu dev.cpu.7.%location: handle=\_PR_.P008 dev.cpu.7.%pnpinfo: _HID=none _UID=0 dev.cpu.7.%parent: acpi0 dev.cpu.7.coretemp.delta: 63 dev.cpu.7.coretemp.resolution: 1 dev.cpu.7.coretemp.tjmax: 95.0C dev.cpu.7.coretemp.throttle_log: 0 dev.cpu.7.temperature: 32.0C dev.cpu.7.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.7.cx_lowest: C1 dev.cpu.7.cx_usage: 100.00% 0.00% 0.00% last 32278us dev.cpu.8.%desc: ACPI CPU dev.cpu.8.%driver: cpu dev.cpu.8.%location: handle=\_PR_.P009 dev.cpu.8.%pnpinfo: _HID=none _UID=0 dev.cpu.8.%parent: acpi0 dev.cpu.8.coretemp.delta: 72 dev.cpu.8.coretemp.resolution: 1 dev.cpu.8.coretemp.tjmax: 95.0C dev.cpu.8.coretemp.throttle_log: 0 dev.cpu.8.temperature: 23.0C dev.cpu.8.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.8.cx_lowest: C1 dev.cpu.8.cx_usage: 100.00% 0.00% 0.00% last 163115us dev.cpu.9.%desc: ACPI CPU dev.cpu.9.%driver: cpu dev.cpu.9.%location: handle=\_PR_.P010 dev.cpu.9.%pnpinfo: _HID=none _UID=0 dev.cpu.9.%parent: acpi0 dev.cpu.9.coretemp.delta: 72 dev.cpu.9.coretemp.resolution: 1 dev.cpu.9.coretemp.tjmax: 95.0C dev.cpu.9.coretemp.throttle_log: 0 dev.cpu.9.temperature: 23.0C dev.cpu.9.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.9.cx_lowest: C1 dev.cpu.9.cx_usage: 100.00% 0.00% 0.00% last 168834us dev.cpu.10.%desc: ACPI CPU dev.cpu.10.%driver: cpu dev.cpu.10.%location: handle=\_PR_.P011 dev.cpu.10.%pnpinfo: _HID=none _UID=0 dev.cpu.10.%parent: acpi0 dev.cpu.10.coretemp.delta: 64 dev.cpu.10.coretemp.resolution: 1 dev.cpu.10.coretemp.tjmax: 95.0C dev.cpu.10.coretemp.throttle_log: 0 dev.cpu.10.temperature: 31.0C dev.cpu.10.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.10.cx_lowest: C1 dev.cpu.10.cx_usage: 100.00% 0.00% 0.00% last 141245us dev.cpu.11.%desc: ACPI CPU dev.cpu.11.%driver: cpu dev.cpu.11.%location: handle=\_PR_.P012 dev.cpu.11.%pnpinfo: _HID=none _UID=0 dev.cpu.11.%parent: acpi0 dev.cpu.11.coretemp.delta: 64 dev.cpu.11.coretemp.resolution: 1 dev.cpu.11.coretemp.tjmax: 95.0C dev.cpu.11.coretemp.throttle_log: 0 dev.cpu.11.temperature: 31.0C dev.cpu.11.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.11.cx_lowest: C1 dev.cpu.11.cx_usage: 100.00% 0.00% 0.00% last 133706us dev.cpu.12.%desc: ACPI CPU dev.cpu.12.%driver: cpu dev.cpu.12.%location: handle=\_PR_.P013 dev.cpu.12.%pnpinfo: _HID=none _UID=0 dev.cpu.12.%parent: acpi0 dev.cpu.12.coretemp.delta: 69 dev.cpu.12.coretemp.resolution: 1 dev.cpu.12.coretemp.tjmax: 95.0C dev.cpu.12.coretemp.throttle_log: 0 dev.cpu.12.temperature: 25.0C dev.cpu.12.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.12.cx_lowest: C1 dev.cpu.12.cx_usage: 100.00% 0.00% 0.00% last 112608us dev.cpu.13.%desc: ACPI CPU dev.cpu.13.%driver: cpu dev.cpu.13.%location: handle=\_PR_.P014 dev.cpu.13.%pnpinfo: _HID=none _UID=0 dev.cpu.13.%parent: acpi0 dev.cpu.13.coretemp.delta: 70 dev.cpu.13.coretemp.resolution: 1 dev.cpu.13.coretemp.tjmax: 95.0C dev.cpu.13.coretemp.throttle_log: 0 dev.cpu.13.temperature: 25.0C dev.cpu.13.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.13.cx_lowest: C1 dev.cpu.13.cx_usage: 100.00% 0.00% 0.00% last 58467us dev.cpu.14.%desc: ACPI CPU dev.cpu.14.%driver: cpu dev.cpu.14.%location: handle=\_PR_.P015 dev.cpu.14.%pnpinfo: _HID=none _UID=0 dev.cpu.14.%parent: acpi0 dev.cpu.14.coretemp.delta: 67 dev.cpu.14.coretemp.resolution: 1 dev.cpu.14.coretemp.tjmax: 95.0C dev.cpu.14.coretemp.throttle_log: 0 dev.cpu.14.temperature: 28.0C dev.cpu.14.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.14.cx_lowest: C1 dev.cpu.14.cx_usage: 100.00% 0.00% 0.00% last 41275us dev.cpu.15.%desc: ACPI CPU dev.cpu.15.%driver: cpu dev.cpu.15.%location: handle=\_PR_.P016 dev.cpu.15.%pnpinfo: _HID=none _UID=0 dev.cpu.15.%parent: acpi0 dev.cpu.15.coretemp.delta: 67 dev.cpu.15.coretemp.resolution: 1 dev.cpu.15.coretemp.tjmax: 95.0C dev.cpu.15.coretemp.throttle_log: 0 dev.cpu.15.temperature: 28.0C dev.cpu.15.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.15.cx_lowest: C1 dev.cpu.15.cx_usage: 100.00% 0.00% 0.00% last 249us % sysctl dev.est dev.est.%parent: % sysctl -a | grep freq | grep -v time kern.acct_chkfreq: 15 device cpufreq net.inet.sctp.sack_freq: 2 debug.cpufreq.lowest: 0 debug.cpufreq.verbose: 0 machdep.i8254_freq: 1193182 machdep.tsc_freq: 2400132656 dev.cpu.0.freq: 2400 dev.cpu.0.freq_levels: 2400/-1 2100/-1 1800/-1 1500/-1 1200/-1 900/-1 600/-1 300/-1 dev.p4tcc.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 dev.p4tcc.1.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 dev.p4tcc.2.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 dev.p4tcc.3.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 dev.p4tcc.4.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 dev.p4tcc.5.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 dev.p4tcc.6.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 dev.p4tcc.7.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 dev.p4tcc.8.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 dev.p4tcc.9.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 dev.p4tcc.10.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 dev.p4tcc.11.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 dev.p4tcc.12.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 dev.p4tcc.13.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 dev.p4tcc.14.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 dev.p4tcc.15.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 dev.cpufreq.%parent: dev.cpufreq.0.%desc: dev.cpufreq.0.%driver: cpufreq dev.cpufreq.0.%location: dev.cpufreq.0.%pnpinfo: dev.cpufreq.0.%parent: cpu0 dev.cpufreq.1.%desc: dev.cpufreq.1.%driver: cpufreq dev.cpufreq.1.%location: dev.cpufreq.1.%pnpinfo: dev.cpufreq.1.%parent: cpu1 dev.cpufreq.2.%desc: dev.cpufreq.2.%driver: cpufreq dev.cpufreq.2.%location: dev.cpufreq.2.%pnpinfo: dev.cpufreq.2.%parent: cpu2 dev.cpufreq.3.%desc: dev.cpufreq.3.%driver: cpufreq dev.cpufreq.3.%location: dev.cpufreq.3.%pnpinfo: dev.cpufreq.3.%parent: cpu3 dev.cpufreq.4.%desc: dev.cpufreq.4.%driver: cpufreq dev.cpufreq.4.%location: dev.cpufreq.4.%pnpinfo: dev.cpufreq.4.%parent: cpu4 dev.cpufreq.5.%desc: dev.cpufreq.5.%driver: cpufreq dev.cpufreq.5.%location: dev.cpufreq.5.%pnpinfo: dev.cpufreq.5.%parent: cpu5 dev.cpufreq.6.%desc: dev.cpufreq.6.%driver: cpufreq dev.cpufreq.6.%location: dev.cpufreq.6.%pnpinfo: dev.cpufreq.6.%parent: cpu6 dev.cpufreq.7.%desc: dev.cpufreq.7.%driver: cpufreq dev.cpufreq.7.%location: dev.cpufreq.7.%pnpinfo: dev.cpufreq.7.%parent: cpu7 dev.cpufreq.8.%desc: dev.cpufreq.8.%driver: cpufreq dev.cpufreq.8.%location: dev.cpufreq.8.%pnpinfo: dev.cpufreq.8.%parent: cpu8 dev.cpufreq.9.%desc: dev.cpufreq.9.%driver: cpufreq dev.cpufreq.9.%location: dev.cpufreq.9.%pnpinfo: dev.cpufreq.9.%parent: cpu9 dev.cpufreq.10.%desc: dev.cpufreq.10.%driver: cpufreq dev.cpufreq.10.%location: dev.cpufreq.10.%pnpinfo: dev.cpufreq.10.%parent: cpu10 dev.cpufreq.11.%desc: dev.cpufreq.11.%driver: cpufreq dev.cpufreq.11.%location: dev.cpufreq.11.%pnpinfo: dev.cpufreq.11.%parent: cpu11 dev.cpufreq.12.%desc: dev.cpufreq.12.%driver: cpufreq dev.cpufreq.12.%location: dev.cpufreq.12.%pnpinfo: dev.cpufreq.12.%parent: cpu12 dev.cpufreq.13.%desc: dev.cpufreq.13.%driver: cpufreq dev.cpufreq.13.%location: dev.cpufreq.13.%pnpinfo: dev.cpufreq.13.%parent: cpu13 dev.cpufreq.14.%desc: dev.cpufreq.14.%driver: cpufreq dev.cpufreq.14.%location: dev.cpufreq.14.%pnpinfo: dev.cpufreq.14.%parent: cpu14 dev.cpufreq.15.%desc: dev.cpufreq.15.%driver: cpufreq dev.cpufreq.15.%location: dev.cpufreq.15.%pnpinfo: dev.cpufreq.15.%parent: cpu15 With hint.p4tcc.0.disabled="1" active (default in 10=STABLE now): % sysctl dev.cpu dev.cpu.%parent: dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.P001 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.coretemp.delta: 66 dev.cpu.0.coretemp.resolution: 1 dev.cpu.0.coretemp.tjmax: 95.0C dev.cpu.0.coretemp.throttle_log: 0 dev.cpu.0.temperature: 29.0C dev.cpu.0.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% last 428us dev.cpu.1.%desc: ACPI CPU dev.cpu.1.%driver: cpu dev.cpu.1.%location: handle=\_PR_.P002 dev.cpu.1.%pnpinfo: _HID=none _UID=0 dev.cpu.1.%parent: acpi0 dev.cpu.1.coretemp.delta: 66 dev.cpu.1.coretemp.resolution: 1 dev.cpu.1.coretemp.tjmax: 95.0C dev.cpu.1.coretemp.throttle_log: 0 dev.cpu.1.temperature: 29.0C dev.cpu.1.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.1.cx_lowest: C1 dev.cpu.1.cx_usage: 100.00% 0.00% 0.00% last 223406us dev.cpu.2.%desc: ACPI CPU dev.cpu.2.%driver: cpu dev.cpu.2.%location: handle=\_PR_.P003 dev.cpu.2.%pnpinfo: _HID=none _UID=0 dev.cpu.2.%parent: acpi0 dev.cpu.2.coretemp.delta: 63 dev.cpu.2.coretemp.resolution: 1 dev.cpu.2.coretemp.tjmax: 95.0C dev.cpu.2.coretemp.throttle_log: 0 dev.cpu.2.temperature: 32.0C dev.cpu.2.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.2.cx_lowest: C1 dev.cpu.2.cx_usage: 100.00% 0.00% 0.00% last 179299us dev.cpu.3.%desc: ACPI CPU dev.cpu.3.%driver: cpu dev.cpu.3.%location: handle=\_PR_.P004 dev.cpu.3.%pnpinfo: _HID=none _UID=0 dev.cpu.3.%parent: acpi0 dev.cpu.3.coretemp.delta: 63 dev.cpu.3.coretemp.resolution: 1 dev.cpu.3.coretemp.tjmax: 95.0C dev.cpu.3.coretemp.throttle_log: 0 dev.cpu.3.temperature: 33.0C dev.cpu.3.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.3.cx_lowest: C1 dev.cpu.3.cx_usage: 100.00% 0.00% 0.00% last 108280us dev.cpu.4.%desc: ACPI CPU dev.cpu.4.%driver: cpu dev.cpu.4.%location: handle=\_PR_.P005 dev.cpu.4.%pnpinfo: _HID=none _UID=0 dev.cpu.4.%parent: acpi0 dev.cpu.4.coretemp.delta: 62 dev.cpu.4.coretemp.resolution: 1 dev.cpu.4.coretemp.tjmax: 95.0C dev.cpu.4.coretemp.throttle_log: 0 dev.cpu.4.temperature: 33.0C dev.cpu.4.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.4.cx_lowest: C1 dev.cpu.4.cx_usage: 100.00% 0.00% 0.00% last 120264us dev.cpu.5.%desc: ACPI CPU dev.cpu.5.%driver: cpu dev.cpu.5.%location: handle=\_PR_.P006 dev.cpu.5.%pnpinfo: _HID=none _UID=0 dev.cpu.5.%parent: acpi0 dev.cpu.5.coretemp.delta: 62 dev.cpu.5.coretemp.resolution: 1 dev.cpu.5.coretemp.tjmax: 95.0C dev.cpu.5.coretemp.throttle_log: 0 dev.cpu.5.temperature: 33.0C dev.cpu.5.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.5.cx_lowest: C1 dev.cpu.5.cx_usage: 100.00% 0.00% 0.00% last 53853us dev.cpu.6.%desc: ACPI CPU dev.cpu.6.%driver: cpu dev.cpu.6.%location: handle=\_PR_.P007 dev.cpu.6.%pnpinfo: _HID=none _UID=0 dev.cpu.6.%parent: acpi0 dev.cpu.6.coretemp.delta: 64 dev.cpu.6.coretemp.resolution: 1 dev.cpu.6.coretemp.tjmax: 95.0C dev.cpu.6.coretemp.throttle_log: 0 dev.cpu.6.temperature: 31.0C dev.cpu.6.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.6.cx_lowest: C1 dev.cpu.6.cx_usage: 100.00% 0.00% 0.00% last 126291us dev.cpu.7.%desc: ACPI CPU dev.cpu.7.%driver: cpu dev.cpu.7.%location: handle=\_PR_.P008 dev.cpu.7.%pnpinfo: _HID=none _UID=0 dev.cpu.7.%parent: acpi0 dev.cpu.7.coretemp.delta: 64 dev.cpu.7.coretemp.resolution: 1 dev.cpu.7.coretemp.tjmax: 95.0C dev.cpu.7.coretemp.throttle_log: 0 dev.cpu.7.temperature: 31.0C dev.cpu.7.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.7.cx_lowest: C1 dev.cpu.7.cx_usage: 100.00% 0.00% 0.00% last 39246us dev.cpu.8.%desc: ACPI CPU dev.cpu.8.%driver: cpu dev.cpu.8.%location: handle=\_PR_.P009 dev.cpu.8.%pnpinfo: _HID=none _UID=0 dev.cpu.8.%parent: acpi0 dev.cpu.8.coretemp.delta: 73 dev.cpu.8.coretemp.resolution: 1 dev.cpu.8.coretemp.tjmax: 95.0C dev.cpu.8.coretemp.throttle_log: 0 dev.cpu.8.temperature: 22.0C dev.cpu.8.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.8.cx_lowest: C1 dev.cpu.8.cx_usage: 100.00% 0.00% 0.00% last 237500us dev.cpu.9.%desc: ACPI CPU dev.cpu.9.%driver: cpu dev.cpu.9.%location: handle=\_PR_.P010 dev.cpu.9.%pnpinfo: _HID=none _UID=0 dev.cpu.9.%parent: acpi0 dev.cpu.9.coretemp.delta: 73 dev.cpu.9.coretemp.resolution: 1 dev.cpu.9.coretemp.tjmax: 95.0C dev.cpu.9.coretemp.throttle_log: 0 dev.cpu.9.temperature: 22.0C dev.cpu.9.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.9.cx_lowest: C1 dev.cpu.9.cx_usage: 100.00% 0.00% 0.00% last 48599us dev.cpu.10.%desc: ACPI CPU dev.cpu.10.%driver: cpu dev.cpu.10.%location: handle=\_PR_.P011 dev.cpu.10.%pnpinfo: _HID=none _UID=0 dev.cpu.10.%parent: acpi0 dev.cpu.10.coretemp.delta: 64 dev.cpu.10.coretemp.resolution: 1 dev.cpu.10.coretemp.tjmax: 95.0C dev.cpu.10.coretemp.throttle_log: 0 dev.cpu.10.temperature: 31.0C dev.cpu.10.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.10.cx_lowest: C1 dev.cpu.10.cx_usage: 100.00% 0.00% 0.00% last 276265us dev.cpu.11.%desc: ACPI CPU dev.cpu.11.%driver: cpu dev.cpu.11.%location: handle=\_PR_.P012 dev.cpu.11.%pnpinfo: _HID=none _UID=0 dev.cpu.11.%parent: acpi0 dev.cpu.11.coretemp.delta: 64 dev.cpu.11.coretemp.resolution: 1 dev.cpu.11.coretemp.tjmax: 95.0C dev.cpu.11.coretemp.throttle_log: 0 dev.cpu.11.temperature: 31.0C dev.cpu.11.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.11.cx_lowest: C1 dev.cpu.11.cx_usage: 100.00% 0.00% 0.00% last 45235us dev.cpu.12.%desc: ACPI CPU dev.cpu.12.%driver: cpu dev.cpu.12.%location: handle=\_PR_.P013 dev.cpu.12.%pnpinfo: _HID=none _UID=0 dev.cpu.12.%parent: acpi0 dev.cpu.12.coretemp.delta: 70 dev.cpu.12.coretemp.resolution: 1 dev.cpu.12.coretemp.tjmax: 95.0C dev.cpu.12.coretemp.throttle_log: 0 dev.cpu.12.temperature: 25.0C dev.cpu.12.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.12.cx_lowest: C1 dev.cpu.12.cx_usage: 100.00% 0.00% 0.00% last 176635us dev.cpu.13.%desc: ACPI CPU dev.cpu.13.%driver: cpu dev.cpu.13.%location: handle=\_PR_.P014 dev.cpu.13.%pnpinfo: _HID=none _UID=0 dev.cpu.13.%parent: acpi0 dev.cpu.13.coretemp.delta: 70 dev.cpu.13.coretemp.resolution: 1 dev.cpu.13.coretemp.tjmax: 95.0C dev.cpu.13.coretemp.throttle_log: 0 dev.cpu.13.temperature: 25.0C dev.cpu.13.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.13.cx_lowest: C1 dev.cpu.13.cx_usage: 100.00% 0.00% 0.00% last 86467us dev.cpu.14.%desc: ACPI CPU dev.cpu.14.%driver: cpu dev.cpu.14.%location: handle=\_PR_.P015 dev.cpu.14.%pnpinfo: _HID=none _UID=0 dev.cpu.14.%parent: acpi0 dev.cpu.14.coretemp.delta: 68 dev.cpu.14.coretemp.resolution: 1 dev.cpu.14.coretemp.tjmax: 95.0C dev.cpu.14.coretemp.throttle_log: 0 dev.cpu.14.temperature: 27.0C dev.cpu.14.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.14.cx_lowest: C1 dev.cpu.14.cx_usage: 100.00% 0.00% 0.00% last 151541us dev.cpu.15.%desc: ACPI CPU dev.cpu.15.%driver: cpu dev.cpu.15.%location: handle=\_PR_.P016 dev.cpu.15.%pnpinfo: _HID=none _UID=0 dev.cpu.15.%parent: acpi0 dev.cpu.15.coretemp.delta: 68 dev.cpu.15.coretemp.resolution: 1 dev.cpu.15.coretemp.tjmax: 95.0C dev.cpu.15.coretemp.throttle_log: 0 dev.cpu.15.temperature: 27.0C dev.cpu.15.cx_supported: C1/1/32 C2/3/96 C3/3/128 dev.cpu.15.cx_lowest: C1 dev.cpu.15.cx_usage: 100.00% 0.00% 0.00% last 7904us % sysctl dev.est dev.est.%parent: % sysctl -a | grep freq | grep -v time kern.acct_chkfreq: 15 device cpufreq net.inet.sctp.sack_freq: 2 debug.cpufreq.lowest: 0 debug.cpufreq.verbose: 0 machdep.i8254_freq: 1193182 machdep.tsc_freq: 2400136744 Also I have this in dmesg which may be relevant: p4tcc0: <CPU Frequency Thermal Control> on cpu0 coretemp1: <CPU On-Die Thermal Sensors> on cpu1 est1: <Enhanced SpeedStep Frequency Control> on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 12 device_attach: est1 attach returned 6 for each CPU. The line starting with p4tcc apears only when I remove hint.p4tcc.0.disabled="1"> > Are you not running powerd? Of course powerd won't start if it can't > get dev.cpu.0.freq but you can ordinarily use it to set lowest and/or > highest freqs. Once FreeBSD starts, BIOS settings should have little > do with it, AFAIK, except how they might set freq before powerd starts.No, I don't use powerd. I want my processor to always run at max speed. But I encountered situations when sometime system is running at 1200GHz instead of 2400 and it is fixed with BIOS updates. That is why I check dev.cpu.0.freq each time system reboot. My processor is Intel E5620 : http://ark.intel.com/products/47925/Intel-Xeon-Processor-E5620-12M-Cache-2_40-GHz-5_86-GTs-Intel-QPI It is not so ancient thing.
On Sun, Mar 22, 2015 at 10:11 AM, Dmitry Sivachenko <trtrmitya at gmail.com> wrote:> > > On 22 ????? 2015 ?., at 17:11, Ian Smith <smithi at nimnet.asn.au> wrote: > > > > Dmitry Sivachenko wrote: > >>> On 22 ????? 2015 ?., at 8:53, Peter Jeremy <peter at rulingia.com> wrote: > >>> On 2015-Mar-22 00:58:55 +0300, Dmitry Sivachenko <trtrmitya at gmail.com> > wrote: > >>>> I have a machine with the following processor: > >>>> CPU: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (2400.14-MHz > >>>> K8-class CPU) Origin="GenuineIntel" Id=0x206c2 Family=0x6 > Model=0x2c Stepping=2 > >>> ... > >>>> After I upgraded to 10.1-STABLE #0 r279956, this sysctl disapeared. % > sysctl dev.cpu.0.freq sysctl: unknown oid 'dev.cpu.0.freq': No such file or > directory % > > > >>> What OIDs do you have? Does dev.cpu.0 exist? How about dev.cpu? > >> dev.cpu.0 does exist. > > > > It could be helpful to show all of: > > > > % sysctl dev.cpu > > % sysctl dev.est # if you have that? > > % sysctl -a | grep freq | grep -v time > > > > both before and after re-enabling p4tcc. > > Hello, > > With #hint.p4tcc.0.disabled="1" commented out: > > % sysctl dev.cpu > dev.cpu.%parent: > dev.cpu.0.%desc: ACPI CPU > dev.cpu.0.%driver: cpu > dev.cpu.0.%location: handle=\_PR_.P001 > dev.cpu.0.%pnpinfo: _HID=none _UID=0 > dev.cpu.0.%parent: acpi0 > dev.cpu.0.coretemp.delta: 67 > dev.cpu.0.coretemp.resolution: 1 > dev.cpu.0.coretemp.tjmax: 95.0C > dev.cpu.0.coretemp.throttle_log: 0 > dev.cpu.0.temperature: 28.0C > dev.cpu.0.freq: 2400 > dev.cpu.0.freq_levels: 2400/-1 2100/-1 1800/-1 1500/-1 1200/-1 900/-1 > 600/-1 300/-1 > dev.cpu.0.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.0.cx_lowest: C1 > dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% last 261us > dev.cpu.1.%desc: ACPI CPU > dev.cpu.1.%driver: cpu > dev.cpu.1.%location: handle=\_PR_.P002 > dev.cpu.1.%pnpinfo: _HID=none _UID=0 > dev.cpu.1.%parent: acpi0 > dev.cpu.1.coretemp.delta: 67 > dev.cpu.1.coretemp.resolution: 1 > dev.cpu.1.coretemp.tjmax: 95.0C > dev.cpu.1.coretemp.throttle_log: 0 > dev.cpu.1.temperature: 28.0C > dev.cpu.1.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.1.cx_lowest: C1 > dev.cpu.1.cx_usage: 100.00% 0.00% 0.00% last 71201us > dev.cpu.2.%desc: ACPI CPU > dev.cpu.2.%driver: cpu > dev.cpu.2.%location: handle=\_PR_.P003 > dev.cpu.2.%pnpinfo: _HID=none _UID=0 > dev.cpu.2.%parent: acpi0 > dev.cpu.2.coretemp.delta: 62 > dev.cpu.2.coretemp.resolution: 1 > dev.cpu.2.coretemp.tjmax: 95.0C > dev.cpu.2.coretemp.throttle_log: 0 > dev.cpu.2.temperature: 33.0C > dev.cpu.2.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.2.cx_lowest: C1 > dev.cpu.2.cx_usage: 100.00% 0.00% 0.00% last 124614us > dev.cpu.3.%desc: ACPI CPU > dev.cpu.3.%driver: cpu > dev.cpu.3.%location: handle=\_PR_.P004 > dev.cpu.3.%pnpinfo: _HID=none _UID=0 > dev.cpu.3.%parent: acpi0 > dev.cpu.3.coretemp.delta: 62 > dev.cpu.3.coretemp.resolution: 1 > dev.cpu.3.coretemp.tjmax: 95.0C > dev.cpu.3.coretemp.throttle_log: 0 > dev.cpu.3.temperature: 33.0C > dev.cpu.3.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.3.cx_lowest: C1 > dev.cpu.3.cx_usage: 100.00% 0.00% 0.00% last 101864us > dev.cpu.4.%desc: ACPI CPU > dev.cpu.4.%driver: cpu > dev.cpu.4.%location: handle=\_PR_.P005 > dev.cpu.4.%pnpinfo: _HID=none _UID=0 > dev.cpu.4.%parent: acpi0 > dev.cpu.4.coretemp.delta: 62 > dev.cpu.4.coretemp.resolution: 1 > dev.cpu.4.coretemp.tjmax: 95.0C > dev.cpu.4.coretemp.throttle_log: 0 > dev.cpu.4.temperature: 33.0C > dev.cpu.4.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.4.cx_lowest: C1 > dev.cpu.4.cx_usage: 100.00% 0.00% 0.00% last 127376us > dev.cpu.5.%desc: ACPI CPU > dev.cpu.5.%driver: cpu > dev.cpu.5.%location: handle=\_PR_.P006 > dev.cpu.5.%pnpinfo: _HID=none _UID=0 > dev.cpu.5.%parent: acpi0 > dev.cpu.5.coretemp.delta: 62 > dev.cpu.5.coretemp.resolution: 1 > dev.cpu.5.coretemp.tjmax: 95.0C > dev.cpu.5.coretemp.throttle_log: 0 > dev.cpu.5.temperature: 33.0C > dev.cpu.5.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.5.cx_lowest: C1 > dev.cpu.5.cx_usage: 100.00% 0.00% 0.00% last 107493us > dev.cpu.6.%desc: ACPI CPU > dev.cpu.6.%driver: cpu > dev.cpu.6.%location: handle=\_PR_.P007 > dev.cpu.6.%pnpinfo: _HID=none _UID=0 > dev.cpu.6.%parent: acpi0 > dev.cpu.6.coretemp.delta: 63 > dev.cpu.6.coretemp.resolution: 1 > dev.cpu.6.coretemp.tjmax: 95.0C > dev.cpu.6.coretemp.throttle_log: 0 > dev.cpu.6.temperature: 32.0C > dev.cpu.6.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.6.cx_lowest: C1 > dev.cpu.6.cx_usage: 100.00% 0.00% 0.00% last 155573us > dev.cpu.7.%desc: ACPI CPU > dev.cpu.7.%driver: cpu > dev.cpu.7.%location: handle=\_PR_.P008 > dev.cpu.7.%pnpinfo: _HID=none _UID=0 > dev.cpu.7.%parent: acpi0 > dev.cpu.7.coretemp.delta: 63 > dev.cpu.7.coretemp.resolution: 1 > dev.cpu.7.coretemp.tjmax: 95.0C > dev.cpu.7.coretemp.throttle_log: 0 > dev.cpu.7.temperature: 32.0C > dev.cpu.7.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.7.cx_lowest: C1 > dev.cpu.7.cx_usage: 100.00% 0.00% 0.00% last 32278us > dev.cpu.8.%desc: ACPI CPU > dev.cpu.8.%driver: cpu > dev.cpu.8.%location: handle=\_PR_.P009 > dev.cpu.8.%pnpinfo: _HID=none _UID=0 > dev.cpu.8.%parent: acpi0 > dev.cpu.8.coretemp.delta: 72 > dev.cpu.8.coretemp.resolution: 1 > dev.cpu.8.coretemp.tjmax: 95.0C > dev.cpu.8.coretemp.throttle_log: 0 > dev.cpu.8.temperature: 23.0C > dev.cpu.8.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.8.cx_lowest: C1 > dev.cpu.8.cx_usage: 100.00% 0.00% 0.00% last 163115us > dev.cpu.9.%desc: ACPI CPU > dev.cpu.9.%driver: cpu > dev.cpu.9.%location: handle=\_PR_.P010 > dev.cpu.9.%pnpinfo: _HID=none _UID=0 > dev.cpu.9.%parent: acpi0 > dev.cpu.9.coretemp.delta: 72 > dev.cpu.9.coretemp.resolution: 1 > dev.cpu.9.coretemp.tjmax: 95.0C > dev.cpu.9.coretemp.throttle_log: 0 > dev.cpu.9.temperature: 23.0C > dev.cpu.9.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.9.cx_lowest: C1 > dev.cpu.9.cx_usage: 100.00% 0.00% 0.00% last 168834us > dev.cpu.10.%desc: ACPI CPU > dev.cpu.10.%driver: cpu > dev.cpu.10.%location: handle=\_PR_.P011 > dev.cpu.10.%pnpinfo: _HID=none _UID=0 > dev.cpu.10.%parent: acpi0 > dev.cpu.10.coretemp.delta: 64 > dev.cpu.10.coretemp.resolution: 1 > dev.cpu.10.coretemp.tjmax: 95.0C > dev.cpu.10.coretemp.throttle_log: 0 > dev.cpu.10.temperature: 31.0C > dev.cpu.10.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.10.cx_lowest: C1 > dev.cpu.10.cx_usage: 100.00% 0.00% 0.00% last 141245us > dev.cpu.11.%desc: ACPI CPU > dev.cpu.11.%driver: cpu > dev.cpu.11.%location: handle=\_PR_.P012 > dev.cpu.11.%pnpinfo: _HID=none _UID=0 > dev.cpu.11.%parent: acpi0 > dev.cpu.11.coretemp.delta: 64 > dev.cpu.11.coretemp.resolution: 1 > dev.cpu.11.coretemp.tjmax: 95.0C > dev.cpu.11.coretemp.throttle_log: 0 > dev.cpu.11.temperature: 31.0C > dev.cpu.11.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.11.cx_lowest: C1 > dev.cpu.11.cx_usage: 100.00% 0.00% 0.00% last 133706us > dev.cpu.12.%desc: ACPI CPU > dev.cpu.12.%driver: cpu > dev.cpu.12.%location: handle=\_PR_.P013 > dev.cpu.12.%pnpinfo: _HID=none _UID=0 > dev.cpu.12.%parent: acpi0 > dev.cpu.12.coretemp.delta: 69 > dev.cpu.12.coretemp.resolution: 1 > dev.cpu.12.coretemp.tjmax: 95.0C > dev.cpu.12.coretemp.throttle_log: 0 > dev.cpu.12.temperature: 25.0C > dev.cpu.12.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.12.cx_lowest: C1 > dev.cpu.12.cx_usage: 100.00% 0.00% 0.00% last 112608us > dev.cpu.13.%desc: ACPI CPU > dev.cpu.13.%driver: cpu > dev.cpu.13.%location: handle=\_PR_.P014 > dev.cpu.13.%pnpinfo: _HID=none _UID=0 > dev.cpu.13.%parent: acpi0 > dev.cpu.13.coretemp.delta: 70 > dev.cpu.13.coretemp.resolution: 1 > dev.cpu.13.coretemp.tjmax: 95.0C > dev.cpu.13.coretemp.throttle_log: 0 > dev.cpu.13.temperature: 25.0C > dev.cpu.13.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.13.cx_lowest: C1 > dev.cpu.13.cx_usage: 100.00% 0.00% 0.00% last 58467us > dev.cpu.14.%desc: ACPI CPU > dev.cpu.14.%driver: cpu > dev.cpu.14.%location: handle=\_PR_.P015 > dev.cpu.14.%pnpinfo: _HID=none _UID=0 > dev.cpu.14.%parent: acpi0 > dev.cpu.14.coretemp.delta: 67 > dev.cpu.14.coretemp.resolution: 1 > dev.cpu.14.coretemp.tjmax: 95.0C > dev.cpu.14.coretemp.throttle_log: 0 > dev.cpu.14.temperature: 28.0C > dev.cpu.14.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.14.cx_lowest: C1 > dev.cpu.14.cx_usage: 100.00% 0.00% 0.00% last 41275us > dev.cpu.15.%desc: ACPI CPU > dev.cpu.15.%driver: cpu > dev.cpu.15.%location: handle=\_PR_.P016 > dev.cpu.15.%pnpinfo: _HID=none _UID=0 > dev.cpu.15.%parent: acpi0 > dev.cpu.15.coretemp.delta: 67 > dev.cpu.15.coretemp.resolution: 1 > dev.cpu.15.coretemp.tjmax: 95.0C > dev.cpu.15.coretemp.throttle_log: 0 > dev.cpu.15.temperature: 28.0C > dev.cpu.15.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.15.cx_lowest: C1 > dev.cpu.15.cx_usage: 100.00% 0.00% 0.00% last 249us > > % sysctl dev.est > dev.est.%parent: > > % sysctl -a | grep freq | grep -v time > kern.acct_chkfreq: 15 > device cpufreq > net.inet.sctp.sack_freq: 2 > debug.cpufreq.lowest: 0 > debug.cpufreq.verbose: 0 > machdep.i8254_freq: 1193182 > machdep.tsc_freq: 2400132656 > dev.cpu.0.freq: 2400 > dev.cpu.0.freq_levels: 2400/-1 2100/-1 1800/-1 1500/-1 1200/-1 900/-1 > 600/-1 300/-1 > dev.p4tcc.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 > 3750/-1 2500/-1 1250/-1 > dev.p4tcc.1.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 > 3750/-1 2500/-1 1250/-1 > dev.p4tcc.2.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 > 3750/-1 2500/-1 1250/-1 > dev.p4tcc.3.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 > 3750/-1 2500/-1 1250/-1 > dev.p4tcc.4.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 > 3750/-1 2500/-1 1250/-1 > dev.p4tcc.5.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 > 3750/-1 2500/-1 1250/-1 > dev.p4tcc.6.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 > 3750/-1 2500/-1 1250/-1 > dev.p4tcc.7.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 > 3750/-1 2500/-1 1250/-1 > dev.p4tcc.8.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 > 3750/-1 2500/-1 1250/-1 > dev.p4tcc.9.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 > 3750/-1 2500/-1 1250/-1 > dev.p4tcc.10.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 > 3750/-1 2500/-1 1250/-1 > dev.p4tcc.11.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 > 3750/-1 2500/-1 1250/-1 > dev.p4tcc.12.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 > 3750/-1 2500/-1 1250/-1 > dev.p4tcc.13.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 > 3750/-1 2500/-1 1250/-1 > dev.p4tcc.14.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 > 3750/-1 2500/-1 1250/-1 > dev.p4tcc.15.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 > 3750/-1 2500/-1 1250/-1 > dev.cpufreq.%parent: > dev.cpufreq.0.%desc: > dev.cpufreq.0.%driver: cpufreq > dev.cpufreq.0.%location: > dev.cpufreq.0.%pnpinfo: > dev.cpufreq.0.%parent: cpu0 > dev.cpufreq.1.%desc: > dev.cpufreq.1.%driver: cpufreq > dev.cpufreq.1.%location: > dev.cpufreq.1.%pnpinfo: > dev.cpufreq.1.%parent: cpu1 > dev.cpufreq.2.%desc: > dev.cpufreq.2.%driver: cpufreq > dev.cpufreq.2.%location: > dev.cpufreq.2.%pnpinfo: > dev.cpufreq.2.%parent: cpu2 > dev.cpufreq.3.%desc: > dev.cpufreq.3.%driver: cpufreq > dev.cpufreq.3.%location: > dev.cpufreq.3.%pnpinfo: > dev.cpufreq.3.%parent: cpu3 > dev.cpufreq.4.%desc: > dev.cpufreq.4.%driver: cpufreq > dev.cpufreq.4.%location: > dev.cpufreq.4.%pnpinfo: > dev.cpufreq.4.%parent: cpu4 > dev.cpufreq.5.%desc: > dev.cpufreq.5.%driver: cpufreq > dev.cpufreq.5.%location: > dev.cpufreq.5.%pnpinfo: > dev.cpufreq.5.%parent: cpu5 > dev.cpufreq.6.%desc: > dev.cpufreq.6.%driver: cpufreq > dev.cpufreq.6.%location: > dev.cpufreq.6.%pnpinfo: > dev.cpufreq.6.%parent: cpu6 > dev.cpufreq.7.%desc: > dev.cpufreq.7.%driver: cpufreq > dev.cpufreq.7.%location: > dev.cpufreq.7.%pnpinfo: > dev.cpufreq.7.%parent: cpu7 > dev.cpufreq.8.%desc: > dev.cpufreq.8.%driver: cpufreq > dev.cpufreq.8.%location: > dev.cpufreq.8.%pnpinfo: > dev.cpufreq.8.%parent: cpu8 > dev.cpufreq.9.%desc: > dev.cpufreq.9.%driver: cpufreq > dev.cpufreq.9.%location: > dev.cpufreq.9.%pnpinfo: > dev.cpufreq.9.%parent: cpu9 > dev.cpufreq.10.%desc: > dev.cpufreq.10.%driver: cpufreq > dev.cpufreq.10.%location: > dev.cpufreq.10.%pnpinfo: > dev.cpufreq.10.%parent: cpu10 > dev.cpufreq.11.%desc: > dev.cpufreq.11.%driver: cpufreq > dev.cpufreq.11.%location: > dev.cpufreq.11.%pnpinfo: > dev.cpufreq.11.%parent: cpu11 > dev.cpufreq.12.%desc: > dev.cpufreq.12.%driver: cpufreq > dev.cpufreq.12.%location: > dev.cpufreq.12.%pnpinfo: > dev.cpufreq.12.%parent: cpu12 > dev.cpufreq.13.%desc: > dev.cpufreq.13.%driver: cpufreq > dev.cpufreq.13.%location: > dev.cpufreq.13.%pnpinfo: > dev.cpufreq.13.%parent: cpu13 > dev.cpufreq.14.%desc: > dev.cpufreq.14.%driver: cpufreq > dev.cpufreq.14.%location: > dev.cpufreq.14.%pnpinfo: > dev.cpufreq.14.%parent: cpu14 > dev.cpufreq.15.%desc: > dev.cpufreq.15.%driver: cpufreq > dev.cpufreq.15.%location: > dev.cpufreq.15.%pnpinfo: > dev.cpufreq.15.%parent: cpu15 > > > With hint.p4tcc.0.disabled="1" active (default in 10=STABLE now): > > % sysctl dev.cpu > dev.cpu.%parent: > dev.cpu.0.%desc: ACPI CPU > dev.cpu.0.%driver: cpu > dev.cpu.0.%location: handle=\_PR_.P001 > dev.cpu.0.%pnpinfo: _HID=none _UID=0 > dev.cpu.0.%parent: acpi0 > dev.cpu.0.coretemp.delta: 66 > dev.cpu.0.coretemp.resolution: 1 > dev.cpu.0.coretemp.tjmax: 95.0C > dev.cpu.0.coretemp.throttle_log: 0 > dev.cpu.0.temperature: 29.0C > dev.cpu.0.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.0.cx_lowest: C1 > dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% last 428us > dev.cpu.1.%desc: ACPI CPU > dev.cpu.1.%driver: cpu > dev.cpu.1.%location: handle=\_PR_.P002 > dev.cpu.1.%pnpinfo: _HID=none _UID=0 > dev.cpu.1.%parent: acpi0 > dev.cpu.1.coretemp.delta: 66 > dev.cpu.1.coretemp.resolution: 1 > dev.cpu.1.coretemp.tjmax: 95.0C > dev.cpu.1.coretemp.throttle_log: 0 > dev.cpu.1.temperature: 29.0C > dev.cpu.1.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.1.cx_lowest: C1 > dev.cpu.1.cx_usage: 100.00% 0.00% 0.00% last 223406us > dev.cpu.2.%desc: ACPI CPU > dev.cpu.2.%driver: cpu > dev.cpu.2.%location: handle=\_PR_.P003 > dev.cpu.2.%pnpinfo: _HID=none _UID=0 > dev.cpu.2.%parent: acpi0 > dev.cpu.2.coretemp.delta: 63 > dev.cpu.2.coretemp.resolution: 1 > dev.cpu.2.coretemp.tjmax: 95.0C > dev.cpu.2.coretemp.throttle_log: 0 > dev.cpu.2.temperature: 32.0C > dev.cpu.2.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.2.cx_lowest: C1 > dev.cpu.2.cx_usage: 100.00% 0.00% 0.00% last 179299us > dev.cpu.3.%desc: ACPI CPU > dev.cpu.3.%driver: cpu > dev.cpu.3.%location: handle=\_PR_.P004 > dev.cpu.3.%pnpinfo: _HID=none _UID=0 > dev.cpu.3.%parent: acpi0 > dev.cpu.3.coretemp.delta: 63 > dev.cpu.3.coretemp.resolution: 1 > dev.cpu.3.coretemp.tjmax: 95.0C > dev.cpu.3.coretemp.throttle_log: 0 > dev.cpu.3.temperature: 33.0C > dev.cpu.3.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.3.cx_lowest: C1 > dev.cpu.3.cx_usage: 100.00% 0.00% 0.00% last 108280us > dev.cpu.4.%desc: ACPI CPU > dev.cpu.4.%driver: cpu > dev.cpu.4.%location: handle=\_PR_.P005 > dev.cpu.4.%pnpinfo: _HID=none _UID=0 > dev.cpu.4.%parent: acpi0 > dev.cpu.4.coretemp.delta: 62 > dev.cpu.4.coretemp.resolution: 1 > dev.cpu.4.coretemp.tjmax: 95.0C > dev.cpu.4.coretemp.throttle_log: 0 > dev.cpu.4.temperature: 33.0C > dev.cpu.4.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.4.cx_lowest: C1 > dev.cpu.4.cx_usage: 100.00% 0.00% 0.00% last 120264us > dev.cpu.5.%desc: ACPI CPU > dev.cpu.5.%driver: cpu > dev.cpu.5.%location: handle=\_PR_.P006 > dev.cpu.5.%pnpinfo: _HID=none _UID=0 > dev.cpu.5.%parent: acpi0 > dev.cpu.5.coretemp.delta: 62 > dev.cpu.5.coretemp.resolution: 1 > dev.cpu.5.coretemp.tjmax: 95.0C > dev.cpu.5.coretemp.throttle_log: 0 > dev.cpu.5.temperature: 33.0C > dev.cpu.5.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.5.cx_lowest: C1 > dev.cpu.5.cx_usage: 100.00% 0.00% 0.00% last 53853us > dev.cpu.6.%desc: ACPI CPU > dev.cpu.6.%driver: cpu > dev.cpu.6.%location: handle=\_PR_.P007 > dev.cpu.6.%pnpinfo: _HID=none _UID=0 > dev.cpu.6.%parent: acpi0 > dev.cpu.6.coretemp.delta: 64 > dev.cpu.6.coretemp.resolution: 1 > dev.cpu.6.coretemp.tjmax: 95.0C > dev.cpu.6.coretemp.throttle_log: 0 > dev.cpu.6.temperature: 31.0C > dev.cpu.6.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.6.cx_lowest: C1 > dev.cpu.6.cx_usage: 100.00% 0.00% 0.00% last 126291us > dev.cpu.7.%desc: ACPI CPU > dev.cpu.7.%driver: cpu > dev.cpu.7.%location: handle=\_PR_.P008 > dev.cpu.7.%pnpinfo: _HID=none _UID=0 > dev.cpu.7.%parent: acpi0 > dev.cpu.7.coretemp.delta: 64 > dev.cpu.7.coretemp.resolution: 1 > dev.cpu.7.coretemp.tjmax: 95.0C > dev.cpu.7.coretemp.throttle_log: 0 > dev.cpu.7.temperature: 31.0C > dev.cpu.7.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.7.cx_lowest: C1 > dev.cpu.7.cx_usage: 100.00% 0.00% 0.00% last 39246us > dev.cpu.8.%desc: ACPI CPU > dev.cpu.8.%driver: cpu > dev.cpu.8.%location: handle=\_PR_.P009 > dev.cpu.8.%pnpinfo: _HID=none _UID=0 > dev.cpu.8.%parent: acpi0 > dev.cpu.8.coretemp.delta: 73 > dev.cpu.8.coretemp.resolution: 1 > dev.cpu.8.coretemp.tjmax: 95.0C > dev.cpu.8.coretemp.throttle_log: 0 > dev.cpu.8.temperature: 22.0C > dev.cpu.8.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.8.cx_lowest: C1 > dev.cpu.8.cx_usage: 100.00% 0.00% 0.00% last 237500us > dev.cpu.9.%desc: ACPI CPU > dev.cpu.9.%driver: cpu > dev.cpu.9.%location: handle=\_PR_.P010 > dev.cpu.9.%pnpinfo: _HID=none _UID=0 > dev.cpu.9.%parent: acpi0 > dev.cpu.9.coretemp.delta: 73 > dev.cpu.9.coretemp.resolution: 1 > dev.cpu.9.coretemp.tjmax: 95.0C > dev.cpu.9.coretemp.throttle_log: 0 > dev.cpu.9.temperature: 22.0C > dev.cpu.9.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.9.cx_lowest: C1 > dev.cpu.9.cx_usage: 100.00% 0.00% 0.00% last 48599us > dev.cpu.10.%desc: ACPI CPU > dev.cpu.10.%driver: cpu > dev.cpu.10.%location: handle=\_PR_.P011 > dev.cpu.10.%pnpinfo: _HID=none _UID=0 > dev.cpu.10.%parent: acpi0 > dev.cpu.10.coretemp.delta: 64 > dev.cpu.10.coretemp.resolution: 1 > dev.cpu.10.coretemp.tjmax: 95.0C > dev.cpu.10.coretemp.throttle_log: 0 > dev.cpu.10.temperature: 31.0C > dev.cpu.10.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.10.cx_lowest: C1 > dev.cpu.10.cx_usage: 100.00% 0.00% 0.00% last 276265us > dev.cpu.11.%desc: ACPI CPU > dev.cpu.11.%driver: cpu > dev.cpu.11.%location: handle=\_PR_.P012 > dev.cpu.11.%pnpinfo: _HID=none _UID=0 > dev.cpu.11.%parent: acpi0 > dev.cpu.11.coretemp.delta: 64 > dev.cpu.11.coretemp.resolution: 1 > dev.cpu.11.coretemp.tjmax: 95.0C > dev.cpu.11.coretemp.throttle_log: 0 > dev.cpu.11.temperature: 31.0C > dev.cpu.11.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.11.cx_lowest: C1 > dev.cpu.11.cx_usage: 100.00% 0.00% 0.00% last 45235us > dev.cpu.12.%desc: ACPI CPU > dev.cpu.12.%driver: cpu > dev.cpu.12.%location: handle=\_PR_.P013 > dev.cpu.12.%pnpinfo: _HID=none _UID=0 > dev.cpu.12.%parent: acpi0 > dev.cpu.12.coretemp.delta: 70 > dev.cpu.12.coretemp.resolution: 1 > dev.cpu.12.coretemp.tjmax: 95.0C > dev.cpu.12.coretemp.throttle_log: 0 > dev.cpu.12.temperature: 25.0C > dev.cpu.12.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.12.cx_lowest: C1 > dev.cpu.12.cx_usage: 100.00% 0.00% 0.00% last 176635us > dev.cpu.13.%desc: ACPI CPU > dev.cpu.13.%driver: cpu > dev.cpu.13.%location: handle=\_PR_.P014 > dev.cpu.13.%pnpinfo: _HID=none _UID=0 > dev.cpu.13.%parent: acpi0 > dev.cpu.13.coretemp.delta: 70 > dev.cpu.13.coretemp.resolution: 1 > dev.cpu.13.coretemp.tjmax: 95.0C > dev.cpu.13.coretemp.throttle_log: 0 > dev.cpu.13.temperature: 25.0C > dev.cpu.13.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.13.cx_lowest: C1 > dev.cpu.13.cx_usage: 100.00% 0.00% 0.00% last 86467us > dev.cpu.14.%desc: ACPI CPU > dev.cpu.14.%driver: cpu > dev.cpu.14.%location: handle=\_PR_.P015 > dev.cpu.14.%pnpinfo: _HID=none _UID=0 > dev.cpu.14.%parent: acpi0 > dev.cpu.14.coretemp.delta: 68 > dev.cpu.14.coretemp.resolution: 1 > dev.cpu.14.coretemp.tjmax: 95.0C > dev.cpu.14.coretemp.throttle_log: 0 > dev.cpu.14.temperature: 27.0C > dev.cpu.14.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.14.cx_lowest: C1 > dev.cpu.14.cx_usage: 100.00% 0.00% 0.00% last 151541us > dev.cpu.15.%desc: ACPI CPU > dev.cpu.15.%driver: cpu > dev.cpu.15.%location: handle=\_PR_.P016 > dev.cpu.15.%pnpinfo: _HID=none _UID=0 > dev.cpu.15.%parent: acpi0 > dev.cpu.15.coretemp.delta: 68 > dev.cpu.15.coretemp.resolution: 1 > dev.cpu.15.coretemp.tjmax: 95.0C > dev.cpu.15.coretemp.throttle_log: 0 > dev.cpu.15.temperature: 27.0C > dev.cpu.15.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.15.cx_lowest: C1 > dev.cpu.15.cx_usage: 100.00% 0.00% 0.00% last 7904us > > % sysctl dev.est > dev.est.%parent: > > % sysctl -a | grep freq | grep -v time > kern.acct_chkfreq: 15 > device cpufreq > net.inet.sctp.sack_freq: 2 > debug.cpufreq.lowest: 0 > debug.cpufreq.verbose: 0 > machdep.i8254_freq: 1193182 > machdep.tsc_freq: 2400136744 > > > Also I have this in dmesg which may be relevant: > > p4tcc0: <CPU Frequency Thermal Control> on cpu0 > coretemp1: <CPU On-Die Thermal Sensors> on cpu1 > est1: <Enhanced SpeedStep Frequency Control> on cpu1 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 12 > device_attach: est1 attach returned 6 > > for each CPU. The line starting with p4tcc apears only when I remove > hint.p4tcc.0.disabled="1" > > > > > > Are you not running powerd? Of course powerd won't start if it can't > > get dev.cpu.0.freq but you can ordinarily use it to set lowest and/or > > highest freqs. Once FreeBSD starts, BIOS settings should have little > > do with it, AFAIK, except how they might set freq before powerd starts. > > No, I don't use powerd. I want my processor to always run at max speed. > But I encountered situations when sometime system is running at 1200GHz > instead of 2400 and it is fixed with BIOS updates. > That is why I check dev.cpu.0.freq each time system reboot. > > > My processor is Intel E5620 : > > http://ark.intel.com/products/47925/Intel-Xeon-Processor-E5620-12M-Cache-2_40-GHz-5_86-GTs-Intel-QPI > > It is not so ancient thing. >No, it's not ancient. With no capabilities that can set or report CPU frequency, the OID is undefined. I may be that the "CPU supports Enhanced Speedstep, but is not recognized." is really a problem. It says that FreeBSD does not have a table of the EST setting/energy saving values for that processor. This is not unusual as Intel at some point decided that these tables were proprietary and stopped releasing them to the open source community. ACPI should be able to provide the list of frequencies but it looks like it did not do so. This may be a bug in BIOS. Do you see similar messages for all est devices? I am guessing that they do, but your message does not actually say so. In any case, the problem is that EST is not attaching and that is cause of the lack of the OID when P4TCC and throttling are disabled. Since you are only using it to be sure that the system is running at full speed and re not running powerd, there is no reason not to enable P4TCC so the OID will be defined. TCC will not actually be used, so this is the simple solution. I am concerned that there is now a second report of this, though. It smells like a BIOS issue,but it seems to work under Windows. Perhaps you need a BIOS update? (N.B. This is really grasping at straws as I just don't know much beyond what I have said.) -- Kevin Oberman, Network Engineer, Retired E-mail: rkoberman at gmail.com
On Sun, 22 Mar 2015 20:11:36 +0300, Dmitry Sivachenko wrote: > > On 22 ?????????? 2015 ??., at 17:11, Ian Smith <smithi at nimnet.asn.au> wrote: > > > > Dmitry Sivachenko wrote: > >>> On 22 ?????????? 2015 ??., at 8:53, Peter Jeremy <peter at rulingia.com> wrote: > >>> On 2015-Mar-22 00:58:55 +0300, Dmitry Sivachenko <trtrmitya at gmail.com> wrote: > >>>> I have a machine with the following processor: > >>>> CPU: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (2400.14-MHz > >>>> K8-class CPU) Origin="GenuineIntel" Id=0x206c2 Family=0x6 Model=0x2c Stepping=2 > >>> ... > >>>> After I upgraded to 10.1-STABLE #0 r279956, this sysctl disapeared. % sysctl dev.cpu.0.freq sysctl: unknown oid 'dev.cpu.0.freq': No such file or directory % > > > >>> What OIDs do you have? Does dev.cpu.0 exist? How about dev.cpu? > >> dev.cpu.0 does exist. > > > > It could be helpful to show all of: > > > > % sysctl dev.cpu > > % sysctl dev.est # if you have that? > > % sysctl -a | grep freq | grep -v time > > > > both before and after re-enabling p4tcc. > > Hello, > > With #hint.p4tcc.0.disabled="1" commented out: > > % sysctl dev.cpu > dev.cpu.%parent: The parent should probably be listed. On mine it's acpi0 > dev.cpu.0.%desc: ACPI CPU > dev.cpu.0.%driver: cpu > dev.cpu.0.%location: handle=\_PR_.P001 > dev.cpu.0.%pnpinfo: _HID=none _UID=0 > dev.cpu.0.%parent: acpi0 > dev.cpu.0.coretemp.delta: 67 > dev.cpu.0.coretemp.resolution: 1 > dev.cpu.0.coretemp.tjmax: 95.0C > dev.cpu.0.coretemp.throttle_log: 0 > dev.cpu.0.temperature: 28.0C > dev.cpu.0.freq: 2400 > dev.cpu.0.freq_levels: 2400/-1 2100/-1 1800/-1 1500/-1 1200/-1 900/-1 600/-1 300/-1 > dev.cpu.0.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.0.cx_lowest: C1 > dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% last 261us [..] > dev.cpu.15.%desc: ACPI CPU > dev.cpu.15.%driver: cpu > dev.cpu.15.%location: handle=\_PR_.P016 > dev.cpu.15.%pnpinfo: _HID=none _UID=0 > dev.cpu.15.%parent: acpi0 > dev.cpu.15.coretemp.delta: 67 > dev.cpu.15.coretemp.resolution: 1 > dev.cpu.15.coretemp.tjmax: 95.0C > dev.cpu.15.coretemp.throttle_log: 0 > dev.cpu.15.temperature: 28.0C > dev.cpu.15.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.15.cx_lowest: C1 > dev.cpu.15.cx_usage: 100.00% 0.00% 0.00% last 249us > > % sysctl dev.est > dev.est.%parent: Right, so even with p4tcc enabled there's no dev.est, yet we then have dev.cpu.0.freq and freq_levels made available. Hmm .. > % sysctl -a | grep freq | grep -v time > kern.acct_chkfreq: 15 > device cpufreq > net.inet.sctp.sack_freq: 2 > debug.cpufreq.lowest: 0 > debug.cpufreq.verbose: 0 > machdep.i8254_freq: 1193182 > machdep.tsc_freq: 2400132656 > dev.cpu.0.freq: 2400 > dev.cpu.0.freq_levels: 2400/-1 2100/-1 1800/-1 1500/-1 1200/-1 900/-1 600/-1 300/-1 > dev.p4tcc.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 [..] > dev.p4tcc.15.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 > dev.cpufreq.%parent: > dev.cpufreq.0.%desc: > dev.cpufreq.0.%driver: cpufreq > dev.cpufreq.0.%location: > dev.cpufreq.0.%pnpinfo: > dev.cpufreq.0.%parent: cpu0 [..] > dev.cpufreq.15.%desc: > dev.cpufreq.15.%driver: cpufreq > dev.cpufreq.15.%location: > dev.cpufreq.15.%pnpinfo: > dev.cpufreq.15.%parent: cpu15 > With hint.p4tcc.0.disabled="1" active (default in 10=STABLE now): > > % sysctl dev.cpu > dev.cpu.%parent: > dev.cpu.0.%desc: ACPI CPU > dev.cpu.0.%driver: cpu > dev.cpu.0.%location: handle=\_PR_.P001 > dev.cpu.0.%pnpinfo: _HID=none _UID=0 > dev.cpu.0.%parent: acpi0 > dev.cpu.0.coretemp.delta: 66 > dev.cpu.0.coretemp.resolution: 1 > dev.cpu.0.coretemp.tjmax: 95.0C > dev.cpu.0.coretemp.throttle_log: 0 > dev.cpu.0.temperature: 29.0C > dev.cpu.0.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.0.cx_lowest: C1 > dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% last 428us [..] > dev.cpu.1.temperature: 29.0C > dev.cpu.2.temperature: 32.0C > dev.cpu.3.temperature: 33.0C > dev.cpu.4.temperature: 33.0C > dev.cpu.5.temperature: 33.0C > dev.cpu.6.temperature: 31.0C > dev.cpu.7.temperature: 31.0C > dev.cpu.8.temperature: 22.0C > dev.cpu.9.temperature: 22.0C > dev.cpu.10.temperature: 31.0C > dev.cpu.11.temperature: 31.0C > dev.cpu.12.temperature: 25.0C > dev.cpu.13.temperature: 25.0C > dev.cpu.14.temperature: 27.0C The above all seem the same, except temperatures. The only difference I see is the lack of dev.cpu.0.freq and dev.cpu.0.freq_levels. > dev.cpu.15.%desc: ACPI CPU > dev.cpu.15.%driver: cpu > dev.cpu.15.%location: handle=\_PR_.P016 > dev.cpu.15.%pnpinfo: _HID=none _UID=0 > dev.cpu.15.%parent: acpi0 > dev.cpu.15.coretemp.delta: 68 > dev.cpu.15.coretemp.resolution: 1 > dev.cpu.15.coretemp.tjmax: 95.0C > dev.cpu.15.coretemp.throttle_log: 0 > dev.cpu.15.temperature: 27.0C > dev.cpu.15.cx_supported: C1/1/32 C2/3/96 C3/3/128 > dev.cpu.15.cx_lowest: C1 > dev.cpu.15.cx_usage: 100.00% 0.00% 0.00% last 7904us > > % sysctl dev.est > dev.est.%parent: Do you have Enhanced Speedstep (EST), disabled in your BIOS settings? If so, just turn it on. Then you should also be able to set running frequency to 'MAX performance' or similar there. If not disabled, ie you have EST enabled in BIOS, that points to a real issue of EST detection. And it still seems strange that enabling p4tcc is enough to have cpufreq(4) include OIDs for freq and freq_levels? > % sysctl -a | grep freq | grep -v time > kern.acct_chkfreq: 15 > device cpufreq > net.inet.sctp.sack_freq: 2 > debug.cpufreq.lowest: 0 > debug.cpufreq.verbose: 0 > machdep.i8254_freq: 1193182 > machdep.tsc_freq: 2400136744 > > > Also I have this in dmesg which may be relevant: > > p4tcc0: <CPU Frequency Thermal Control> on cpu0 > coretemp1: <CPU On-Die Thermal Sensors> on cpu1 > est1: <Enhanced SpeedStep Frequency Control> on cpu1 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 12 > device_attach: est1 attach returned 6 > > for each CPU. The line starting with p4tcc apears only when I remove > hint.p4tcc.0.disabled="1" Right, this is still looking like you have EST disabled in BIOS. > > Are you not running powerd? Of course powerd won't start if it can't > > get dev.cpu.0.freq but you can ordinarily use it to set lowest and/or > > highest freqs. Once FreeBSD starts, BIOS settings should have little > > do with it, AFAIK, except how they might set freq before powerd starts. > > No, I don't use powerd. I want my processor to always run at max speed. Setting debug.cpufreq.lowest=2400 should also accomplish that without running powerd. Enabling higher C-states (C2, C3 .. Cmax) would save a lot of power (ie, heat) without compromising performance, but that's a separate issue. > But I encountered situations when sometime system is running at > 1200GHz instead of 2400 and it is fixed with BIOS updates. That is > why I check dev.cpu.0.freq each time system reboot. Well, your checking did expose this issue .. > My processor is Intel E5620 : > http://ark.intel.com/products/47925/Intel-Xeon-Processor-E5620-12M-Cache-2_40-GHz-5_86-GTs-Intel-QPI > > It is not so ancient thing. Right. Looks like your board has two of these packages, and indeed it does support EST. If you do have that enabled, we have a problem, and really need to see a verbose boot dmesg. If not, you have a problem that can be easily fixed in BIOS settings :) cheers, Ian