Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 May 2015 12:21:53 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        hiren panchasara <hiren@strugglingcoder.info>,  "freebsd-acpi@freebsd.org" <acpi@freebsd.org>
Subject:   Re: Fan speed settings on MSI motherboard with AMD cpu
Message-ID:  <CAN6yY1tyhqJ7p3sNfBL%2BzENzbyvYq%2B6f4OAxSONG=zKSKowP4g@mail.gmail.com>
In-Reply-To: <20150506165930.GM62838@strugglingcoder.info>
References:  <20150506004846.GL62838@strugglingcoder.info> <20150506165930.GM62838@strugglingcoder.info>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 6, 2015 at 9:59 AM, hiren panchasara <hiren@strugglingcoder.info
> wrote:

> On 05/05/15 at 05:48P, hiren panchasara wrote:
> > Running -head as of today and have amdtemp.ko loaded.
> >
> > rc.conf has:
> > powerd_enable="YES"
> > performance_cx_lowest="Cmax"
> > economy_cx_lowest="Cmax"
> >
> > $ sysctl hw.model
> > hw.model: AMD FX(tm)-8350 Eight-Core Processor
> > $ sysctl hw.ncpu
> > hw.ncpu: 8
> >
> > $ sysctl dev.cpu | grep temp
> > dev.cpu.7.temperature: 24.6C
> > dev.cpu.6.temperature: 24.6C
> > dev.cpu.5.temperature: 24.6C
> > dev.cpu.4.temperature: 24.6C
> > dev.cpu.3.temperature: 24.6C
> > dev.cpu.2.temperature: 24.6C
> > dev.cpu.1.temperature: 24.6C
> > dev.cpu.0.temperature: 24.6C
> >
> > (printing for cpu.0 just for example)
> > $ sysctl dev.cpu.0
> > dev.cpu.0.cx_usage_counters: 10760 68435
> > dev.cpu.0.cx_usage: 13.58% 86.41% last 75us
> > dev.cpu.0.cx_lowest: C8
> > dev.cpu.0.cx_supported: C1/1/0 C2/2/100
> > dev.cpu.0.freq_levels: 4000/15767 3500/13796 3400/11637 2975/10182
> > 2800/8437 2450/7382 2100/5400 1837/4725 1575/4050 1400/3150 1225/2756
> > 1050/2362 875/1968 700/1575 525/1181 350/787 175/393
> > dev.cpu.0.freq: 875
> > dev.cpu.0.temperature: 24.2C
> > dev.cpu.0.%parent: acpi0
> > dev.cpu.0.%pnpinfo: _HID=none _UID=0
> > dev.cpu.0.%location: handle=\_PR_.P001
> > dev.cpu.0.%driver: cpu
> > dev.cpu.0.%desc: ACPI CPU
> >
> > $ sysctl hw.acpi
> > hw.acpi.cpu.cx_lowest: C8
> > hw.acpi.reset_video: 0
> > hw.acpi.handle_reboot: 0
> > hw.acpi.disable_on_reboot: 0
> > hw.acpi.verbose: 0
> > hw.acpi.s4bios: 0
> > hw.acpi.sleep_delay: 1
> > hw.acpi.suspend_state: S3
> > hw.acpi.standby_state: NONE
> > hw.acpi.lid_switch_state: NONE
> > hw.acpi.sleep_button_state: S3
> > hw.acpi.power_button_state: S5
> > hw.acpi.supported_sleep_state: S3 S4 S5
> >
> > I can literally head the fan noise. Even when the box is not doing
> anything.
> >
> > Now, from the bios side, I tried a bunch of things without much success.
> >
> > This is what I am looking at:
> >
> > "Power Management Setup" -> ACPI Standby State
> >                       options - S1/S3
> > "H/W Monitor" -> CPU Smart Fan Target : Disabled by default
> >                       options - 40/45/50/44/60
> >             -> SYS FAN 1 Control  : Default 100%
> >                       options - 50%/75%/100%
> >
> > ----- "PC Health Status" ------
> > CPU Temperature               55C/131F
> > System Temperature    38C/100F
> > CPU FAN Speed         5928RPM
> > SYS FAN 1 Speed               0 RPM    <----?? It is definitely spinning.
> > CPU VCore             1.312 V
> > 3.3 V                 3.312 V
> > 5V                    4.970 V
> > 12V                   12.320 V
> >
> > "Green Power" -> CPU Phase Control : Disabled by default
> >                       options - Auto/Disabled
> >
> > What should be correct values for these? Any help/pointers would be
> great.
>
> Bah. Also, the reason I started looking into this is that I believe, cpu
> cooling is busted. When I compile anything with more -j values, box
> shuts down. I don't see any error on console or /var/log/messages but I
> did see the temperature going up to dev.cpu.0.temperature: 86.0C right
> before it shutdown.
>
> I'll probably reapply the thermal paste and see.
>
> cheers,
> Hiren
>

When you reapply the paste, clean the heat sink. Dust is an excellent
thermal insulator!.

Does the system fan have three wires? If there are only two, the fan lacks
tachometer feedback and will always read '0'. I have seen many systems that
have a motherboard supporting fan speed reporting (I think all modern ones
do), but lacking the slightly more expensive fan that actually provides the
information.

I also would suggest disabling throttling and TCC on non-current systems.
11 will FINALLY disable these by default. (I've been beating this horse
since at least v7 and I am amazed that it was not dead!) While this might
not help, it will leave TCC at its default of "AUTO" for thermal control
instead of attempting to make it a power management tool.

In /boot/loader.conf:
hint.p4tcc.0.disabled=1
hint.acpi_throttle.0.disabled=1
--
Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1tyhqJ7p3sNfBL%2BzENzbyvYq%2B6f4OAxSONG=zKSKowP4g>