←back to thread

132 points cl3misch | 2 comments | | HN request time: 0.418s | source
Show context
ycui1986 ◴[] No.40714732[source]
In 2006, I had my first laptop right before the release of Windows Vista. Unfortunately, running Windows Vista makes my laptop hot and the fan kicked in to make a lot noise. I cannot remember the software's name which can reduce the core voltage of my single core Centrino processor. I was successful to undervolt the CPU to the lowest possible voltage. That cools down the CPU by a large margin, the laptop became quiet again (also stable). I was happy. The functionality disappears with the newer generation intel CPU releases, I had not been able to do similar thing ever since.

Back then, Intel had the best semiconductor process, and they had a wide margin on undervolting the CPU.

replies(1): >>40716916 #
LoganDark ◴[] No.40716916[source]
> The functionality disappears with the newer generation intel CPU releases, I had not been able to do similar thing ever since.

I don't know about undervolting, but ThrottleStop allowed me to run my 230W laptop off a 65W power adapter by downclocking the CPU to 800MHz!

replies(2): >>40717772 #>>40719716 #
1. bityard ◴[] No.40719716[source]
This reminds of me a funny/annoying thing I had happen to me.

A few years back, I bought a Dell laptop that was under their "workstation" line. Dell Precision 7520. The default config when ordering these was had a power-hungry nVidia GPU on a dedicated card. I customized the laptop upon ordering to remove the GPU since I wasn't going to be doing anything that needed a GPU. (I just wanted lots of ports, a nice keyboard, and a touchpad with three buttons. Thinkpad was not an option at the time for reasons.)

Unfortunately, the 7520 firmware was hardcoded with power requirements for a fully-loaded system. It came with a big 180-watt brick. I knew that the laptop wasn't going to need that much power, so I would occasionally use a 90W Dell power brick that I had laying around. I turned off the boot-time warning about an undersized power brick, reasoning that if the battery started draining while plugged in, then I would give up and switch to the bigger brick. The battery never drained.

What did happen, though, is that sometimes I would notice that certain UI things were really, really slow. I always ran a lightweight Linux desktop on the laptop, so generally the web browser was the only thing that would cause any serious CPU or memory usage. For the longest time, I just put up with the occasional slowness on big heavy drunk-with-UX-power websites.

Eventually, I got to wondering what was wrong with this laptop that made it _feel_ so much slower _sometimes_ than any other Linux system I dealt with on a daily basis. One day, after working on the couch for a bit in the morning (on battery), I went back to my desk and plugged into the AC and noticed that Slack got _very_ slow. And so did a few other things. Undock the laptop, and things were fast again. Huh, I thought. That's weird. Nothing in the kernel logs or system journal but when I happened to look at the CPU, I saw it was reporting as an 800 MHz Intel Core i5-7300HQ! Okay, that's not right!

It turns out that Dell hard-coded the firmware to throttle the CPU when a lower-than-expected wattage power brick was used. Even in configurations where that wasn't necessary or made sense. This is silly. I would have much rather had my battery start discharging if the power became an issue, than to silently throttle the CPU. (It's very common to monitor the battery! Not the CPU frequency!) (And no, the firmware warning message that I disabled didn't say that it would underclock the CPU if a lower-spec power brick was used. Just that it might lead to system instability or discharging the battery, or something to that effect.)

Anyway, there is a command you can run in Linux to force the CPU back to full speed. Once I did that, I never had any problems afterward.

replies(1): >>40720176 #
2. LoganDark ◴[] No.40720176[source]
> It turns out that Dell hard-coded the firmware to throttle the CPU when a lower-than-expected wattage power brick was used.

My laptop throttles the CPU to 800MHz when it thinks it detects a power brick that doesn't have the correct sense wire. Or, more commonly, when the power brick is not all the way plugged in (even if it is working fine).