From owner-freebsd-acpi@FreeBSD.ORG Wed May 6 00:48:48 2015 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8C829B44 for ; Wed, 6 May 2015 00:48:48 +0000 (UTC) Received: from mail.strugglingcoder.info (strugglingcoder.info [65.19.130.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7A7EF1317 for ; Wed, 6 May 2015 00:48:48 +0000 (UTC) Received: from localhost (unknown [10.1.1.3]) (Authenticated sender: hiren@strugglingcoder.info) by mail.strugglingcoder.info (Postfix) with ESMTPSA id 8F26810F515 for ; Tue, 5 May 2015 17:48:46 -0700 (PDT) Date: Tue, 5 May 2015 17:48:46 -0700 From: hiren panchasara To: freebsd-acpi@freebsd.org Subject: Fan speed settings on MSI motherboard with AMD cpu Message-ID: <20150506004846.GL62838@strugglingcoder.info> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HLsZ5Z1opAQvdr2J" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2015 00:48:48 -0000 --HLsZ5Z1opAQvdr2J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Running -head as of today and have amdtemp.ko loaded. rc.conf has: powerd_enable=3D"YES" performance_cx_lowest=3D"Cmax" economy_cx_lowest=3D"Cmax" $ sysctl hw.model hw.model: AMD FX(tm)-8350 Eight-Core Processor =20 $ 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=3Dnone _UID=3D0 dev.cpu.0.%location: handle=3D\_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=20 options - S1/S3 "H/W Monitor" -> CPU Smart Fan Target : Disabled by default=20 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. Cheers, Hiren --HLsZ5Z1opAQvdr2J Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQF8BAEBCgBmBQJVSWTtXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4 QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/lwtYH/iTlKNonNDAjaPMFRrILr6Pc Hx5V9t5LsSEPeGTYvPn9QePscpGvgDa7hnZoJudT+6Z7Fj5t+qnVUhjC4L+5YzM9 84eP18PMlJboJHeqK1eMncPM3p9EpwRw4d2+5ES0b+QWwAV6U0MYXcGcRNaMhbhJ Yn7xWJXA0B0FTT89dxdN8NyE1bzeYJe3ATdniYzNbogAEWEoX0a/H01XGZZmWauX a67HdisPfZUm1PaQ61MR5sq3U4+C01iSOBWrRnOJhjfXysWfHDIgkyNOfnrAPPuP dQ5S1iv9XFDCuJbhJq3qSfpJ/iuGe4M4WcReZ7lQc3xwEXspRZiJ9kOLCfBpGxc= =xdPG -----END PGP SIGNATURE----- --HLsZ5Z1opAQvdr2J-- From owner-freebsd-acpi@FreeBSD.ORG Wed May 6 16:59:32 2015 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 91429886 for ; Wed, 6 May 2015 16:59:32 +0000 (UTC) Received: from mail.strugglingcoder.info (strugglingcoder.info [65.19.130.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 71B111FED for ; Wed, 6 May 2015 16:59:31 +0000 (UTC) Received: from localhost (unknown [10.1.1.3]) (Authenticated sender: hiren@strugglingcoder.info) by mail.strugglingcoder.info (Postfix) with ESMTPSA id 5283D10F62D for ; Wed, 6 May 2015 09:59:30 -0700 (PDT) Date: Wed, 6 May 2015 09:59:30 -0700 From: hiren panchasara To: freebsd-acpi@freebsd.org Subject: Re: Fan speed settings on MSI motherboard with AMD cpu Message-ID: <20150506165930.GM62838@strugglingcoder.info> References: <20150506004846.GL62838@strugglingcoder.info> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2YJj5f1P6Th4nBRw" Content-Disposition: inline In-Reply-To: <20150506004846.GL62838@strugglingcoder.info> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2015 16:59:32 -0000 --2YJj5f1P6Th4nBRw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 05/05/15 at 05:48P, hiren panchasara wrote: > Running -head as of today and have amdtemp.ko loaded. >=20 > rc.conf has: > powerd_enable=3D"YES" > performance_cx_lowest=3D"Cmax" > economy_cx_lowest=3D"Cmax" >=20 > $ sysctl hw.model > hw.model: AMD FX(tm)-8350 Eight-Core Processor =20 > $ sysctl hw.ncpu > hw.ncpu: 8 >=20 > $ 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 >=20 > (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=3Dnone _UID=3D0 > dev.cpu.0.%location: handle=3D\_PR_.P001 > dev.cpu.0.%driver: cpu > dev.cpu.0.%desc: ACPI CPU >=20 > $ 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 >=20 > I can literally head the fan noise. Even when the box is not doing anythi= ng. >=20 > Now, from the bios side, I tried a bunch of things without much success. >=20 > This is what I am looking at: >=20 > "Power Management Setup" -> ACPI Standby State=20 > options - S1/S3 > "H/W Monitor" -> CPU Smart Fan Target : Disabled by default=20 > options - 40/45/50/44/60 > -> SYS FAN 1 Control : Default 100% > options - 50%/75%/100% >=20 > ----- "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 >=20 > "Green Power" -> CPU Phase Control : Disabled by default > options - Auto/Disabled >=20 > 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 --2YJj5f1P6Th4nBRw Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQF8BAEBCgBmBQJVSkhwXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4 QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/l+pEH/0l1Uk/vxQig+7cbdRkRyd1X 60938I26NQ3t0nmj7NKqGS+3+zN9a0qdANRAO4anS8GGug5EebWsmc61SOS7uBUk IS6SVFl4CfnQjTzlyLIJJOjQQcwXeWVTlYzxoaaTF9Gwg4jzZiwYFSCkyFl4Kgdn YR/3nZS3UAIEP0A0P28uXsS0KGKzDFnldP5NynTo9cKpHnTnzdMKLCh+B4RKmjQq AoVfgtxBgA7xllWdaiYk971d1sQ8LswYsxVb8Vtcw2MfoEQ+44r28CXbUGf7pJ4p npvFSKRB1o1/rJwOA7VY7fzXHrw5wQpCJtMr23tyRT99WDN9H4CVD/OE3HztFbw= =2zQY -----END PGP SIGNATURE----- --2YJj5f1P6Th4nBRw-- From owner-freebsd-acpi@FreeBSD.ORG Wed May 6 19:21:54 2015 Return-Path: Delivered-To: acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 249CEA3 for ; Wed, 6 May 2015 19:21:54 +0000 (UTC) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E09AD11B5 for ; Wed, 6 May 2015 19:21:53 +0000 (UTC) Received: by iedfl3 with SMTP id fl3so24987117ied.1 for ; Wed, 06 May 2015 12:21:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=QrLhhpfN7aSSEXg2z6pj2/2ZTz6Evq+JmWO2AisB3hA=; b=yYuKGaHbhvxNp5GCPNbrjBl98fhVW8s3xyX2PQJ7nECGjACq5osodcOjyxW8p7Z/Y4 9U2z2rRJg05DQNDtNa2dBk+FbbHwwi37JnntojMu4NW+A3Zcf6mV9edLMKeAgqfu5H0i 86G7Cb4PGBKPIjZtbvnkEwrEPH+qUbmr9CSpNsjRKK7AWzk37fx9ExUMRpfAjl5WguCk 5oGvhwI2wzZjZpVVkVR9XWW/OIke2aOmjmXs0BnjQt+6TUBbmqCTEBcyNMoKO9ySWq0Q kYPjsfkaxWVkIOWzkjws7ImnaBLRnvco0UX+XEGtBNlR6KVqTBx/53gjBFLj9hzumCpn Nnbw== MIME-Version: 1.0 X-Received: by 10.50.78.170 with SMTP id c10mr74061igx.0.1430940113236; Wed, 06 May 2015 12:21:53 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.107.174.22 with HTTP; Wed, 6 May 2015 12:21:53 -0700 (PDT) In-Reply-To: <20150506165930.GM62838@strugglingcoder.info> References: <20150506004846.GL62838@strugglingcoder.info> <20150506165930.GM62838@strugglingcoder.info> Date: Wed, 6 May 2015 12:21:53 -0700 X-Google-Sender-Auth: cuckRuurqWQCCfHDnEiuzmQsO8A Message-ID: Subject: Re: Fan speed settings on MSI motherboard with AMD cpu From: Kevin Oberman To: hiren panchasara , "freebsd-acpi@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2015 19:21:54 -0000 On Wed, May 6, 2015 at 9:59 AM, hiren panchasara 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 From owner-freebsd-acpi@FreeBSD.ORG Wed May 6 23:28:44 2015 Return-Path: Delivered-To: acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C02EB772 for ; Wed, 6 May 2015 23:28:44 +0000 (UTC) Received: from mail.strugglingcoder.info (strugglingcoder.info [65.19.130.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AAC001EFD for ; Wed, 6 May 2015 23:28:44 +0000 (UTC) Received: from localhost (unknown [10.1.1.3]) (Authenticated sender: hiren@strugglingcoder.info) by mail.strugglingcoder.info (Postfix) with ESMTPSA id D6B0210F829; Wed, 6 May 2015 16:28:36 -0700 (PDT) Date: Wed, 6 May 2015 16:28:36 -0700 From: hiren panchasara To: Kevin Oberman Cc: "freebsd-acpi@freebsd.org" Subject: Re: Fan speed settings on MSI motherboard with AMD cpu Message-ID: <20150506232836.GN62838@strugglingcoder.info> References: <20150506004846.GL62838@strugglingcoder.info> <20150506165930.GM62838@strugglingcoder.info> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="uWbmMdDzzl2TXAgx" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2015 23:28:44 -0000 --uWbmMdDzzl2TXAgx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 05/06/15 at 12:21P, Kevin Oberman wrote: > On Wed, May 6, 2015 at 9:59 AM, hiren panchasara > wrote: >=20 > > 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=3D"YES" > > > performance_cx_lowest=3D"Cmax" > > > economy_cx_lowest=3D"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=3Dnone _UID=3D0 > > > dev.cpu.0.%location: handle=3D\_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 succe= ss. > > > > > > 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 spinn= ing. > > > 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 > > >=20 > When you reapply the paste, clean the heat sink. Dust is an excellent > thermal insulator!. >=20 > 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 th= at > have a motherboard supporting fan speed reporting (I think all modern ones > do), but lacking the slightly more expensive fan that actually provides t= he > information. You are right, it only has 2 wires. >=20 > 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. >=20 > In /boot/loader.conf: > hint.p4tcc.0.disabled=3D1 > hint.acpi_throttle.0.disabled=3D1 I am on yesterday's current and tried above explicitly in loader.conf without much success.=20 I just dusted off things but I guess I'll have to reapply the paste. I'll let you'll know how it goes. cheers, Hiren --uWbmMdDzzl2TXAgx Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQF8BAEBCgBmBQJVSqOkXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4 QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/lQ1sH/RvOnOAM1pi8fLOip5Jm7XVk KzJFeFkQIwrTSvdkWqQmvXHTWfr2qKd9aL9G1DaBqCE62u5l3FFX0nUuqC0Ot82e ZihnqhKhA/3J59L8A2fWgXuy9LuLJvTbyD0OHq4AKevtk5qDdntcHAkWX5VlLdI3 jrcluZFbPZfvqmdualTRDenHtExNuv6vUIZsYwflyNitIJjBPjxlC5mLD0OCuHCC Aha9Mrs49qJOLI/04FOqPsZgOKsyMdXEkde2fdavdL4dtjcs6Pc0SNz+x9iSjVfJ I45OQNp2Cik9nyiMr4UAG5rHGpb0xIqnlXBv60DcdRVXwh2ctJK8gWdyaF0ftgo= =lHO7 -----END PGP SIGNATURE----- --uWbmMdDzzl2TXAgx-- From owner-freebsd-acpi@FreeBSD.ORG Thu May 7 01:36:50 2015 Return-Path: Delivered-To: acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 804A3619 for ; Thu, 7 May 2015 01:36:50 +0000 (UTC) Received: from mail.strugglingcoder.info (strugglingcoder.info [65.19.130.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5F78B1CFC for ; Thu, 7 May 2015 01:36:50 +0000 (UTC) Received: from localhost (unknown [10.1.1.3]) (Authenticated sender: hiren@strugglingcoder.info) by mail.strugglingcoder.info (Postfix) with ESMTPSA id 7E34F10FDB3; Wed, 6 May 2015 18:36:49 -0700 (PDT) Date: Wed, 6 May 2015 18:36:49 -0700 From: hiren panchasara To: Kevin Oberman Cc: "freebsd-acpi@freebsd.org" Subject: Re: Fan speed settings on MSI motherboard with AMD cpu Message-ID: <20150507013649.GO62838@strugglingcoder.info> References: <20150506004846.GL62838@strugglingcoder.info> <20150506165930.GM62838@strugglingcoder.info> <20150506232836.GN62838@strugglingcoder.info> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="WoqaC9TUMqqIOlla" Content-Disposition: inline In-Reply-To: <20150506232836.GN62838@strugglingcoder.info> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2015 01:36:50 -0000 --WoqaC9TUMqqIOlla Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 05/06/15 at 04:28P, hiren panchasara wrote: > On 05/06/15 at 12:21P, Kevin Oberman wrote: > > On Wed, May 6, 2015 at 9:59 AM, hiren panchasara > > wrote: > >=20 > > > 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=3D"YES" > > > > performance_cx_lowest=3D"Cmax" > > > > economy_cx_lowest=3D"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/27= 56 > > > > 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=3Dnone _UID=3D0 > > > > dev.cpu.0.%location: handle=3D\_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 suc= cess. > > > > > > > > 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 spi= nning. > > > > 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 > > > > >=20 > > When you reapply the paste, clean the heat sink. Dust is an excellent > > thermal insulator!. > >=20 > > Does the system fan have three wires? If there are only two, the fan la= cks > > tachometer feedback and will always read '0'. I have seen many systems = that > > have a motherboard supporting fan speed reporting (I think all modern o= nes > > do), but lacking the slightly more expensive fan that actually provides= the > > information. >=20 > You are right, it only has 2 wires. > >=20 > > I also would suggest disabling throttling and TCC on non-current system= s. > > 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 mig= ht > > not help, it will leave TCC at its default of "AUTO" for thermal control > > instead of attempting to make it a power management tool. > >=20 > > In /boot/loader.conf: > > hint.p4tcc.0.disabled=3D1 > > hint.acpi_throttle.0.disabled=3D1 >=20 > I am on yesterday's current and tried above explicitly in loader.conf > without much success.=20 >=20 > I just dusted off things but I guess I'll have to reapply the paste. > I'll let you'll know how it goes. Hum, I had a little bigger cooler master hyper 212 plus sitting around so I installed that in place of the default that I got a couple years back. Machine seems happy and a lot quieter. Cheers, Hiren --WoqaC9TUMqqIOlla Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQF8BAEBCgBmBQJVSsGwXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4 QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/lX9YH/AypjPcUhj7YcR9rc3ZAyhwf TTMlrXMxpgseG9z+jIDFSazQwZPOfXRms4FW4vU3xRHvgLHmzOvvCiU/7L+iv2dl /lztX34XBKcFHke8+LiqkrgFJX2fj9tacMYtBbvTzfxmKEPKWVBWdL1k/LViSOqC Z1FO2r2EX6UHUOt27r4xNFBI3oIEwfIu5ggvWAjlt/zXyeSg902PwxpDFofyu+Di 7Btg4JrVkB79J0FJjLIIrNsEgH0CFS/NpJbNQEa+lXlI76VYvreHuvxS3vwX4L61 N6MgyF8yVn1Hfwend3Woa2/dV5RQpJ+++jGLOajDmoEfqSCcaDuzrMZ3DL81Ub8= =p4pa -----END PGP SIGNATURE----- --WoqaC9TUMqqIOlla-- From owner-freebsd-acpi@FreeBSD.ORG Sat May 9 14:49:19 2015 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9D3C6CF for ; Sat, 9 May 2015 14:49:19 +0000 (UTC) Received: from smtp546-46.vip.sina.com.cn (r3-68.sinamail.sina.com.cn [202.108.3.68]) by mx1.freebsd.org (Postfix) with SMTP id 7E8EC1E3B for ; Sat, 9 May 2015 14:49:06 +0000 (UTC) Received: from unknown( HELO webmail.sinamail.sina.com.cn)([172.16.53.122]) by vip.sina.com with SMTP 9 May 2015 22:48:33 +0800 (CST) X-Sender: metalhardware@vip.sina.com X-SMAIL-MID: 3634002020022 Received: by webmail.sinamail.sina.com.cn (Postfix, from userid 80) id B467B58C18A; Sat, 9 May 2015 22:48:31 +0800 (CST) Date: Sat, 09 May 2015 22:48:31 +0800 Received: from metalhardware@vip.sina.com([119.130.8.89]) by vipmail2.mail.sina.com.cn via HTTP; Sat, 09 May 2015 22:48:31 +0800 (CST) Reply-To: metalhardware@vip.sina.com From: "longlongfactory" To: "freebsd-acpi" Subject: stainless steel shackles , stainless steel ring , stainless steel hooks , all kinds of stainless steel material MIME-Version: 1.0 X-Priority: 3 X-MessageID: 554e1e3f2874c32 X-Originating-IP: [172.16.53.122] X-Mailer: Sina WebMail 4.0 X-Sina-Sendseparate: 1 Message-Id: <20150509144831.B467B58C18A@webmail.sinamail.sina.com.cn> Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: base64 Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 May 2015 14:49:19 -0000 DQoNCkRlYXIgRGlyZWN0b3IgOiwKDQoKDQogICANCkdvb2QgZGF5IQ0KDQpDaGluZXNlIG1ldGFs IGhhcmR3YXJlIGZhY3RvcnkgaGVyZSwgcHJvZHVjaW5nIGFuZCBleHBvcnRpbmcgc3RhaW5sZXNz IHN0ZWVsDQpzaGFja2xlcyAsIHN0YWlubGVzcyBzdGVlbCByaW5nICxzdGFpbmxlc3Mgc3RlZWwg aG9va3MgLGFsbCBraW5kcyBvZiBzdGFpbmxlc3MNCnN0ZWVsIG1hdGVyaWFsIHdpdGggZ29vZCBx dWFsaXR5DQphbmQgdmVyeSBjb21wZXRpdGl2ZSBwcmljZSBzZWxsIGFsbCBvdmVyIHRoZSB3b3Js ZCAuCg0KCg0KICBIb3BlDQp5b3UgY291bGQgY2hlY2sgb3VyIGZhY3Rvcnkgd2Vic2l0ZSAuDQoN CiANCg0KCg0KUmdkcywKDQoKDQpyb3N5IA0KDQogDQoNCjIwMTUtMDUtMDkNCg0K