Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #239655

Re: smart fans

From David Christensen <dpchrist@holgerdanske.com>
Newsgroups linux.debian.user
Subject Re: smart fans
Date 2021-09-04 03:50 +0200
Message-ID <CTsYF-4LT-7@gated-at.bofh.it> (permalink)
References (14 earlier) <CPMVY-1VZ-5@gated-at.bofh.it> <CPO1I-2xD-3@gated-at.bofh.it> <CRfsS-gg-9@gated-at.bofh.it> <CRpLz-6Xs-5@gated-at.bofh.it> <CTpxL-2OF-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 9/3/21 3:05 PM, Emanuel Berg wrote:
> David Christensen wrote:
> 
>> Feeding the raw data into LibreOffice Calc was problematic

<snip>

> OK, changed.


Your data format still has issues.  This is what LibreOffice Calc wants:

time,governor,processes,CPU_temperature,system_load,CPU_fan_speed,core1_freq,core2_freq,core3_freq,core4_freq
1630072652,conservative,157,33.25,0,0,1685.535,1416.164,3029.758,1415.421
1630072712,conservative,157,33.25,0,0,1537.245,1402.528,3118.173,1286.09
1630072772,conservative,157,33.25,0.06,0,1426.077,1356.078,1358.613,3049.18


Note:

1.  No extraneous characters anywhere -- e.g. spaces.

2.  No spaces in column names; use underscores and abbreviations.

3.  One column name for each and every column.

4.  Number of columns is same in every row.

5.  Commas (field separator) between every row item.

5.  Newlines (record separator) at the end of every row.


>> The system *must* be otherwise idle before and during the
>> test. The data indicates it was not.
> 
> I didn't use the computer and there was no download or
> anything explicit run by me in the background, so I don't know
> what more to do in that regard?


Then the "cpu-stats" function must be causing the spikes in the 
"core*_freq" values, by the several child processes it creates in rapid 
succession.  Get rid of the useless CPU_fan_speed call.  Insert a 1 
second sleep ahead of each of the remaining data point collection calls. 
  Adjust the iteration counts and the sleep times in the calling loops 
to compensate.


<snip>

>> There is supposed to be a cool-down delay at the start of
>> each governor sub-run. My WAG was 3 minutes. Your test did 2
>> minutes (off by 1 error).
> 
> Weird, if you mean this part of the pseudocode
> 
>    loop 3 times
>      sleep 60 seconds
>      print statistics
>    endloop
> 
> then that's this part of the zsh code
> 
>    repeat 3 {
>      sleep 60
>      cpu-stats
>    }
> 
> so I don't know what that isn't 3 minutes ... ?


I was off-by-one -- there is no "print statistics" at the top of the 
script, which means the first data row comes out after 60 seconds. 
Please add a 10 second sleep and a call to "cpu-stats" prior to the 
governor loop.


But, a fundamental reality is the Nyquist–Shannon sampling theorem:

     https://en.wikipedia.org/wiki/Nyquist%E2%80%93Shannon_sampling_theorem


Each of the data points your script is collecting has some signal 
processing behind it; notably a sampling period.  Please RTFM and see if 
you can determine the periods of the CPU temperature sensor readings and 
the core frequency readings, and if you can adjust those periods so that 
they are longer than your data collection period.


It might be best to rework the loops so that the data collection period 
is constant throughout the entire test.


>> After each loading cycle, the load processes must be killed.
> 
> OK.


Looking at the "processes", "system_load", and "core*_freq" fields, the 
overall test data indicates that the "conservative" sub-run loaded the 
machine to 100% and that the loading processes never were killed.  The 
second and subsequent governor sub-runs just added more load.  Debug the 
code related to "pids" and kill.


<snip>

>> Have you isolated and identified the primary noise
>> source(s)? Have you quantified them (e.g.
>> sound measurement)?
> 
> No?


If the loudest sound source is the PSU or GPU fan, then tuning the CPU 
and/or chassis fans isn't going to help.


<snip>


