From 16730ed90e8ba83fcca351844d9dbb11d699dfa5 Mon Sep 17 00:00:00 2001 From: Noel Maersk Date: Tue, 3 Dec 2013 21:14:25 +0200 Subject: [PATCH] Reinstitute MAX_INTENSITY=42, but this time with a note in SCRYPT-README. --- SCRYPT-README | 37 ++++++++++++++++++------------------- miner.h | 4 ++-- 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/SCRYPT-README b/SCRYPT-README index 20d6d106..42dcc9c2 100644 --- a/SCRYPT-README +++ b/SCRYPT-README @@ -47,30 +47,29 @@ setx GPU_USE_SYNC_OBJECTS 1 --intensity XX (-I XX) -Just like in bitcoin mining, scrypt mining takes an intensity, however the -scale goes from 0 to 20 to mimic the "Aggression" used in mtrlt's reaper. The -reason this is crucial is that too high an intensity can actually be -disastrous with scrypt because it CAN run out of ram. High intensities -start writing over the same ram and it is highly dependent on the GPU, but -they -can start actually DECREASING your hashrate, or even worse, start producing -garbage with HW errors skyrocketing. Note that if you do NOT specify an -intensity, cgminer uses dynamic mode which is designed to minimise the harm -to a running desktop and performance WILL be poor. The lower limit to intensity -with scrypt is usually 8 and cgminer will prevent it going too low. +The scale goes from 0 to 42. The reason this is crucial is that too +high an intensity can actually be disastrous with scrypt because it CAN +run out of ram. High intensities start writing over the same ram and it +is highly dependent on the GPU, but they can start actually DECREASING +your hashrate, or even worse, start producing garbage with HW errors +skyrocketing, or locking up the system altogether. Note that if you do +NOT specify an intensity, cgminer uses dynamic mode which is designed +to minimise the harm to a running desktop and performance WILL be poor. +The lower limit to intensity with scrypt is usually 8 and cgminer will +prevent it going too low. SUMMARY: Setting this for reasonable hashrates is mandatory. --shaders XXX -is a new option where you tell cgminer how many shaders your GPU has. This -helps cgminer try to choose some meaningful baseline parameters. Use this table -below to determine how many shaders your GPU has, and note that there are some -variants of these cards, and nvidia shaders are much much lower and virtually -pointless trying to mine on. If this is not set, cgminer will query the -device for how much memory it supports and will try to set a value based on -that. +is an option where you tell cgminer how many shaders your GPU has. This +helps cgminer try to choose some meaningful baseline parameters. Use +this table below to determine how many shaders your GPU has, and note +that there are some variants of these cards, and nvidia shaders are much +much lower and virtually pointless trying to mine on. If this is not +set, cgminer will query the device for how much memory it supports and +will try to set a value based on that. SUMMARY: This will get you started but fine tuning for optimal performance is -required. +required. Using --thread-concurrency is recommended instead. GPU Shaders 7750 512 diff --git a/miner.h b/miner.h index 60b2ea84..6fe9d6c1 100644 --- a/miner.h +++ b/miner.h @@ -1049,8 +1049,8 @@ extern bool add_pool_details(struct pool *pool, bool live, char *url, char *user #define MIN_INTENSITY 8 #define MIN_INTENSITY_STR "8" -#define MAX_INTENSITY 20 -#define MAX_INTENSITY_STR "20" +#define MAX_INTENSITY 42 +#define MAX_INTENSITY_STR "42" extern bool hotplug_mode; extern int hotplug_time;