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.> I found the problematic change: > > Author: nwhitehorn Date: Sun Jan 11 17:10:07 2015 New Revision: > 276986 URL: https://svnweb.freebsd.org/changeset/base/276986 > > Log: MFC r265329: Disable ACPI and P4TCC throttling by default, > following discussion on freebsd-current. These CPU speed control > techniques are usually unhelpful at best. For now, continue building > the relevant code into GENERIC so that it can trivially be re-enabled > at runtime if anyone wants it. > > Modified: stable/10/sys/amd64/conf/GENERIC.hints > =============================================================================> --- stable/10/sys/amd64/conf/GENERIC.hints Sun Jan 11 17:00:24 2015 > (r276985) +++ stable/10/sys/amd64/conf/GENERIC.hints Sun Jan 11 > 17:10:07 2015 (r276986) @@ -31,3 +31,5 @@ hint.attimer.0.at="isa" > hint.attimer.0.port="0x40" hint.attimer.0.irq="0" > hint.wbwd.0.at="isa" +hint.acpi_throttle.0.disabled="1" > +hint.p4tcc.0.disabled="1" > > > If I remove that hint.p4tcc.0.disabled="1" from device.hints, > dev.cpu.0.freq appears back again.'Trivial re-enabling' would be adding hint.p4tcc.0.disabled="0" to /boot/loader.conf. This seems very strange though, if it really is due solely to disabling p4tcc and acpi_throttle.> I am using dev.cpu.0.freq to ensure that processor is running at > expected frequency (with some buggy BIOSes or buggy BIOS options > combinations it is possible to end up with machine running at half > frequency).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.> Does it really hurt to have this sysctl available? Why it was > disabled by default?It's a long story; (a) short story is using it to vary freqs doesn't save any power, but makes powerd work harder matching freq to load.> (I am not discussing hint.acpi_throttle.0.disabled here, just > hint.p4tcc.0.disabled).Some or many systems will use ACPI throttling instead if p4tcc (or equivalent on AMD or other processors) isn't enabled, so they both need disabling to run 'raw' EST or equivalent. A link to a verbose boot would be good, before and after if possible. cheers, Ian
On Sun, Mar 22, 2015 at 7:11 AM, 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. > > I found the problematic change: >> >> Author: nwhitehorn Date: Sun Jan 11 17:10:07 2015 New Revision: 276986 >> URL: https://svnweb.freebsd.org/changeset/base/276986 >> >> Log: MFC r265329: Disable ACPI and P4TCC throttling by default, following >> discussion on freebsd-current. These CPU speed control techniques are >> usually unhelpful at best. For now, continue building the relevant code >> into GENERIC so that it can trivially be re-enabled >> at runtime if anyone wants it. >> >> Modified: stable/10/sys/amd64/conf/GENERIC.hints >> ===========================================================>> =================>> --- stable/10/sys/amd64/conf/GENERIC.hints Sun Jan 11 17:00:24 2015 >> (r276985) +++ stable/10/sys/amd64/conf/GENERIC.hints Sun Jan 11 >> 17:10:07 2015 (r276986) @@ -31,3 +31,5 @@ hint.attimer.0.at="isa" >> hint.attimer.0.port="0x40" hint.attimer.0.irq="0" hint.wbwd.0.at="isa" >> +hint.acpi_throttle.0.disabled="1" +hint.p4tcc.0.disabled="1" >> >> >> If I remove that hint.p4tcc.0.disabled="1" from device.hints, >> dev.cpu.0.freq appears back again. >> > > 'Trivial re-enabling' would be adding hint.p4tcc.0.disabled="0" to > /boot/loader.conf. This seems very strange though, if it really is > due solely to disabling p4tcc and acpi_throttle. > > I am using dev.cpu.0.freq to ensure that processor is running at expected >> frequency (with some buggy BIOSes or buggy BIOS options combinations it is >> possible to end up with machine running at half frequency). >> > > 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. > > Does it really hurt to have this sysctl available? Why it was disabled >> by default? >> > > It's a long story; (a) short story is using it to vary freqs doesn't > save any power, but makes powerd work harder matching freq to load. > > (I am not discussing hint.acpi_throttle.0.disabled here, just >> hint.p4tcc.0.disabled). >> > > Some or many systems will use ACPI throttling instead if p4tcc (or > equivalent on AMD or other processors) isn't enabled, so they both > need disabling to run 'raw' EST or equivalent. > > A link to a verbose boot would be good, before and after if possible. > > cheers, Ian > >First, my system which does have powerd and dev.cpu.0.freq has been running without p4tcc for years. From my loader.conf file: # Disable CPU throttling hint.p4tcc.0.disabled=1 hint.acpi_throttle.0.disabled=1 But I do have EST. If that is missing, so is dev.cpu.0.freq. Do you see "sysctl dev.est"? It should include freq_settings for each CPU. Processors older than P4s did not have the more efficient TCC capability, so the more primitive throttling was used. By default, when TCC is available, it is used. If not, throttling is used. Of course, almost all i386 and all amd64 processors should have TCC, so, unless TCC is disabled, throttling is not used. TCC is the Thermal Control Circuit. Note that it was designed and intended to be a rather heavy handed way to prevent overheating of the CPU. It was never intended nor is it useful for power management. Worse, it can interfere with C-states, by far the most effective power management tool available, at least when used the way powerd uses it. This "unpleasant" interaction that lead to system lock-up resulted in C-states being disabled, just adding insult to injury. Head should now have the "correct" settings with throttling and p4tcc disabled and both performance and economy_cx_lowest defaulting to Cmax. The real issue appears to be that some systems seem to not have EST. I am suspicious that this may be the case for some or all non-i386/amd64 processors. Even if EST is not available, turning on TCC or throttling is not going to save any power. It just means that the system will not have the ability to have multiple CPU frequencies. If you want more details on power issues in FreeBSD, I would point you to the excellent article by mav@ at https://wiki.freebsd.org/TuningPowerConsumption. He covers all of the research I did independently back when I was at Lawrence Berkeley.Lab back in the 90s and extends it to cover most modern technologies not available when I did my research. -- Kevin Oberman, Network Engineer, Retired E-mail: rkoberman at gmail.com
> 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.