Skip to content

Instantly share code, notes, and snippets.

@ironicbadger
ironicbadger / nvidia.sh
Last active February 5, 2022 13:42
nvidia linux overclocking for crypto mining
#!/bin/bash
#nvidia-xconfig --allow-empty-initial-configuration --enable-all-gpus --cool-bits=28 --separate-x-screens
nvidia-smi -pm ENABLED
export GPU_FORCE_64BIT_PTR=0
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100