To overclock/underclock nvidia card I see this:
nvidia-settings -a [gpu:1]/GPUGraphicsClockOffset[3]=-500
nvidia-settings -a [gpu:1]/GPUMemoryTransferRateOffset[3]=1000
The example GPUGraphicsClockOffset[3] didn't work for me, another howto showed the same command but with offset GPUGraphicsClockOffset[1]. That didn't work either, so I tried GPUGraphicsClockOffset[2], then GPUGraphicsClockOffset[4] which finally worked.
Where is it described which offset to use?
This is what worked for me:
nvidia-settings -a [gpu:1]/GPUGraphicsClockOffset[4]=-500
nvidia-settings -a [gpu:1]/GPUMemoryTransferRateOffset[4]=1000