2019-01-30 23:13:08
oh yay, undocumented flags required for the surf miner, to the source code cave
Rotonen
2019-01-30 23:15:42
```
selected_field=8
waves=1
hash_threads=1
work_unit_mem_gb=1
```
let us see :stuck_out_tongue:
Rotonen
2019-01-30 23:16:43
i guess i have a hunch, but from the horse's mouth, what's an 'unit' in the context of the surf miner
Rotonen
2019-01-30 23:21:16
`LVM | vg0-home | busy 95% | read 49992 | write 72 | KiB/r 127 | KiB/w 216 | MBr/s 104.1 | MBw/s 0.3 | avq 1.98 | avio 1.13 ms |`
it is maxing out the raid1 it is reading from
Rotonen
2019-01-30 23:22:38
so i guess it will not have the time to complete a scan enough many times to be useful at all
Rotonen
2019-01-30 23:23:08
at 100MB/s
Rotonen
2019-01-30 23:25:57
some explanation on the three required tweakables would be welcome to try to reason about it, what does this enable for the non-ram and potentially even sata ssd crowd
Rotonen
2019-01-30 23:26:38
and this could use a comment
https://github.com/snowblossomcoin/snowblossom/blob/master/miner/src/surf/SurfMiner.java#L471-L474 ```
private int getRecordSize()
{
return 4+1+8+12+32;
}
```
Rotonen
2019-01-30 23:28:07
so i guess waves are sequential scans, and i do not know why i'd want to have more than one on a spinny disk
Rotonen
2019-01-30 23:28:19
nor more threads doing hashing either as nothing is feeding them
Rotonen
2019-01-30 23:28:48
but cannot figure out what the work unit size is, seems to just feed into whatever the targets juggling is
Rotonen
2019-01-30 23:30:49
also what is up with the average calcuations? :smile:
```
INFO: Shares: 0 (rejected 0) (blocks 0)
tammikuuta 31, 2019 12:24:14 AP. snowblossom.miner.surf.SurfMiner printStats
INFO: 1-min: 0,000/s, 5-min: 0,003/s, hour: 0,000/s
tammikuuta 31, 2019 12:24:14 AP. snowblossom.miner.surf.SurfMiner printStats
INFO: No hashing, and we have a good work unit from the pool. So probably something else wrong.
```
```
INFO: Shares: 0 (rejected 0) (blocks 0)
tammikuuta 31, 2019 12:27:14 AP. snowblossom.miner.surf.SurfMiner printStats
INFO: 1-min: 0,017/s, 5-min: 0,007/s, hour: 0,001/s
```
Rotonen
2019-01-30 23:32:03
i suppose it can actually have had found a candidate
Rotonen
2019-01-30 23:32:35
It takes a while to get started
Fireduck
2019-01-30 23:32:38
and slowly rising, i'll leave it overnight, gonna be entertaining to see if it breaks one hash per second
Rotonen
2019-01-30 23:32:40
Like 5 min
Fireduck
2019-01-30 23:32:57
but am i correct in assuming what the 'wave' is?
Rotonen
2019-01-30 23:33:17
so there is just some equally spaced offset for the sequential scans when you have more than one?
Rotonen
2019-01-30 23:33:56
and one should only bump the hashing threads if one saturates a cpu?
Rotonen
2019-01-30 23:34:01
but what's the work unit sizing stuff
Rotonen
2019-01-30 23:39:59
ok, so the idea is it builds up some crescendo towards the end of the block interval and jams a shitton of shares in
Rotonen
2019-01-30 23:41:37
so, not for spinny disks
Rotonen