Skip to content

Commit 583e156

Browse files
authored
Replace master branch with page content via GitHub
1 parent 6f4da37 commit 583e156

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -584,23 +584,23 @@ <h2>
584584
<tbody>
585585
<tr>
586586
<td>Graph 1k</td>
587-
<td>56.63,55.35</td>
588-
<td>20.24</td>
587+
<td>55.43,54.32</td>
588+
<td>54.32,53.45</td>
589589
</tr>
590590
<tr>
591591
<td>Graph 5k</td>
592-
<td>27.45</td>
593-
<td>28.42</td>
592+
<td>56.31,55.76</td>
593+
<td>55.65,54.98</td>
594594
</tr>
595595
<tr>
596596
<td>Graph 10k</td>
597-
<td>48.52</td>
598-
<td>52.24</td>
597+
<td>56.63,55.35</td>
598+
<td>56.45, 55.21</td>
599599
</tr>
600600
<tr>
601601
<td>Graph 20k</td>
602-
<td>84.33</td>
603-
<td>88.41</td>
602+
<td>56.83,56.23</td>
603+
<td>56.21,55.47</td>
604604
</tr>
605605
</tbody>
606606
</table>

params.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "CPU Hackers",
33
"tagline": "Where we tinker with the inner core and share the results",
4-
"body": "\r\n\r\n##How To Change The CPU Frequency?\r\n\r\n###Installation\r\n\r\n```\r\nsudo apt-get install cpufrequtils\r\n```\r\n\r\n###Running\r\n\r\nSave the below in a set_freq.sh file\r\n```sh\r\nsudo cpufreq-set -c0 -g userspace\r\nsudo cpufreq-set -c1 -g userspace\r\nsudo cpufreq-set -c2 -g userspace\r\nsudo cpufreq-set -c3 -g userspace\r\n\r\nsudo cpufreq-set -c0 -f $1GHz\r\nsudo cpufreq-set -c1 -f $1GHz\r\nsudo cpufreq-set -c2 -f $1GHz\r\nsudo cpufreq-set -c3 -f $1GHz\r\n\r\n\r\ncat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq\r\ncat /sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq\r\ncat /sys/devices/system/cpu/cpu2/cpufreq/scaling_cur_freq\r\ncat /sys/devices/system/cpu/cpu3/cpufreq/scaling_cur_freq\r\n\r\n```\r\n\r\nNow execute \r\n\r\n```\r\nchmod +x set_freq.sh\r\n```\r\n\r\nTo change the frequncy exeucute the below command\r\n\r\n```\r\n./set_freq.sh 2.2\r\n```\r\n\r\nThe available freqencies can be found by \r\n\r\n```\r\nmore cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies\r\n```\r\n\r\n##Running Benchmarks\r\n\r\nWe used [Lulesh benchmark](https://codesign.llnl.gov/lulesh.php) for studying the change in temperature and execution time with change in frequency\r\n\r\n##Results\r\n\r\n| Frequency | Temp Core 1 ℃ | Temp Core ℃ | Execution Time in Seconds |\r\n| ------------- |:-------------:| -----:| ----:|\r\n| 1197000 | 35 | 37 | 79.65 |\r\n| 2261000 | 39 | 43 | 40.34 |\r\n| 2394000 | 39 | 43 | 39.49 |\r\n| 2527000 | 41 | 44 | 37.05 |\r\n| 2660000 | 43 | 45 | 35.52 |\r\n| 2793000 | 43 | 45 | 34.26 |\r\n| 2926000 | 43 | 46 | 33.70 |\r\n| 3059000 | 44 | 47 | 32.27 |\r\n| 3192000 | 45 | 48 | 30.74 |\r\n| 3193000 | 45 | 50 | 31.15 |\r\n\r\n\r\n\r\n### Frequency vs Tempararture Graph\r\n\r\n![Temparature-Frequency](images/freq-temp.png) \r\n\r\n### Frequency vs Time Graph\r\n\r\n![Time-Frequency](images/time-freq.png) \r\n\r\n##Temparature reading in HPC Computer\r\n\r\n![Silp Temparature Reading](images/temparature-silp.png)\r\n\r\n##How to read CPU voltage for 64 bit computer\r\n\r\n```bash\r\n sudo apt-get install msr-tools\r\n sudo modprobe msr\r\n sudo rdmsr 408 --bitfield 47:32 --decimal --processor 0\r\n ```\r\n \r\nThe value of register 408(x198) can be used to calculate the value of voltage. \r\nThe value obtained from 32:47 bits on multiplying with (1 / 2^^13) gives the voltage.\r\n\r\n##Comparison of Frequency Vs Voltage\r\n\r\n\r\n|Max Frequency| Max Voltage |Min Voltage |\r\n|---------|:-------------:|-------:|\r\n|1.2 GHz|0.86890 Volt|0.70386 Volt|\r\n|1.4 GHz|0.86890 Volt|0.71838 Volt|\r\n|1.6 GHz|0.86890 Volt|0.73291 Volt|\r\n|1.8 GHz|0.86890 Volt|0.75232 Volt|\r\n|2.0 GHz|0.87366 Volt|0.81055 Volt|\r\n|2.2 GHz|0.87366 Volt|0.80579 Volt|\r\n|2.4 GHz|0.90771 Volt|0.86890 Volt|\r\n\r\n\r\n###Graph\r\n\r\n![Freq vs Voltage](images/freqvsvol.png)\r\n\r\n##Time for Various Programs \r\n\r\n|Program |Userspace Time| Ondemand Time|\r\n|--------------------|--------------|--------------|\r\n|Compress 10gb file|01:55 Min|01:20 Min|\r\n|Lulesh2.0|48.41 Sec|42.99 Sec|\r\n|Convert File To Pdf - LibreOffice|6.41 Sec |4.30 Sec|\r\n|Copy 1 GB|16.128 Sec|17.356 Sec|\r\n\r\n##Comparison of Governors Using Lulesh\r\n\r\n##Time\r\n\r\n|Program |Ondemand |Conservative | Powersave| Performance| Rounder @ 1| Rounder @ 2| Rounder @ 5|Tebalo|\r\n|--------------|-------------|--------------|----------|------------|------------|------------|------------|------|\r\n|Lulesh @ 30 |29.76\t\t |31.35 |74.26 |30.89 |43.21 |41.91 |43.46 |32.76 |\r\n|Lulesh @ 35 |56.16 |56.80 |132.25 |57.02 |79.10 |82.87 |77.30 |57.12 |\r\n|Lulesh @ 40 |97.24 |96.40 |215.02 |95.29 |136.79 |128.67 |132.02 |98.34 |\r\n|Lulesh @ 45 |159.65 |175.90 |359.83 |157.57 |217.00 |225.11 |209.52 |162.65|\r\n\r\n\r\n##Max Temparatue \r\n\r\n|Program |Ondemand |Conservative | Powersave|Performance| Rounder @ 1 |Rounder @ 2 |Rounder @ 5 |Tebalo|\r\n|--------------|-------------|--------------|-----------|-----------| ------------|------------|------------|------|\r\n|Lulesh @ 30 |58,57\t\t |56,55 |44,43 |56,55 |55,53 |56,55 |55,53 |57, 55|\r\n|Lulesh @ 35 |58,56 |58,56 |45,44 |57,56 |56,55 |56,55 |55,53 |57, 55|\r\n|Lulesh @ 40 |60,58 |60,59 |45,44 |59,57 |57,56 |58,56 |57,54 |59, 56|\r\n|Lulesh @ 45 |59, 57 |60,57 |44,42 |63,57 |57,55 |57,55 |58,56 |58, 56|\r\n\r\n\r\n\r\n##Min Temparatue\r\n\r\n\r\n|Program |Ondemand |Conservative |Powersave|Performance| Rounder @ 1|Rounder @ 2|Rounder @ 5|Tebalo|\r\n|--------------|-------------|--------------|---------|-----------|------------|-----------|-----------|------|\r\n|Lulesh @ 30 |44,43\t\t |39,40 |40,40 | 42,42 | 41, 41 |41,39\t |39,38 |42, 42|\r\n|Lulesh @ 35 |41,40 |39,39 |39,39 | 44,42 | 39, 39 |40,39 |41,39 |40. 41|\r\n|Lulesh @ 40 |41,41 \t |41,40 |39,39 | 47,45 | 40, 40 |41,40 |42,40 |41, 40|\r\n|Lulesh @ 45 |37, 36 |39,37 |38,37 | 43,40 | 42, 40 |40,39 |41,39 |36, 36|\r\n\r\n\r\n##Average Temparature\r\n\r\n\r\n|Program \t|Ondemand |Conservative |Powersave |Performance | Rounder @ 1 |Rounder @ 2 | Rounder @ 5|Average Temparature|\r\n|--------------|-----------------|--------------|--------------|------------|--------------|------------|------------|-------------------|\r\n|Lulesh @ 30 |56.63,55.35\t\t |54.11, 52.81 |42.53, 41.92 |53.53,52.67 | 49.68, 48.22 |49.22,47.97 |49.03,46.55 |54.27, 51.84|\r\n|Lulesh @ 35 |55.32,53.96 |55.01, 53.62 |43.46,42.32 |55.37,53.79 | 49.57, 48.52 |50.04,48.94 |48.36,46.01 |52.93, 52.49|\r\n|Lulesh @ 40 |57.01,55.38 |57.09, 55.80 |43.71,42.67 |56.63,55.08 | 50.79, 49.79 |51.21,50.01 |50.05,47.76 |53.86, 52.97|\r\n|Lulesh @ 45 |55.51,52.91 |56.34, 53.82 |43.08, 40.57 |56.72,53.75 | 50.65, 48.16 |50.99,48.60 |50.68,48.57 |52.12, 51.23|\r\n\r\n# Comparison of Tebalo and Ondemand using Graph100\r\n##Time\r\n\r\n|Program |Ondemand(s) |Tebalo(s) |\r\n|--------------- |----------|---------|\r\n|Graph 1k |2.39 |2.89 |\r\n|Graph 5k | 16.45 | 17.53 |\r\n|Graph 10k |46.78 | 48.46 |\r\n|Graph 20k | 140.56 |143 |\r\n\r\n##Average Temperature\r\n|Program |Ondemand(s) |Tebalo(s) |\r\n|--------------- |----------|---------|\r\n|Graph 1k |56.63,55.35 |20.24 |\r\n|Graph 5k |27.45 |28.42 |\r\n|Graph 10k |48.52 |52.24 |\r\n|Graph 20k |84.33 |88.41 |\r\n\r\n",
4+
"body": "\r\n\r\n##How To Change The CPU Frequency?\r\n\r\n###Installation\r\n\r\n```\r\nsudo apt-get install cpufrequtils\r\n```\r\n\r\n###Running\r\n\r\nSave the below in a set_freq.sh file\r\n```sh\r\nsudo cpufreq-set -c0 -g userspace\r\nsudo cpufreq-set -c1 -g userspace\r\nsudo cpufreq-set -c2 -g userspace\r\nsudo cpufreq-set -c3 -g userspace\r\n\r\nsudo cpufreq-set -c0 -f $1GHz\r\nsudo cpufreq-set -c1 -f $1GHz\r\nsudo cpufreq-set -c2 -f $1GHz\r\nsudo cpufreq-set -c3 -f $1GHz\r\n\r\n\r\ncat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq\r\ncat /sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq\r\ncat /sys/devices/system/cpu/cpu2/cpufreq/scaling_cur_freq\r\ncat /sys/devices/system/cpu/cpu3/cpufreq/scaling_cur_freq\r\n\r\n```\r\n\r\nNow execute \r\n\r\n```\r\nchmod +x set_freq.sh\r\n```\r\n\r\nTo change the frequncy exeucute the below command\r\n\r\n```\r\n./set_freq.sh 2.2\r\n```\r\n\r\nThe available freqencies can be found by \r\n\r\n```\r\nmore cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies\r\n```\r\n\r\n##Running Benchmarks\r\n\r\nWe used [Lulesh benchmark](https://codesign.llnl.gov/lulesh.php) for studying the change in temperature and execution time with change in frequency\r\n\r\n##Results\r\n\r\n| Frequency | Temp Core 1 ℃ | Temp Core ℃ | Execution Time in Seconds |\r\n| ------------- |:-------------:| -----:| ----:|\r\n| 1197000 | 35 | 37 | 79.65 |\r\n| 2261000 | 39 | 43 | 40.34 |\r\n| 2394000 | 39 | 43 | 39.49 |\r\n| 2527000 | 41 | 44 | 37.05 |\r\n| 2660000 | 43 | 45 | 35.52 |\r\n| 2793000 | 43 | 45 | 34.26 |\r\n| 2926000 | 43 | 46 | 33.70 |\r\n| 3059000 | 44 | 47 | 32.27 |\r\n| 3192000 | 45 | 48 | 30.74 |\r\n| 3193000 | 45 | 50 | 31.15 |\r\n\r\n\r\n\r\n### Frequency vs Tempararture Graph\r\n\r\n![Temparature-Frequency](images/freq-temp.png) \r\n\r\n### Frequency vs Time Graph\r\n\r\n![Time-Frequency](images/time-freq.png) \r\n\r\n##Temparature reading in HPC Computer\r\n\r\n![Silp Temparature Reading](images/temparature-silp.png)\r\n\r\n##How to read CPU voltage for 64 bit computer\r\n\r\n```bash\r\n sudo apt-get install msr-tools\r\n sudo modprobe msr\r\n sudo rdmsr 408 --bitfield 47:32 --decimal --processor 0\r\n ```\r\n \r\nThe value of register 408(x198) can be used to calculate the value of voltage. \r\nThe value obtained from 32:47 bits on multiplying with (1 / 2^^13) gives the voltage.\r\n\r\n##Comparison of Frequency Vs Voltage\r\n\r\n\r\n|Max Frequency| Max Voltage |Min Voltage |\r\n|---------|:-------------:|-------:|\r\n|1.2 GHz|0.86890 Volt|0.70386 Volt|\r\n|1.4 GHz|0.86890 Volt|0.71838 Volt|\r\n|1.6 GHz|0.86890 Volt|0.73291 Volt|\r\n|1.8 GHz|0.86890 Volt|0.75232 Volt|\r\n|2.0 GHz|0.87366 Volt|0.81055 Volt|\r\n|2.2 GHz|0.87366 Volt|0.80579 Volt|\r\n|2.4 GHz|0.90771 Volt|0.86890 Volt|\r\n\r\n\r\n###Graph\r\n\r\n![Freq vs Voltage](images/freqvsvol.png)\r\n\r\n##Time for Various Programs \r\n\r\n|Program |Userspace Time| Ondemand Time|\r\n|--------------------|--------------|--------------|\r\n|Compress 10gb file|01:55 Min|01:20 Min|\r\n|Lulesh2.0|48.41 Sec|42.99 Sec|\r\n|Convert File To Pdf - LibreOffice|6.41 Sec |4.30 Sec|\r\n|Copy 1 GB|16.128 Sec|17.356 Sec|\r\n\r\n##Comparison of Governors Using Lulesh\r\n\r\n##Time\r\n\r\n|Program |Ondemand |Conservative | Powersave| Performance| Rounder @ 1| Rounder @ 2| Rounder @ 5|Tebalo|\r\n|--------------|-------------|--------------|----------|------------|------------|------------|------------|------|\r\n|Lulesh @ 30 |29.76\t\t |31.35 |74.26 |30.89 |43.21 |41.91 |43.46 |32.76 |\r\n|Lulesh @ 35 |56.16 |56.80 |132.25 |57.02 |79.10 |82.87 |77.30 |57.12 |\r\n|Lulesh @ 40 |97.24 |96.40 |215.02 |95.29 |136.79 |128.67 |132.02 |98.34 |\r\n|Lulesh @ 45 |159.65 |175.90 |359.83 |157.57 |217.00 |225.11 |209.52 |162.65|\r\n\r\n\r\n##Max Temparatue \r\n\r\n|Program |Ondemand |Conservative | Powersave|Performance| Rounder @ 1 |Rounder @ 2 |Rounder @ 5 |Tebalo|\r\n|--------------|-------------|--------------|-----------|-----------| ------------|------------|------------|------|\r\n|Lulesh @ 30 |58,57\t\t |56,55 |44,43 |56,55 |55,53 |56,55 |55,53 |57, 55|\r\n|Lulesh @ 35 |58,56 |58,56 |45,44 |57,56 |56,55 |56,55 |55,53 |57, 55|\r\n|Lulesh @ 40 |60,58 |60,59 |45,44 |59,57 |57,56 |58,56 |57,54 |59, 56|\r\n|Lulesh @ 45 |59, 57 |60,57 |44,42 |63,57 |57,55 |57,55 |58,56 |58, 56|\r\n\r\n\r\n\r\n##Min Temparatue\r\n\r\n\r\n|Program |Ondemand |Conservative |Powersave|Performance| Rounder @ 1|Rounder @ 2|Rounder @ 5|Tebalo|\r\n|--------------|-------------|--------------|---------|-----------|------------|-----------|-----------|------|\r\n|Lulesh @ 30 |44,43\t\t |39,40 |40,40 | 42,42 | 41, 41 |41,39\t |39,38 |42, 42|\r\n|Lulesh @ 35 |41,40 |39,39 |39,39 | 44,42 | 39, 39 |40,39 |41,39 |40. 41|\r\n|Lulesh @ 40 |41,41 \t |41,40 |39,39 | 47,45 | 40, 40 |41,40 |42,40 |41, 40|\r\n|Lulesh @ 45 |37, 36 |39,37 |38,37 | 43,40 | 42, 40 |40,39 |41,39 |36, 36|\r\n\r\n\r\n##Average Temparature\r\n\r\n\r\n|Program \t|Ondemand |Conservative |Powersave |Performance | Rounder @ 1 |Rounder @ 2 | Rounder @ 5|Average Temparature|\r\n|--------------|-----------------|--------------|--------------|------------|--------------|------------|------------|-------------------|\r\n|Lulesh @ 30 |56.63,55.35\t\t |54.11, 52.81 |42.53, 41.92 |53.53,52.67 | 49.68, 48.22 |49.22,47.97 |49.03,46.55 |54.27, 51.84|\r\n|Lulesh @ 35 |55.32,53.96 |55.01, 53.62 |43.46,42.32 |55.37,53.79 | 49.57, 48.52 |50.04,48.94 |48.36,46.01 |52.93, 52.49|\r\n|Lulesh @ 40 |57.01,55.38 |57.09, 55.80 |43.71,42.67 |56.63,55.08 | 50.79, 49.79 |51.21,50.01 |50.05,47.76 |53.86, 52.97|\r\n|Lulesh @ 45 |55.51,52.91 |56.34, 53.82 |43.08, 40.57 |56.72,53.75 | 50.65, 48.16 |50.99,48.60 |50.68,48.57 |52.12, 51.23|\r\n\r\n# Comparison of Tebalo and Ondemand using Graph100\r\n##Time\r\n\r\n|Program |Ondemand(s) |Tebalo(s) |\r\n|--------------- |----------|---------|\r\n|Graph 1k |2.39 |2.89 |\r\n|Graph 5k | 16.45 | 17.53 |\r\n|Graph 10k |46.78 | 48.46 |\r\n|Graph 20k | 140.56 |143 |\r\n\r\n\r\n##Average Temperature\r\n|Program |Ondemand(s) |Tebalo(s) |\r\n|--------------- |----------|---------|\r\n|Graph 1k |55.43,54.32 |54.32,53.45 |\r\n|Graph 5k |56.31,55.76 |55.65,54.98 |\r\n|Graph 10k |56.63,55.35 |56.45, 55.21 |\r\n|Graph 20k |56.83,56.23 |56.21,55.47 |\r\n",
55
"google": "",
66
"note": "Don't delete this file! It's used internally to help with page regeneration."
77
}

0 commit comments

Comments
 (0)