I'm running the 4.9.29-17 testing kernel on dom0, because my display requires 
it.

At idle, my CPU runs around 40-45C. This is when I'm not using the laptop and 
Qubes VM Manager, as well as dom0 system tools, show ~0% CPU usage.

Under load it can spike as high as 75C. Load in this case might be browsing an 
SAAS tool or viewing a YouTube video.

I have an internal battery plus the largest external battery available, 94 Wh 
in total. Normally, on Windows, this would translate into 12 to 17 hours of 
battery life, but on Qubes I'm looking at 6 or less.

I'm assuming this has something to do with power management, so here is what 
I'm seeing in xenpm while the system is under light to moderate load and the 
system is hovering around 50C:

-------------------------------------

dom0: xenpm start 60

Timeout set to 60 seconds
Start sampling, waiting for CTRL-C or SIGINT or SIGALARM signal ...
Elapsed time (ms): 60000

CPU0:   Residency(ms)           Avg Res(ms)
  C0    17208   (28.58%)        0.08
  C1    42991   (71.40%)        0.20
  C2    9       ( 0.02%)        0.30
  C3    0       ( 0.00%)        0.00

  P0    0       ( 0.00%)
  P1    868     ( 5.53%)
  P2    13      ( 0.09%)
  P3    0       ( 0.00%)
  P4    7       ( 0.05%)
  P5    67      ( 0.43%)
  P6    85      ( 0.54%)
  P7    69      ( 0.44%)
  P8    20      ( 0.13%)
  P9    94      ( 0.60%)
  P10   61      ( 0.39%)
  P11   137     ( 0.87%)
  P12   92      ( 0.59%)
  P13   64      ( 0.41%)
  P14   406     ( 2.59%)
  P15   13719   (87.33%)
  Avg freq      1036370 KHz

CPU1:   Residency(ms)           Avg Res(ms)
  C0    17209   (28.58%)        0.08
  C1    42992   (71.41%)        0.20
  C2    7       ( 0.01%)        0.36
  C3    0       ( 0.00%)        0.00

  P0    0       ( 0.00%)
  P1    925     ( 5.89%)
  P2    18      ( 0.12%)
  P3    33      ( 0.21%)
  P4    38      ( 0.25%)
  P5    50      ( 0.32%)
  P6    38      ( 0.25%)
  P7    67      ( 0.43%)
  P8    37      ( 0.24%)
  P9    104     ( 0.66%)
  P10   91      ( 0.58%)
  P11   156     ( 1.00%)
  P12   73      ( 0.47%)
  P13   59      ( 0.38%)
  P14   444     ( 2.83%)
  P15   13580   (86.39%)
  Avg freq      1036370 KHz

CPU2:   Residency(ms)           Avg Res(ms)
  C0    17408   (28.91%)        0.07
  C1    42792   (71.07%)        0.17
  C2    7       ( 0.01%)        0.40
  C3    0       ( 0.00%)        0.00

  P0    0       ( 0.00%)
  P1    895     ( 5.67%)
  P2    17      ( 0.11%)
  P3    20      ( 0.13%)
  P4    60      ( 0.38%)
  P5    17      ( 0.11%)
  P6    46      ( 0.30%)
  P7    104     ( 0.66%)
  P8    21      ( 0.13%)
  P9    94      ( 0.60%)
  P10   50      ( 0.32%)
  P11   175     ( 1.11%)
  P12   85      ( 0.54%)
  P13   43      ( 0.28%)
  P14   494     ( 3.13%)
  P15   13685   (86.54%)
  Avg freq      1036370 KHz

CPU3:   Residency(ms)           Avg Res(ms)
  C0    17389   (28.88%)        0.06
  C1    42814   (71.11%)        0.15
  C2    4       ( 0.01%)        0.27
  C3    0       ( 0.00%)        0.00

  P0    0       ( 0.00%)
  P1    888     ( 5.63%)
  P2    11      ( 0.07%)
  P3    0       ( 0.00%)
  P4    34      ( 0.22%)
  P5    59      ( 0.38%)
  P6    37      ( 0.24%)
  P7    65      ( 0.41%)
  P8    40      ( 0.26%)
  P9    88      ( 0.56%)
  P10   60      ( 0.39%)
  P11   143     ( 0.91%)
  P12   53      ( 0.34%)
  P13   100     ( 0.63%)
  P14   523     ( 3.32%)
  P15   13660   (86.64%)
  Avg freq      1036370 KHz

Socket 0
         Core 0 CPU 0
         Core 1 CPU 2

---------------------------------------

And what xenpm is showing for frequency parameters

---------------------------------------

cpu id               : 0
affected_cpus        : 0
cpuinfo frequency    : max [2801000] min [400000] cur [800000]
scaling_driver       : acpi-cpufreq
scaling_avail_gov    : userspace performance powersave ondemand
current_governor     : ondemand
  ondemand specific  :
    sampling_rate    : max [10000000] min [10000] cur [20000]
    up_threshold     : 80
scaling_avail_freq   : 2801000 2800000 2700000 2500000 2400000 2200000 2000000 
1800000 1600000 1500000 1300000 1100000 800000 700000 600000 *400000
scaling frequency    : max [2800000] min [400000] cur [400000]
turbo mode           : enabled

cpu id               : 1
affected_cpus        : 1
cpuinfo frequency    : max [2801000] min [400000] cur [800000]
scaling_driver       : acpi-cpufreq
scaling_avail_gov    : userspace performance powersave ondemand
current_governor     : ondemand
  ondemand specific  :
    sampling_rate    : max [10000000] min [10000] cur [20000]
    up_threshold     : 80
scaling_avail_freq   : 2801000 2800000 2700000 2500000 2400000 2200000 2000000 
1800000 1600000 1500000 1300000 1100000 800000 700000 600000 *400000
scaling frequency    : max [2800000] min [400000] cur [400000]
turbo mode           : enabled

cpu id               : 2
affected_cpus        : 2
cpuinfo frequency    : max [2801000] min [400000] cur [800000]
scaling_driver       : acpi-cpufreq
scaling_avail_gov    : userspace performance powersave ondemand
current_governor     : ondemand
  ondemand specific  :
    sampling_rate    : max [10000000] min [10000] cur [20000]
    up_threshold     : 80
scaling_avail_freq   : 2801000 2800000 2700000 2500000 2400000 2200000 2000000 
1800000 1600000 1500000 1300000 1100000 800000 700000 600000 *400000
scaling frequency    : max [2800000] min [400000] cur [400000]
turbo mode           : enabled

cpu id               : 3
affected_cpus        : 3
cpuinfo frequency    : max [2801000] min [400000] cur [800000]
scaling_driver       : acpi-cpufreq
scaling_avail_gov    : userspace performance powersave ondemand
current_governor     : ondemand
  ondemand specific  :
    sampling_rate    : max [10000000] min [10000] cur [20000]
    up_threshold     : 80
scaling_avail_freq   : 2801000 2800000 2700000 2500000 2400000 2200000 2000000 
1800000 1600000 1500000 1300000 1100000 800000 700000 600000 *400000
scaling frequency    : max [2800000] min [400000] cur [400000]
turbo mode           : enabled

-------------------------------------------

To me this all seems pretty reasonable, but there's clearly something wrong. 
Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/f41f06b7-64c8-4e1c-ab4b-d9fa3c88f9d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to