User Tools

Site Tools


cluster:195

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cluster:195 [2020/07/24 15:02]
hmeij07 [Summary]
cluster:195 [2020/07/25 14:09]
hmeij07 [Summary]
Line 19: Line 19:
 ... ...
 # From lammps developer... # From lammps developer...
-# Try switching to the ondemand governor with tuned-adm.+# Try switching to the performance governor with tuned-adm.
  
 /usr/lib/tuned/ondemand/tuned.conf: /usr/lib/tuned/ondemand/tuned.conf:
Line 26: Line 26:
  
 [cpu] [cpu]
-governor=ondemand+governor=performance
  
-$ tuned-adm profile ondemand+$ tuned-adm profile performance
 </code> </code>
  
Line 211: Line 211:
 Minutes processing times of multiple runs for the colloid lammps example. Minutes processing times of multiple runs for the colloid lammps example.
  
-^    ^    greentail52  ^  n79  ^  n79 perf  ^ +^    ^    greentail52  ^  n79  ^  n79 perf  ^  n79 hpc-perf  ^ 
-|  no mpirun  |  7:30  |  7:43  |  0:07:08 +|  no mpirun  |  7:30  |  7:43  |  0:07:08   0:08:22  | 
-|  mpirun -n 1  |  7:29  |  11:33  |    +|  mpirun -n 1  |  7:29  |  11:33  |  0:07:12  |  0:08:23  
-|  mpirun -n 2   |  3:57  |  6:02  |    +|  mpirun -n 2  |  3:57  |  6:02  |  0:03:45  |  0:04:19  
-|  mpirun -n 4  |  2:16  |  3:44  |  0:02:09 +|  mpirun -n 4  |  2:16  |  3:44  |  0:02:09   0:02:28  | 
-|  mpirun -n 8  |  1:21  |  2:15  |  0:01:20 +|  mpirun -n 8  |  1:21  |  2:15  |  0:01:20   0:01:27  | 
-|  mpirun -n 12  |    |    |  0:01:08 +|  mpirun -n 12  |    |    |  0:01:08   0:01:11  | 
-|  mpirun -n 24  |    |    |  0:00:49  |+|  mpirun -n 24  |    |    |  0:00:49  |  0:00:49  |
  
-The "n79 perf" column are the results after I create a tuned profile named "performance" (per lammps developer top of this page) and then switch to that profile using ''tuned-adm'' and echo the string "performanc" in relevant ''/proc'' files.  Also **does not matter** if I run the lmp_mpi version (compiled on ''greentail'' or lmp_mpi-n79 compiled on ''n79'' Yea.+The "n79 perf" column are the results after I create a tuned profile named "performance" and then switch to that profile using ''tuned-adm'' and echo the string "performance" in relevant ''/sys'' files.  Also **does not matter** if I run the lmp_mpi version (compiled on ''greentail''or lmp_mpi-n79 (compiled on ''n79'').  Yea. 
 + 
 +The ""n79 hpc-perf" column are the results after I splice the ''/usr/lib/tuned/hpc-compute/tuned.conf'' settings into my "performance" profile above. Contains a lot of memory settings.  We swap out "throughput-performance" for "latency-performance" and make sure the section ''[cpu]'' still points to performance. 
 + 
 +Going with the short version, comment out all other options. We can enable when needed. 
 + 
 +<code> 
 +# original 
 +[main] 
 +include=throughput-performance 
 + 
 +[cpu] 
 +governor=performance 
 + 
 + 
 +# current files 
 + 1011  for i in \ 
 +`ls  /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor`;
 + do echo performance >  $i; done 
 + 1012  cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor 
 + 
 +# holds on reboot? yes 
 + 1013  cd /usr/lib/tuned/ 
 + 1014  mkdir performance 
 + 1015  vi performance/tuned.conf  
 + 1016  tuned-adm profile 
 + 1017  tuned-adm profile performance 
 + 1018  tuned-adm active 
 +</code>
  
 \\ \\
cluster/195.txt · Last modified: 2020/07/25 14:09 by hmeij07