power usage - debian buster on coffee lake laptop

Kernels & Hardware, configuring network, installing services

power usage - debian buster on coffee lake laptop

Postby sofarsogood » 2018-12-16 08:14

Hi

I'm setting up a Coffee Lake laptop (Dell Precision 7530, i7-8750K 6 core, 16GB DDR4 RAM, Intel UHD 630, NVidia Quadro P1000, 512GB SSD) with Debian Buster. (4.18 kernel, minimal Xfce). So far, the best power consumption I can manage is 10-11W with the system idle (just after boot, no network up, Xwindows not started, bluetooth rfkill'ed). TLP is installed and powertop reports all tunables as good except "VM writeback timeout". vgaswitcheroo shows the DIS graphics to be DynOff (nouveau driver, I don't need the NVidia card for the work I do)

My previous laptop was a Haswell machine (Dell Latitude E6440, i7-4610M 4 core, 16GB DDR3 RAM, Intel 4th gen graphics, AMD 8690M, 256GB SSD) and under similar conditions it would run 7-8W.

The specs of the P7530 are way better so maybe it is the extra cores, faster RAM, bigger SSD etc.

Does anyone have any experience with the power consumption of Coffee Lake laptops?

Thanks all
sofarsogood
 
Posts: 11
Joined: 2017-01-14 12:04

Re: power usage - debian buster on coffee lake laptop

Postby bw123 » 2018-12-16 18:23

Did you check that frequency scaling is functioning correctly with cpufreq-info from pkg cpufrequtils?

There's also some newer stuff being worked in apparently, haven't needed or used it.
https://packages.debian.org/search?keyw ... x-cpupower
User avatar
bw123
 
Posts: 3685
Joined: 2011-05-09 06:02
Location: TN_USA

Re: power usage - debian buster on coffee lake laptop

Postby stevepusser » 2018-12-17 00:06

Yes, it's the cores. You might be able to undervolt it with iuvolt

I have an MSI laptop with the same CPU, and use -143.6 -110 -143.6

You can see the voltage drop with i7z on the command line. It also reduces thermal throttling on my machine when I stress all CPU cores..3.2 to 3.6 GHz max speed when all are going full out. Your voltages may vary, so I'd check the Dell laptop owners forums at notebookreview.com to see what numbers other owners are using with Throttlestop.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, 4.19.13 kernel, wine-staging 4.0~rc4, Stellarium 0.18.3, VLC 3.0.5, Midori 7.0
User avatar
stevepusser
 
Posts: 10443
Joined: 2009-10-06 05:53

Re: power usage - debian buster on coffee lake laptop

Postby sofarsogood » 2018-12-17 23:01

Hi bw123

I tried a run of cpufreq-info and teh abridged output is:
Code: Select all
  current policy: frequency should be within 800 MHz and 4.10 GHz.
  current CPU frequency is 800 MHz.
  current policy: frequency should be within 800 MHz and 4.10 GHz.
  current CPU frequency is 800 MHz.
  current policy: frequency should be within 800 MHz and 4.10 GHz.
  current CPU frequency is 800 MHz.
  current policy: frequency should be within 800 MHz and 4.10 GHz.
  current CPU frequency is 800 MHz.
  current policy: frequency should be within 800 MHz and 4.10 GHz.
  current CPU frequency is 800 MHz.
  current policy: frequency should be within 800 MHz and 4.10 GHz.
  current CPU frequency is 800 MHz.
  current policy: frequency should be within 800 MHz and 4.10 GHz.
  current CPU frequency is 800 MHz.
  current policy: frequency should be within 800 MHz and 4.10 GHz.
  current CPU frequency is 801 MHz.
  current policy: frequency should be within 800 MHz and 4.10 GHz.
  current CPU frequency is 800 MHz.
  current policy: frequency should be within 800 MHz and 4.10 GHz.
  current CPU frequency is 800 MHz.
  current policy: frequency should be within 800 MHz and 4.10 GHz.
  current CPU frequency is 800 MHz.
  current policy: frequency should be within 800 MHz and 4.10 GHz.
  current CPU frequency is 800 MHz.


I also took a look at the freq and idle info in powertop:
Code: Select all
CPU;0;CPU;6
POLL;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C1E;  0.1%;   3.5 ms;  0.0%;   1.1 ms
;
C3;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C6;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C7s;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C8;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C9;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C10; 99.8%; 203.9 ms;100.0%; 555.8 ms
CPU;1;CPU;7
POLL;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C1E;  0.0%;   0.9 ms;  0.0%;   1.1 ms
;
C3;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C6;  0.1%;   0.2 ms;  0.0%;   0.0 ms
C7s;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C8;  0.4%;   0.9 ms;  0.0%;   0.0 ms
C9;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C10; 98.9%; 286.9 ms;100.0%; 571.7 ms
CPU;2;CPU;8
POLL;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C1E;  0.0%;   1.8 ms;  0.0%;   1.1 ms
;
C3;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C6;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C7s;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C8;  0.2%;   3.4 ms;  0.0%;   0.0 ms
C9;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C10; 99.8%; 285.3 ms;100.0%; 588.6 ms
CPU;3;CPU;9
POLL;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C1E;  0.1%;   0.5 ms;  0.0%;   1.1 ms
;
C3;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C6;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C7s;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C8;  0.2%;   1.6 ms;  0.0%;   0.0 ms
C9;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C10; 99.8%; 713.1 ms;100.0%; 500.3 ms
CPU;4;CPU;10
POLL;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C1E;  0.0%;   0.8 ms;  0.0%;   1.1 ms
;
C3;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C6;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C7s;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C8;  0.0%;   1.8 ms;  0.0%;   0.0 ms
C9;  2.9%; 114.2 ms;  0.0%;   0.0 ms
C10; 97.1%; 308.5 ms;100.0%; 714.7 ms
CPU;5;CPU;11
POLL;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C1E;  0.0%;   0.0 ms;  0.1%;   3.4 ms
;
C3;  0.0%;   0.0 ms;  0.0%;   1.8 ms
C6;  0.0%;   0.0 ms;  0.0%;   0.5 ms
C7s;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C8;  0.1%;   3.4 ms;  0.3%;   3.6 ms
C9;  0.0%;   0.0 ms;  0.0%;   0.0 ms
C10; 99.8%;1109.6 ms; 99.5%; 165.9 ms


They seemed ok to me. Did you spot anything?

Thanks for the reply.
sofarsogood
 
Posts: 11
Joined: 2017-01-14 12:04

Re: power usage - debian buster on coffee lake laptop

Postby sofarsogood » 2018-12-17 23:09

Hi stevepusser

Undervolting is something I hadn't considered.

Got a busy period coming up so might be a while before I get to experiment with it.

Thanks for the suggestion.
sofarsogood
 
Posts: 11
Joined: 2017-01-14 12:04

Re: power usage - debian buster on coffee lake laptop

Postby stevepusser » 2018-12-17 23:16

There is a setting in tlp to minimize use of cores/hyperthreads on battery, at least according to SCHED_POWERSAVE_ON_BAT in the GUI for it, "tlpui".

Tlpui is a Python program, so there's a very good chance that the Stretch MX 17 package will work on Buster, too.

http://mxrepo.com/mx/testrepo/pool/test/t/tlpui/

If we move it from test to main, you can find it here: https://repology.org/metapackage/tlpui/versions

or here: http://mxrepo.com/

It seems you might also need to reboot after setting up iuvolt, bc, and i7z; at least I was getting an error until I did that.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, 4.19.13 kernel, wine-staging 4.0~rc4, Stellarium 0.18.3, VLC 3.0.5, Midori 7.0
User avatar
stevepusser
 
Posts: 10443
Joined: 2009-10-06 05:53

Re: power usage - debian buster on coffee lake laptop

Postby sofarsogood » 2018-12-19 19:14

I took a look in /etc/default/tlp and SCHED_POWERSAVE_ON_BAT was already set.

I thought that I would try running Debian 9 with a back-ported 4.18 kernel (need it for the network drivers) as a dual boot. The logic being that the packages in Deb 10 are still pre-beta and may not be compiled with full optimisation yet. So, Deb9 after install of minimal X and minimal Xfce was running at 9.3W. I installed tlp from backports and power usage went up to 10.7W, uninstalled tlp and power consumption went back down to 9.3W.

I ran out of time so not sure what that means yet.
sofarsogood
 
Posts: 11
Joined: 2017-01-14 12:04


Return to System configuration

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable