Skip to content

Instantly share code, notes, and snippets.

@twalling
Last active August 23, 2017 06:43
Show Gist options
  • Save twalling/7695824 to your computer and use it in GitHub Desktop.
Save twalling/7695824 to your computer and use it in GitHub Desktop.
cgminer litecoin setup
{
"pools" : [
{
"url" : "URL",
"user" : "USER.WORKER",
"pass" : "PASS"
}
],
"intensity": "13",
"thread-concurrency": "8192",
"worksize": "256",
"gpu-engine": "1100",
"gpu-fan": "85",
"gpu-memclock": "1500",
"temp-cutoff": "95",
"temp-overheat": "85",
"temp-target": "80",
"gpu-threads": "2",
"scrypt": true
}
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export DISPLAY=:0
find *.bin -delete
sleep 5
./cgminer
#!/bin/bash
DEFAULT_DELAY=0
if [ "x$1" = "x" -o "x$1" = "xnone" ]; then
DELAY=$DEFAULT_DELAY
else
DELAY=$1
fi
sleep $DELAY
su USER -c "screen -dmS cgm /home/USER/bin/cgminer/cgminer.sh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment