this guy is crushing it, must be spending some big $
snow:0quas9p42rwt5vp4j92u9up3h9hjlna8fm5rah4k
When setting the memfield cache size is this only for the memfield? Or is this for the entire miner and all the other stuff it puts into memory?
only for the memfield
for some reason it keeps stalling when loading into mem
and when I check htop I see this
heapdumpoutofmemory
even though I have xmx set to 18gb
what do you have the precache set to?
and, as said, get it to start with just one thread at first
one problem at a time
precache 1, threads 1
then keep bumping the precache
then start bumping the thread count
same problem
one thread one gb cache
looks like it's taking a long time to load 1gb...
this is what Im using to launch ./bazel-bin/SnowBlossomMiner --jvm_flags=-Xmx185g /var/snowblossom/configs/miner-mainnet.conf
and I keep seeing this outofmemoryerror in my running PID's
I don't understand that last statement
its going now with 1 thread and 1gb loaded into mem, you were right just took a long time
it would be nice if it wasnt trying to load work from the pool while its still loading the memcache
I've noticed on my machine once it gets to about 47gb loaded it hangs for a good minute or two. I haven't looked into it because it doesn't bother me, but I suppose it's some heavy lifting inside the garbage collector
meh... all the threads are blocked waiting, so I don't see a problem
I just mean so you dont see it writing out that its stalled
oh yeah
I actually did want to load it before starting all that nonsense, but because of the design of the FieldScan to support swapping to a higher snowfield without restarting the miner it would have required a lot more piping and I didn't want to fuddle up the code too bad
also the solo miner seems to load faster than the pool miner
!
how many times did you repro that?
well Im just noticing by the approx ten times Ive tried
no clue.
the solo miner will get the first 6gb in before the first stall message, the pool miner takes ten minutes before it gets even a few gb loaded
hard to explain
i’m also +1 on not disk mining before memfield or precache is done - the disk mining saturates io and there is a net loss
there shouldn't be any disk mining happening before precache
13 min with solo miner now and only 5gb loaded
wtf?
pool miner I mean
51gb loads for me in like 3-4 minutes
its as if the work from the pool is interrupting it
all the threads should be blocked on that line (except the one loading the precache)
you can do [kill -3 <pid>] to force java to print out the stacktraces
(or use jstack, whichever you prefer)
@Tyler Boone it’s been definitively mining for me before memfield is complete
@Rotonen, send logs
or does it start mining the early loaded memfield?
when using memfield (non hybrid) it mines for me before done loading too
no, it waits for the entire precache
rtfc
when hybrid mining it doesnt have a hashrate until the cache is done loading
@Tyler Boone will do, not near a privileged terminal within the next 6h or so, though
but its taking a god awful long time to load the cache into mem
@Shoots sure it is the same snowpath between solo and pool?
maybe the drive is sleepy
sustaining io on cloud offerings usually gets one throttled
yup
using same config just commenting out the node_host and pool_host when I switch
over 25 min now INFO: pre-caching snowfield: loaded 7 gb of 102 (6%)
normal memfield mining it takes about 10 minutes to load 185gb and use all of my memory
ok there we go, I was using PoolMiner that was built with bazel build :all, if I build and use PoolMiner_deploy.jar it loads faster
strange
that was with a fresh git pull
i also have much better performance with the deployment builds
that’s not expected?
not at all
should be no difference other than maybe a few hundred ms at startup
unless someone fucked up the code in master
implicit jvm flags via bazel? it’s a weird target class
@Shoots if you want to pull down the 1.1.2 release tag and build that, I'd appreciate that
it could be a performance regression
@Rotonen good point. in that case, I'd expect better via bazel-bin/PoolMiner
he was also noting earlier he had the best performance with 1.0.7
yeah, might be a regression
that entire thing needs to be restructured
less emphasis on smoothly handling field changes
i’ll do a benchmark sweep across tags later
more emphasis on allowing field peices to have various optimization/buffer/behavior on or off
@Rotonen I love you
i’d just drop the whole field change stuff
am I not pulling 1.1.2 when I do git pull?
the battery of hits and misses confuses people
or at least kick it out to a base layer and restart everything
1:20 min only 43gb loaded into memory
it started faster, but as soon as it started printing out that it was stalled it slowed right down
Just downloaded the 1.12 release and its loading fine, so it must be something to do with the version I was building
ok so now I just want to test to see if this version will go over my max amount of memory which is 185gb, but Im getting out of memory error when it hits 137gb.
java -Xmx185g -jar bazel-bin/PoolMiner_deploy.jar /var/snowblossom/configs/miner-mainnet.conf
define ’out of memory error’
yeah super weird
Jun 27, 2018 7:33:01 PM snowblossom.miner.PoolMiner$MinerThread run WARNING: Error: java.lang.OutOfMemoryError: Java heap space
only 137/185gb used, and Im using xmx flag to set the java limit higher
try with a matching -Xms
do also note all java objects have overhead
yes
but look at the htop screenshot
far from using the 185gb
never had this problem with other version, only since I built :all with 1.1.2 source
who's the crazy 4hk mining guy?
@Shoots i do not fully trust accounting from htop, use top ot atop
htop has been accurate for me until now, Ill check top
i’ve had various silly issues with htop over the past 15 years
well it eventually ran out of mem as well, not sure why 1.1.2 gives me so much lower hr than the older 1.0 version I was using before
3.4 > 2.5mh
probably terrible code by drunks
lol
I have both the old version and the new version built on this same vm, I can run both and I get 3.4 on one and 2.5 on the other
I even built 1.1.2 from source cause someone mentioned doing that would help with threading
and this is memory mining?
yes
would you mine filing an issue on github?
Im going to try some other versions and test
sounds like something got broken when the pre-cache code went in, maybe
Im trying 1.0.7 the first version with pre cache
yup 1.0.7 is slower too, 48c vm, gets 3.4mh on 1.0.6 and only 2.5mh on 1.0.7+
thats using the poolminer
sure
@Shoots whats your hardware to get 3.4M/s?
compute instance?
48c vm