Skip to content

Instantly share code, notes, and snippets.

@tanakamura
Last active November 8, 2021 12:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tanakamura/9440adeb749c6bbd2f9e024155f90304 to your computer and use it in GitHub Desktop.
Save tanakamura/9440adeb749c6bbd2f9e024155f90304 to your computer and use it in GitHub Desktop.

https://gist.github.com/tanakamura/efbfab5cfdf6707d098714d616dd6ef3

PL2 を変えてやってみた

PL2 = 80W

 Performance counter stats for 'make -j 40':

      1,434,950.67 msec task-clock                #   18.018 CPUs utilized
           356,248      context-switches          #  248.265 /sec
            39,154      cpu-migrations            #   27.286 /sec
        53,179,405      page-faults               #   37.060 K/sec
 4,402,730,898,128      cpu_core/cycles/          #    3.068 G/sec                    (92.78%)
 1,299,790,565,661      cpu_atom/cycles/          #  905.809 M/sec                    (66.05%)
 5,039,193,669,901      cpu_core/instructions/    #    3.512 G/sec                    (92.78%)
 1,515,879,976,927      cpu_atom/instructions/    #    1.056 G/sec                    (66.05%)
 1,066,021,211,832      cpu_core/branches/        #  742.897 M/sec                    (92.78%)
   319,682,609,192      cpu_atom/branches/        #  222.783 M/sec                    (66.05%)
    26,986,051,131      cpu_core/branch-misses/   #   18.806 M/sec                    (92.78%)
     8,568,282,108      cpu_atom/branch-misses/   #    5.971 M/sec                    (66.05%)

      79.638381338 seconds time elapsed

    1299.516256000 seconds user
     132.865986000 seconds sys


6024.618794 [J]

PL2 = 100W

Kernel: arch/x86/boot/bzImage is ready  (#17)

 Performance counter stats for 'make -j 40':

      1,332,063.88 msec task-clock                #   17.879 CPUs utilized
           351,666      context-switches          #  264.001 /sec
            39,644      cpu-migrations            #   29.761 /sec
        53,170,341      page-faults               #   39.916 K/sec
 4,475,024,938,038      cpu_core/cycles/          #    3.359 G/sec                    (93.05%)
 1,390,233,182,298      cpu_atom/cycles/          #    1.044 G/sec                    (60.76%)
 5,047,304,143,745      cpu_core/instructions/    #    3.789 G/sec                    (93.05%)
 1,613,942,262,542      cpu_atom/instructions/    #    1.212 G/sec                    (60.76%)
 1,067,641,081,527      cpu_core/branches/        #  801.494 M/sec                    (93.05%)
   340,459,316,552      cpu_atom/branches/        #  255.588 M/sec                    (60.76%)
    26,924,153,073      cpu_core/branch-misses/   #   20.212 M/sec                    (93.05%)
     9,128,683,657      cpu_atom/branch-misses/   #    6.853 M/sec                    (60.76%)

      74.503134705 seconds time elapsed

    1204.126949000 seconds user
     125.515988000 seconds sys


7041.411845 [J]

PL2を80Wに下げれば 時間が 70sec -> 80secに悪くなって 消費電力が 9956J -> 6024J に

あなたはどう思いますか?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment