Skip to content

Instantly share code, notes, and snippets.

@owocki
Created November 18, 2016 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save owocki/0c0019d72f6088f282d0ca0d48653a42 to your computer and use it in GitHub Desktop.
Save owocki/0c0019d72f6088f282d0ca0d48653a42 to your computer and use it in GitHub Desktop.
owocki@owocki-desktop:~$ nvidia-smi -i ${i} -pl 170
Failed to set power management limit for GPU 0000:01:00.0: Insufficient Permissions
Terminating early due to previous errors.
owocki@owocki-desktop:~$
owocki@owocki-desktop:~$ sudo !!
sudo nvidia-smi -i ${i} -pl 170
Power limit for GPU 0000:01:00.0 was set to 170.00 W from 170.00 W.
Warning: persistence mode is disabled on this device. This settings will go back to default as soon as driver unloads (e.g. last application like nvidia-smi or cuda application terminates). Run with [--help | -h] switch to get more information on how to enable persistence mode.
All done.
owocki@owocki-desktop:~$ nvidia-settings -a [gpu:0]/GPUGraphicsClockOffset[3]=200
ERROR: The attribute 'GPUGraphicsClockOffset' specified in assignment
'[gpu:0]/GPUGraphicsClockOffset[3]=200' cannot be assigned (it is a read-only attribute).
owocki@owocki-desktop:~$ nvidia-settings -a [gpu:0]/GPUGraphicsClockOffset[0]=200
ERROR: The attribute 'GPUGraphicsClockOffset' specified in assignment
'[gpu:0]/GPUGraphicsClockOffset[0]=200' cannot be assigned (it is a read-only attribute).
owocki@owocki-desktop:~$ nvidia-settings -a [gpu:0]/GPUMemoryTransferRateOffset[0]=1500
ERROR: The attribute 'GPUMemoryTransferRateOffset' specified in assignment
'[gpu:0]/GPUMemoryTransferRateOffset[0]=1500' cannot be assigned (it is a read-only
attribute).
owocki@owocki-desktop:~$ sudo nvidia-smi -ac 1911,4004
Setting applications clocks is not supported for GPU 0000:01:00.0.
Treating as warning and moving on.
Setting applications clocks is not supported for GPU 0000:02:00.0.
Treating as warning and moving on.
Setting applications clocks is not supported for GPU 0000:03:00.0.
Treating as warning and moving on.
Setting applications clocks is not supported for GPU 0000:04:00.0.
Treating as warning and moving on.
Setting applications clocks is not supported for GPU 0000:05:00.0.
Treating as warning and moving on.
Setting applications clocks is not supported for GPU 0000:06:00.0.
Treating as warning and moving on.
All done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment