If you are mining with a single cgminer at diff D with G GHs of hardware then you'll expect, on average:
1 share every
(D * 2^32) / (G * 10^9) seconds
Yeah that's obvious
of course.
Or to simplify it you get 1 share every
~4.3 * D / G seconds
So at G = 32, a D of 32 will mean ~4.3 seconds per share, on average.
Anyway, yes your share rate depends on your total hash rate G vs the difficulty you are using D
So if you double G and keep D the same, then yes you'll get, on average, twice as many shares.
Your miner should also show a WU value that matches that anyway (but in shares per minute)
Great info! Thanks for the formula.
Interestingly enough, I had already settled on a difficulty of 32 before reading this. But the way I got there was not mathematical at all.
Basically I watched the log entries go by mumbling "one Mississippi, two Mississippi, ..." until it got to around 5 seconds per share