In this blog, quick reference notes about OpenFOAM are posted in a form of a summary to address a specific topic per post.
Processor Affinity to Enhance Speed
To enhance the speed of running a solver one can use a "hard" assignment of the job to a specific core. This reduces the work needed to switch jobs between cores and enhances the speed. It is really neat if you need to do some other work on the workstation while the run is going on in the background.
Install:
Use:
This command assigns job 10640 to the 5th core "cores start at zero".
Install:
Code:
# apt-get install schedtool
Code:
$ schedtool -a 5 10640
Total Comments 0