Post
Topic
Board Mining (Altcoins)
Re: [ANN] sgminer v5 - new unified multi-algorithm on-the-fly kernel switching miner
by
Slix
on 08/11/2014, 04:57:54 UTC
Just edited my previous message ^^'

But now I have a confirmed bug (sgminer-v5 an badman74's) :
- If I choose intensitity > 16 (I have tested with 17 and 18) in profiles.conf, neoscrypt mining will start with an intensity of 16.
- If I choose intensity =< 16, neoscrypt mining will start with the chosen intensity.

Don't know what happen upon algo switching yet.

It's not exactly a bug, it's how Neoscrypt was setup.

Intensity is only used to calculate the thread-concurrency, which in turn determines how much GPU memory to allocate. Off the top of my head it goes like TC = (1 << intensity), then the miner checks to make sure that allocating 32k of memory for each thread doesn't go over the maximum memory usable by the GPU. If it does, it lowers the intensity by 1 until the resulting TC * 32k fits in memory. I think -g (gpu threads) factors into this also. If you use -g 2, then each gpu thread needs to reduce TC to fit in 1/2 the maximum memory.

For example a standard 7970 with -g 2 will allocate a TC of 32768 (intensity 15). That gives a total of 1GB of ram used per gpu thread (2GB total used). Setting intensity to 16 would give you 65536 TC, so 2GB ram per gpu thread. Unless your GPU has 4GB+ ram, the intensity would automatically fall back down to 15 to fit in memory.

In sgminer, I allow the user's config TC to override the intensity so you can tweak memory allocation that way. As for xintensity and rawintensity, they are currently unused for Neoscrypt.

- ystarnaud