You are not logged in.

#1 2014-08-10 17:28:14

nugetchar
Member
Registered: 2014-08-09
Posts: 39
Website

[solved] How to disable hyper-threading

Hi

I've got a DELL latitude E6430 with a Intel Core i7 (quadri-core). My kernel version is Linux 3.15.8-1.
I noticed that my machine was actually working with hyper-threading thanks to the htop command which prints 8 cores. I don't need 8 cores, and I would like to improve my battery life instead. So my question is quite simple : How can I disable hyper-threading for all my cores, and is it possible to disable it for only two of them?

Last edited by nugetchar (2014-08-11 12:49:37)

Offline

#2 2014-08-10 17:44:31

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: [solved] How to disable hyper-threading

It's controlled at the firmware level, from the motherboard setup menu. But you probably aren't going to get any more battery life than you've already got. The kernel handles Intel CPU throttling and process management automatically, and tries to maximize efficiency on its own. You can't disable the physical cores anyway. You can give it a shot, but you almost certainly won't notice any difference.

Offline

#3 2014-08-10 17:49:15

nugetchar
Member
Registered: 2014-08-09
Posts: 39
Website

Re: [solved] How to disable hyper-threading

Mmmh okay, well I trust you, I don't want to risk to do something dirty for nothing. Thanks anyway smile

Offline

#4 2014-08-10 18:41:59

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: [solved] How to disable hyper-threading

It's not "dirty;" you just reboot, open the system settings menu (press Esc or F2 or whatever) and find the option to turn off hyperthreading. It won't hurt anything, I just suspect it won't help extend your battery life either. wink

Offline

#5 2014-08-10 22:26:26

nugetchar
Member
Registered: 2014-08-09
Posts: 39
Website

Re: [solved] How to disable hyper-threading

Okay so I tried and it changes nothing. The problem is my battery is this model. According to my laptop watt-consumption and the fact that this battery supplies 97Whr, it should last at least more than 7 hours. It barely lasts 3 hours...

Well I have to unmark this topic solved because now, I have to face a problem I cannot explain : why does this battery lasts only 3 hours?

I thought it could be a hardware problem, but I don't know how to be sure. For information, ma battery is 1 y.o...

Offline

#6 2014-08-11 02:39:12

Pse
Member
Registered: 2008-03-15
Posts: 415

Re: [solved] How to disable hyper-threading

You should probably go over this wiki entry to see if you can get any improvements:

https://wiki.archlinux.org/index.php/Power_saving

Offline

#7 2014-08-11 02:46:41

SilverOne
Member
From: Portugal
Registered: 2013-08-22
Posts: 69

Re: [solved] How to disable hyper-threading

well does your computer have two graphic cards? i have a macbook pro and get around 5 hours with the intel gpu and maybe 2 ~ 3 with the amd gpu.


Best Regards,
SilverOne

Offline

#8 2014-08-11 12:49:24

nugetchar
Member
Registered: 2014-08-09
Posts: 39
Website

Re: [solved] How to disable hyper-threading

@Pse : thanks, I'm currently reading it.
@SilverOne : yes, and I ue an nVidia card with the Optimus technology.

But don't worry guys, I managed to gain like 2 or 3 hours of autonomy by modifying some settings in the setup menu.

Offline

Board footer

Powered by FluxBB