I’m using MPS to run multiple programs on one GPU. But the MPS doesn’t seem to be working normally.
I used nvidia docker and set up mps in docker by following the terms in the following document.
“5.1.1.1. Starting MPS control daemon”
Performance speed using MPS is not better than before using MPS. So I read ‘control.log’ and ‘server.log’, which is different from “4.3. MPS Logging Format”.
I will upload ‘control.log’ and ‘server.log’ contents, so please check if I set MPS correctly. I am using the RTX 3080 10G on ubuntu 18.04.
control.log
[2021-06-18 01:03:31.887 Control 31] Start
[2021-06-18 01:05:36.843 Control 31] Accepting connection…
[2021-06-18 01:05:36.843 Control 31] User did not send valid credentials
[2021-06-18 01:05:36.843 Control 31] Accepting connection…
[2021-06-18 01:05:36.843 Control 31] NEW CLIENT 52 from user 0: Server is not ready, push client to pending list
[2021-06-18 01:05:36.843 Control 31] Starting new server 217 for user 0
[2021-06-18 01:05:36.844 Control 31] Accepting connection…
[2021-06-18 01:05:36.891 Control 31] NEW SERVER 217: Ready
[2021-06-18 01:05:36.892 Control 31] Accepting connection…
[2021-06-18 01:05:36.892 Control 31] User did not send valid credentials
[2021-06-18 01:05:36.892 Control 31] Accepting connection…
[2021-06-18 01:05:36.892 Control 31] User did not send valid credentials
[2021-06-18 01:05:36.892 Control 31] Accepting connection…
[2021-06-18 01:05:36.892 Control 31] NEW CLIENT 58 from user 0: Server already exists
[2021-06-18 01:05:36.892 Control 31] Accepting connection…
[2021-06-18 01:05:36.892 Control 31] NEW CLIENT 46 from user 0: Server already exists
[2021-06-18 01:05:36.937 Control 31] Accepting connection…
[2021-06-18 01:05:36.938 Control 31] NEW CLIENT 52 from user 0: Server already exists
[2021-06-18 01:05:36.938 Control 31] Accepting connection…
[2021-06-18 01:05:36.938 Control 31] NEW CLIENT 58 from user 0: Server already exists
[2021-06-18 01:05:36.938 Control 31] Accepting connection…
[2021-06-18 01:05:36.938 Control 31] NEW CLIENT 46 from user 0: Server already exists
[2021-06-18 01:42:41.225 Control 31] Accepting connection…
[2021-06-18 01:42:41.225 Control 31] NEW UI
[2021-06-18 01:42:41.225 Control 31] Cmd:quit
[2021-06-18 01:42:41.309 Control 31] Server 217 exited with status 0
[2021-06-18 01:42:41.309 Control 31] Removed Shm file at /cuda.shm.0.d9.1
[2021-06-18 01:42:41.309 Control 31] Removed Shm file at /cuda.shm.0.d9.2
[2021-06-18 01:42:41.309 Control 31] Exit with status 0
server.log
[2021-06-18 01:05:36.844 Other 217] Start
[2021-06-18 01:05:36.857 Other 217] Volta MPS: Creating server context on device 0
[2021-06-18 01:05:36.891 Other 217] activeThreadsPercentage set to 100.000000
[2021-06-18 01:05:36.891 Other 217] MPS Server is started
[2021-06-18 01:05:36.891 Other 217] Volta MPS Server: Received new client request
[2021-06-18 01:05:36.891 Other 217] MPS Server: worker created
[2021-06-18 01:05:36.892 Other 217] Volta MPS: Creating worker thread
[2021-06-18 01:05:36.892 Other 217] Volta MPS Server: Received new client request
[2021-06-18 01:05:36.892 Other 217] MPS Server: worker created
[2021-06-18 01:05:36.892 Other 217] Volta MPS: Creating worker thread
[2021-06-18 01:05:36.892 Other 217] Volta MPS Server: Received new client request
[2021-06-18 01:05:36.892 Other 217] MPS Server: worker created
[2021-06-18 01:05:36.892 Other 217] Volta MPS: Creating worker thread
[2021-06-18 01:05:36.938 Other 217] Volta MPS Server: Received new client request
[2021-06-18 01:05:36.938 Other 217] MPS Server: worker created
[2021-06-18 01:05:36.938 Other 217] Volta MPS: Creating worker thread
[2021-06-18 01:05:36.938 Other 217] Volta MPS: Device GeForce RTX 3080 (uuid 0x1fabc583-0xa80f0a19-0x8b8cbeca-0xc214ca5a) is associated
[2021-06-18 01:05:36.938 Other 217] Volta MPS Server: Received new client request
[2021-06-18 01:05:36.938 Other 217] MPS Server: worker created
[2021-06-18 01:05:36.938 Other 217] Volta MPS: Creating worker thread
[2021-06-18 01:05:36.938 Other 217] Volta MPS: Device GeForce RTX 3080 (uuid 0x1fabc583-0xa80f0a19-0x8b8cbeca-0xc214ca5a) is associated
[2021-06-18 01:05:36.938 Other 217] Volta MPS Server: Received new client request
[2021-06-18 01:05:36.938 Other 217] MPS Server: worker created
[2021-06-18 01:05:36.938 Other 217] Volta MPS: Creating worker thread
[2021-06-18 01:05:36.938 Other 217] Volta MPS: Device GeForce RTX 3080 (uuid 0x1fabc583-0xa80f0a19-0x8b8cbeca-0xc214ca5a) is associated
[2021-06-18 01:42:23.603 Other 217] Receive command failed, assuming client exit
[2021-06-18 01:42:23.603 Other 217] Volta MPS: Client disconnected. Number of active client contexts is 2
[2021-06-18 01:42:23.611 Other 217] Receive command failed, assuming client exit
[2021-06-18 01:42:23.611 Other 217] Volta MPS: Client process disconnected
[2021-06-18 01:42:23.629 Other 217] Receive command failed, assuming client exit
[2021-06-18 01:42:23.629 Other 217] Volta MPS: Client disconnected. Number of active client contexts is 1
[2021-06-18 01:42:23.629 Other 217] Receive command failed, assuming client exit
[2021-06-18 01:42:23.629 Other 217] Volta MPS: Client disconnected. Number of active client contexts is 0
[2021-06-18 01:42:23.693 Other 217] Receive command failed, assuming client exit
[2021-06-18 01:42:23.693 Other 217] Receive command failed, assuming client exit
[2021-06-18 01:42:23.693 Other 217] Volta MPS: Client process disconnected
[2021-06-18 01:42:23.693 Other 217] Volta MPS: Client process disconnected
[2021-06-18 01:42:41.225 Other 217] Waiting for current clients to finish
[2021-06-18 01:42:41.225 Other 217] Exit