You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.3 KiB

  1. The NVIDIA Persistence Daemon is a userspace daemon on Linux to support
  2. persistence of driver state across Cuda job runs. The daemon targets
  3. all current Tesla, Quadro and GRID GPUs. For further information, see
  4. https://docs.nvidia.com/deploy/driver-persistence/index.html
  5. The driver now includes rc.nvidia-persistenced as an option.
  6. While it can be run as root, it is more secure to run it as an
  7. unpriveleged user, so we run it as user nvidia.
  8. To install it, Pass PERSISTENCED=yes to the script. It will install
  9. rc.nvidia-persistenced to /etc/rc.d. Please note that you MUST have
  10. a nvidia user and group or it will not build.
  11. To activate the daemon, add the following to /etc/rc.d/local:
  12. # Start the nvidia-persistenced daemon:
  13. if [ -x /etc/rc.d/rc.nvidia-persistenced ]; then
  14. /etc/rc.d/rc.nvidia-persistenced start
  15. fi
  16. and then 'chmod +x /etc/rc.d/rc.nvidia-persistenced' to make it
  17. executable.
  18. Add the following to /etc/rc.d/rc.local_shutdown:
  19. # Stop the nvidia-persistenced daemon:
  20. if [ -x /etc/rc.d/rc.nvidia-persistenced ]; then
  21. /etc/rc.d/rc.nvidia-persistenced stop
  22. fi
  23. NOTE: This may not work on all systems. If you encounter problems
  24. with it, just 'chmod -x /etc/rc.d/rc.persistenced' and it will no
  25. longer load. YMMV.
  26. BIG FAT NOTE: if nvidia-kernel was built with DRM=no, DO NOT build
  27. nvidia-persistenced.