|
Minimserver CPU Affinity
|
|
27-01-2024, 14:31
Post: #3
|
|||
|
|||
|
RE: Minimserver CPU Affinity
Nothing has changed since 2020. As it can be tricky to set this up, here are detailed step-by-step instructions.
1) Create a file named runjava.sh using a text editor. You can put this anywhere. For the rest of these instructions I will assume this file is in your home directory /home/your-user-name. If you want to run MinimServer on CPU core 2 (for example), this file should contain the following: #!/bin/bash exec taskset -c 2 java "$@" 2) Give the runjava.sh file executable permission by running this command: chmod 755 /home/your-user-name/runjava.sh 3) Create a file named minimstart.conf using a text editor. This file must be in the minimserver/etc directory. If you have installed MinimServer in your home directory, the full path to this file will be /home/your-user-name/minimserver/etc/minimstart.conf. This file should contain the following: java=/home/your-user-name/runjava.sh 4) Stop MinimServer and start it again. 5) To check that MinimServer is running on CPU core 2, run this command: ps -eo psr,command | grep mserver 6) The output from this command should include a line similar to the following: 2 java -jar /home/your-user-name/minimserver/lib/mserver.jar --launchrc --set watch.view=log --nohup 7) The number '2' at the start of the line is the CPU core that is running MinimServer |
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
Minimserver CPU Affinity - paradis - 27-01-2024, 01:10
RE: Minimserver CPU Affinity - Donuk - 27-01-2024, 11:44
RE: Minimserver CPU Affinity - paradis - 27-01-2024, 16:34
RE: Minimserver CPU Affinity - simoncn - 27-01-2024 14:31
RE: Minimserver CPU Affinity - paradis - 27-01-2024, 16:35
RE: Minimserver CPU Affinity - paradis - 28-01-2024, 06:38
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



