![]() Note that the use of taskset doesn’t set any sort of memory affinity, but this shouldn’t be a problem with a single process. You could have also used -c in place of -cpu_list to shorten the command. This command sets the affinity of the application to core 2 and executes application.exe. One way to achieve this is to use taskset as part of the command to run the applications: $ taskset -cpu_list 2 application.exe Therefore, getting the best performance from serial applications is important. Remember, in HPC you want your applications to run as fast as possible. Although you might say that, given the large number of cores on modern systems, worrying about how a process uses a single core is not important, memory bandwidth could definitely suffer if the process is moved to a different NUMA node, causing the process to access memory across the CPU bus. Figure 1: Output from lstopofor sample system.
0 Comments
Leave a Reply. |