David

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 02:00 +0200
  Re: smart fans Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-08-22 02:50 +0200
    Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 03:10 +0200
      Re: smart fans Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-08-22 05:00 +0200
        Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 05:10 +0200
      Re: smart fans Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-08-22 05:10 +0200
        Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 05:30 +0200
          Re: FOSS "BIOS" (UEFI) (was: Re: smart fans) Reco <recoverym4n@enotuniq.net> - 2021-08-22 07:30 +0200
            Re: FOSS "BIOS" (UEFI) (was: Re: smart fans) Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 08:30 +0200
              Re: FOSS "BIOS" (UEFI) (was: Re: smart fans) Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 10:30 +0200
              Re: FOSS "BIOS" (UEFI) The Wanderer <wanderer@fastmail.fm> - 2021-08-22 12:10 +0200
                Re: FOSS "BIOS" (UEFI) Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 13:30 +0200
              Re: FOSS "BIOS" (UEFI) (was: Re: smart fans) Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-08-22 15:20 +0200
                Re: FOSS "BIOS" (UEFI) (was: Re: smart fans) Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 16:30 +0200
                Re: FOSS "BIOS" (UEFI) (was: Re: smart fans) Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-08-22 18:50 +0200
          FOSS "BIOS" (UEFI) (was: Re: smart fans) Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 07:30 +0200
  Re: smart fans <tomas@tuxteam.de> - 2021-08-22 09:10 +0200
    Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 09:50 +0200
      Re: smart fans <tomas@tuxteam.de> - 2021-08-22 10:00 +0200
        Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 10:10 +0200
          Re: smart fans Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-08-22 10:10 +0200
            Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 10:20 +0200
          Re: smart fans Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-08-22 10:30 +0200
            Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 10:50 +0200
              Re: smart fans Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-08-22 15:10 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 16:10 +0200
                Re: smart fans The Wanderer <wanderer@fastmail.fm> - 2021-08-22 16:10 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 16:20 +0200
                Re: smart fans Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-08-22 18:50 +0200
      Re: smart fans Hans <hans.ullrich@loop.de> - 2021-08-22 17:30 +0200
        Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 17:50 +0200
  Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-22 09:50 +0200
    Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 10:00 +0200
      Re: smart fans Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-08-22 10:20 +0200
      Re: smart fans <tomas@tuxteam.de> - 2021-08-22 10:30 +0200
        Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 10:40 +0200
        Re: smart fans Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-08-22 10:40 +0200
          Re: smart fans Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-08-22 10:40 +0200
            Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 10:50 +0200
              Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 11:30 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 11:50 +0200
                Re: smart fans Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-08-22 15:10 +0200
                Re: smart fans didier gaumet <didier.gaumet@gmail.com> - 2021-08-22 11:50 +0200
                Re: smart fans Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-08-22 15:10 +0200
              Re: smart fans didier gaumet <didier.gaumet@gmail.com> - 2021-08-22 11:30 +0200
          Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 11:00 +0200
            Re: smart fans Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-08-22 15:10 +0200
              Re: smart fans <tomas@tuxteam.de> - 2021-08-22 15:50 +0200
                Re: smart fans rhkramer@gmail.com - 2021-08-22 16:10 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 16:50 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 16:10 +0200
                Re: smart fans <tomas@tuxteam.de> - 2021-08-22 16:30 +0200
                Re: smart fans Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-08-22 18:50 +0200
                Re: smart fans Gene Heskett <gheskett@shentel.net> - 2021-08-22 23:10 +0200
                Re: smart fans Gene Heskett <gheskett@shentel.net> - 2021-08-23 00:20 +0200
                Re: smart fans "Thomas Schmitt" <scdbackup@gmx.net> - 2021-08-22 16:30 +0200
                Re: smart fans Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-08-22 18:50 +0200
                Re: smart fans Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-08-22 19:00 +0200
                Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-22 23:10 +0200
                Re: smart fans <tomas@tuxteam.de> - 2021-08-23 10:10 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-23 21:10 +0200
                Re: smart fans <tomas@tuxteam.de> - 2021-08-23 21:10 +0200
                Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-23 21:30 +0200
                Re: smart fans <tomas@tuxteam.de> - 2021-08-23 21:40 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-23 22:30 +0200
                Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-24 00:30 +0200
            Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-22 22:30 +0200
              Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 23:20 +0200
      Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-22 21:30 +0200
        Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 22:00 +0200
          Re: smart fans didier gaumet <didier.gaumet@gmail.com> - 2021-08-22 23:20 +0200
            Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 23:40 +0200
              Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-22 23:50 +0200
                Re: smart fans Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-08-23 00:40 +0200
              Re: smart fans didier gaumet <didier.gaumet@gmail.com> - 2021-08-23 09:30 +0200
        Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 22:20 +0200
          Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-22 23:10 +0200
            Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 23:30 +0200
        Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-22 23:50 +0200
          Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-23 00:10 +0200
            Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-23 02:00 +0200
              Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-23 02:10 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-23 02:40 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-23 03:00 +0200
                Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-23 03:30 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-23 21:00 +0200
                Re: smart fans "Andrew M.A. Cater" <amacater@einval.com> - 2021-08-24 18:20 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-24 23:00 +0200
                Re: smart fans Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-08-23 03:30 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-23 21:00 +0200
              Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-23 03:20 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-23 21:00 +0200
                Re: smart fans "Thomas Schmitt" <scdbackup@gmx.net> - 2021-08-23 22:50 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-23 23:00 +0200
                Re: smart fans "Thomas Schmitt" <scdbackup@gmx.net> - 2021-08-23 23:30 +0200
                Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-24 00:50 +0200
                Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-24 01:30 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-24 02:30 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-24 03:00 +0200
                Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-24 04:30 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-24 05:20 +0200
                Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-24 09:00 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-24 23:20 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-24 23:40 +0200
                Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-24 00:40 +0200
                Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-24 00:20 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-24 02:10 +0200
                Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-24 04:00 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-24 07:30 +0200
                Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-24 09:50 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-25 00:20 +0200
                Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-25 01:30 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-08-29 01:00 +0200
                Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-29 12:00 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-09-04 00:10 +0200
                Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-09-04 03:50 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-09-04 04:50 +0200
                Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-09-04 23:00 +0200
                Re: smart fans Emanuel Berg <moasenwood@zoho.eu> - 2021-09-07 03:10 +0200
                Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-09-07 23:20 +0200
                Re: smart fans David Christensen <dpchrist@holgerdanske.com> - 2021-08-24 11:20 +0200

csiph-web