mrtexaznl / mcproxy

MediterraneanCoin proxy - necessary for mining MediterraneanCoins with cgminer
MIT License
3 stars 3 forks source link

Mcproxy4 Queue limit #1

Open v4l3r10 opened 10 years ago

v4l3r10 commented 10 years ago

STRATUM-CONNECTION MESSAGE mining.set_difficulty {"params":[256],"id":null,"method":"mining.set_difficulty"} STRATUM-CONNECTION MESSAGE mining.notify (work push) {"params":["3831","b8c6ef6920e91170bc7035a26c6735364326ca4f43cb4f6df5ac0355628dc115","010000000100000000000 00000000000000000000000000000000000000000000000000000ffffffff2703d43b01062f503253482f04e3b10b5308","0d2f7374726174756d506f6f6c2f0000000001004e7253000000001976a9 147a445b4d132c5d3542af5469ed206e0b82fe340a88ac00000000",[],"00000002","1b0181ea","530bb1e1",true],"id":null,"method":"mining.notify"} STRATUM-CONNECTION cleanJobs == true! cleaning work queue registration with stratum pool is successful! THREAD 0 PREPARE WORK 1393275375617, queue size: 0 THREAD 1 PREPARE WORK 1393275375822, queue size: 0 THREAD 2 PREPARE WORK 1393275376028, queue size: 0 THREAD 3 PREPARE WORK 1393275376235, queue size: 2 THREAD 0 PREPARE WORK 1393275376444, queue size: 3 THREAD 1 PREPARE WORK 1393275376444, queue size: 3 2014-02-24 21:56:16.614:INFO:oejs.Server:main: jetty-9.1.1.v20140108 THREAD 4 PREPARE WORK 1393275376646, queue size: 4 2014-02-24 21:56:16.705:INFO:oejs.ServerConnector:main: Started ServerConnector@77c4ed65{HTTP/1.1}{192.168.1.2:8080} THREAD 5 PREPARE WORK 1393275376849, queue size: 6 SERVLET GETWORK 0 ms 1393275376896, average waiting time=0 ms THREAD 3 PREPARE WORK 1393275377051, queue size: 6 THREAD 2 PREPARE WORK 1393275377253, queue size: 7 THREAD 1 PREPARE WORK 1393275377455, queue size: 8 THREAD 4 PREPARE WORK 1393275377657, queue size: 9 THREAD 0 PREPARE WORK 1393275377859, queue size: 10 THREAD 5 PREPARE WORK 1393275378061, queue size: 11 THREAD 3 PREPARE WORK 1393275378061, queue size: 11 THREAD 1 PREPARE WORK 1393275378265, queue size: 12 THREAD 0 PREPARE WORK 1393275378466, queue size: 14 THREAD 2 PREPARE WORK 1393275378668, queue size: 15 THREAD 1 PREPARE WORK 1393275378869, queue size: 16 THREAD 0 PREPARE WORK 1393275379069, queue size: 17 THREAD 5 PREPARE WORK 1393275379271, queue size: 18 THREAD 2 PREPARE WORK 1393275379473, queue size: 19 THREAD 4 PREPARE WORK 1393275379675, queue size: 20 THREAD 3 PREPARE WORK 1393275379675, queue size: 20 THREAD 1 PREPARE WORK 1393275379877, queue size: 21 THREAD 0 PREPARE WORK 1393275379877, queue size: 21 THREAD 2 PREPARE WORK 1393275380078, queue size: 23 THREAD 4 PREPARE WORK 1393275380282, queue size: 25 THREAD 1 PREPARE WORK 1393275380483, queue size: 26 THREAD 0 PREPARE WORK 1393275380685, queue size: 27 THREAD 2 PREPARE WORK 1393275380887, queue size: 28 THREAD 3 PREPARE WORK 1393275380887, queue size: 28 THREAD 5 PREPARE WORK 1393275380887, queue size: 28 THREAD 4 PREPARE WORK 1393275381089, queue size: 29 THREAD 0 PREPARE WORK 1393275381290, queue size: 32 THREAD 3 PREPARE WORK 1393275381493, queue size: 33 THREAD 2 PREPARE WORK 1393275381695, queue size: 34 THREAD 1 PREPARE WORK 1393275381695, queue size: 34 THREAD 0 PREPARE WORK 1393275381895, queue size: 35 THREAD 3 PREPARE WORK 1393275382096, queue size: 37 THREAD 5 PREPARE WORK 1393275382299, queue size: 38 THREAD 4 PREPARE WORK 1393275382299, queue size: 38 THREAD 2 PREPARE WORK 1393275382503, queue size: 39 THREAD 1 PREPARE WORK 1393275382705, queue size: 41 THREAD 5 PREPARE WORK 1393275382908, queue size: 42 THREAD 0 PREPARE WORK 1393275383110, queue size: 43 THREAD 3 PREPARE WORK 1393275383312, queue size: 44 THREAD 2 PREPARE WORK 1393275383514, queue size: 45 THREAD 4 PREPARE WORK 1393275383716, queue size: 46 THREAD 1 PREPARE WORK 1393275383918, queue size: 47 THREAD 5 PREPARE WORK 1393275384120, queue size: 48 THREAD 0 PREPARE WORK 1393275384322, queue size: 49 THREAD 3 PREPARE WORK 1393275384524, queue size: 50 THREAD 1 PREPARE WORK 1393275384724, queue size: 51

seems that queue limit not work fine when mcproxy no has connection from bfg/cgminer

mrtexaznl commented 10 years ago

actually this is wanted (for the moment) and the queue is completely reset when the pool sends a notify stratum message with a force clear flag. we are doing a lot of experimenting, it seems that forcing or not the queue max length does not change performance or improve mining. if you have different results, please share them. thanx!