Skip & Limit Calculator
If you are like me and hate middleware I've developed a script, because I'm bloody lazy,  I've made the default the DES keyspace but you can make it whatever you want.  To use the script modify the array to list the number of GPU's in each node,  then execute, if you specify an argument it will override with a new keyspace.  It will output the -s and -l values for complete distribution taking into account the number of GPU's.  Now if your GPU's are say twice as powerful on one node as say another you can adjust to get better skip and limit values.  I use all GTX 980's so I coded with that in mind.


Keyspace: 34359738368
Chunk size: 858993459
Node count: 8

Node 1: -s 0 -l 6871947672
Node 2: -s 6871947672 -l 6871947672
Node 3: -s 13743895344 -l 3435973836
Node 4: -s 17179869180 -l 3435973836
Node 5: -s 20615843016 -l 3435973836
Node 6: -s 24051816852 -l 3435973836
Node 7: -s 27487790688 -l 3435973836
Node 8: -s 30923764524 -l 3435973844


Let me know if you find this useful, I fixed a bug by adding a remainder calculation to deal with a rounding error and put it on the final node.

*** EDIT ***
One final update, fixed more bugs and made it cleaner

Attached Files
.txt   limit.txt (Size: 921 bytes / Downloads: 49)

Messages In This Thread
Skip & Limit Calculator - by evilmog - 09-09-2016, 12:37 AM
RE: Skip & Limit Calculator - by atom - 09-10-2016, 09:53 AM
RE: Skip & Limit Calculator - by d2 - 09-10-2016, 08:51 PM
RE: Skip & Limit Calculator - by atom - 09-12-2016, 12:12 AM