2018-06-28 04:16:06
@Shoots, what is your version of java?
Tyler Boone
2018-06-28 04:20:45
I've tried 8, 10 and openjdk 8
Shoots
2018-06-28 04:20:54
I'm using openjdk 8 right now
Shoots
2018-06-28 04:23:01
you had the slower hashing with 10 as well?
Tyler Boone
2018-06-28 04:24:48
and to confirm this is with memfield=true and without setting anything for the precaching
Tyler Boone
2018-06-28 04:49:01
Correct all versions of Java were the same. Tested different versions of poolminer and 1.0.7+ uses less memory but also hashes slower.
Shoots
2018-06-28 05:10:58
Made some notes for a new mining setup I am thinking about: https://github.com/snowblossomcoin/snowblossom/wiki/Future-Plans
Fireduck
2018-06-28 05:11:07
Extending the idea of hybrid mining to more flexible ends
Fireduck
2018-06-28 07:41:48
well, I tried to repro the slowness, but I get the same rate I always got with memory mining. if you take some stacktraces (jstack <pid>) and post them I'll take a look and see if anything looks fishy
Tyler Boone
2018-06-28 13:29:09
getting them right now
Shoots
2018-06-28 13:29:19
dammit this guy is hammering the network with hash now snow:dwmve86sywjhk3xsfznj2wkjjv9j7rnc6z7afgwv
Shoots
2018-06-28 13:38:56
@Tyler Boone this is a different VM its only 32c, but it has the same experience.
V1.0.6 PoolMiner gives me 1.75mh
V1.1.2 PoolMiner gives me 1.48mh
Shoots
2018-06-28 13:40:13
1.0.6 uses ~210gb of memory
1.1.2 uses ~155gb of memory
Shoots
2018-06-28 13:42:09
Shoots
2018-06-28 14:01:41
"MinerThread" #107 daemon prio=5 os_prio=0 tid=0x00007f50c4cea000 nid=0x1ae3 runnable [0x00007f13484c3000]
java.lang.Thread.State: RUNNABLE
at snowblossom.miner.PoolMiner$MinerThread.runPass(PoolMiner.java:324)
at snowblossom.miner.PoolMiner$MinerThread.run(PoolMiner.java:394)
Tyler Boone
2018-06-28 14:01:59
I see a bunch of those, and I have no idea why that would be common...
Tyler Boone
2018-06-28 14:41:20
in which version?
Shoots
2018-06-28 14:47:48
oh its in both
Shoots
2018-06-28 16:42:39
damn, one of my itty bitty miners found a block for the pool. Shoulda solo mined :stuck_out_tongue_closed_eyes:
stoner19
2018-06-28 16:42:59
I thought people would like that block counter
Fireduck
2018-06-28 16:48:40
@Fireduck, did you look at that stacktrace from Shoots?
Tyler Boone
2018-06-28 16:49:02
I looked at the code and it's nonsensical in my eyes for that stacktrace to appear so many times
Tyler Boone
2018-06-28 16:49:20
but you've been doing java a lot more than me in the last 5 years. maybe there is some terrible gotcha?
Tyler Boone
2018-06-28 16:52:01
on merkle_proof.readWord?
Fireduck
2018-06-28 16:52:15
I'd expect things to be inside readword
Fireduck
2018-06-28 16:53:20
I know right?
Tyler Boone
2018-06-28 16:53:32
I mean, readWord isn't synchronized
Tyler Boone
2018-06-28 16:54:18
I think top and java both don
Fireduck
2018-06-28 16:54:28
't have a good way to represent waiting for a page from ram
Fireduck
2018-06-28 16:55:25
ok, on the next gen mining plan, I would love it if we could avoid doing the memory mining in the java process
Fireduck
2018-06-28 16:55:52
linux has really nice shared memory fs and zram or whatever @Rotonen is always on about
Fireduck
2018-06-28 16:55:58
Windows is the trouble there
Fireduck
2018-06-28 16:57:04
all this next version mining talk is making me moist
Shoots
2018-06-28 16:57:35
@stoner19 how were you able to see you found the block?
Shoots
2018-06-28 16:58:39
INFO: Shares: 31 (rejected 0) (blocks 0)
Fireduck
2018-06-28 16:58:43
counter from poolminer
Fireduck
2018-06-28 16:59:41
oh Im still using old version
Shoots
2018-06-28 16:59:52
cause you know
Shoots
2018-06-28 16:59:54
hr issues
Shoots
2018-06-28 17:00:12
Windows can do RAM disks. the problem with relying on that kind of stuff is you have to have separate stuff for each platform
Tyler Boone
2018-06-28 17:00:28
or rely on users doing it themselves (hint: disaster)
Tyler Boone
2018-06-28 17:00:38
limit windows users to storage mining only
Shoots
2018-06-28 17:00:41
as punishment
Shoots
2018-06-28 17:00:57
```
[2018-06-28 14:38:54] INFO snowblossom.miner.PoolMiner printStats 15 Second mining rate: 588419.267/sec - at this rate 3.802 minutes per share (diff 27.000)
[2018-06-28 14:38:54] INFO snowblossom.miner.PoolMiner printStats 1-min: 588.168K/s, 5-min: 587.713K/s, hour: 588.002K/s
[2018-06-28 14:38:54] INFO snowblossom.miner.PoolMiner printStats Shares: 288 (rejected 0) (blocks 1)
```
stoner19
2018-06-28 17:01:02
that is counter to the purpose of snowblossom
Tyler Boone
2018-06-28 17:01:06
or they can figure out their own ramfs
Fireduck
2018-06-28 17:01:31
but Tyler is right
Fireduck
2018-06-28 17:01:36
sounds like a killer way to attract more users
Tyler Boone
2018-06-28 17:01:56
payout from the pool for the block I solved was 0.96. LOL that blows
stoner19
2018-06-28 17:02:09
pwned
Tyler Boone
2018-06-28 17:02:13
no joke
stoner19
2018-06-28 17:02:18
workin for the man
Fireduck
2018-06-28 17:02:36
Don't want to mine on Maggie's Mining Pool no more
Fireduck
2018-06-28 17:03:01
https://play.google.com/music/m/Tdlblb6mxbgnfjlufh7tlp5f4cm?t=Maggies_Farm_-_Rage_Against_The_Machine Maggie's Farm - Rage Against The Machine
Fireduck
2018-06-28 17:03:21
:heart:
stoner19
2018-06-28 17:04:14
https://www.youtube.com/watch?v=b2F-DItXtZs YouTube Video: Episode 1 - Mongo DB Is Web Scale
Tyler Boone
2018-06-28 17:04:21
that will make you want to work on a farm
Tyler Boone
2018-06-28 17:04:43
I die
Fireduck
2018-06-28 17:05:36
why the hell does java force us to specify a max heap size that is always and forever the max for that process????
Tyler Boone
2018-06-28 17:05:46
what kind of moron designs this shit?
Tyler Boone
2018-06-28 17:06:08
hard to say
Fireduck
2018-06-28 17:07:07
The biggest problem with Java is that the designers think they are smarter than the users, and they force their way on people
Tyler Boone
2018-06-28 17:07:15
Larry Wall FTW!
Tyler Boone
2018-06-28 17:09:15
Weren't smart enough to stop the OOP shitstorm
Fireduck
2018-06-28 17:09:23
but people can write terrible in any language
Fireduck
2018-06-28 17:10:19
define: "OOP shitstorm"
Tyler Boone
2018-06-28 17:10:29
@Slackbot, what do you do?
Tyler Boone
2018-06-28 17:10:42
@Slackbot, tell me a joke
Tyler Boone
2018-06-28 17:10:50
worthless
Tyler Boone
2018-06-28 17:11:03
@Slackbot help
Tyler Boone
2018-06-28 17:11:05
OOP shitstorm, where people don't type any code without making an interface and a factory
Fireduck
2018-06-28 17:11:16
slackbot tells me when people sign up using my subscribe link
Fireduck
2018-06-28 17:11:18
Java encourages such behavior
Tyler Boone
2018-06-28 17:11:38
I think java is a fine language, it is the programmers who use it that are wrong
Fireduck
2018-06-28 17:11:51
I'm not sure how you would instantiate that factory though without a FactoryInstantiator
Tyler Boone
2018-06-28 17:12:14
and a carry all to move it if a sandworm comes
Fireduck
2018-06-28 17:12:55
this is ugly: https://hastebin.com/xorexiguza.css
Fireduck
2018-06-28 17:13:29
nothing has ever been so beautify
Tyler Boone
2018-06-28 17:14:27
so the largest field imaginable is lets say 16TB, that would be 16 thousand of these files
Fireduck
2018-06-28 17:14:36
pushing the open file limit, but whatever at that point
Fireduck
2018-06-28 17:14:43
wow `dwmve86sywjhk3xsfznj2wkjjv9j7rnc6z7afgwv` is murdering these blocks
stoner19
2018-06-28 17:15:35
everyone has to run out of money for AWS and google compute eventually, right?
stoner19
2018-06-28 17:15:57
I have
Fireduck
2018-06-28 17:16:22
seems other haven't yet. Unless they're planning on just getting their account terminated after maxing it out and not paying their bill.
stoner19
2018-06-28 17:16:40
haha
Fireduck
2018-06-28 17:17:22
that's how I roll with my mortgage, so it's probably cool
Tyler Boone
2018-06-28 17:17:55
yeah, it will take them a while to find you
Fireduck
2018-06-28 17:18:04
2nd ave NW or whatever, that could be anywhere
Fireduck
2018-06-28 17:18:44
so I am thinking rather than decimal chunk numbers I'll do 4 hex digits
Fireduck
2018-06-28 17:18:51
.0000 to .FFFF
Fireduck
2018-06-28 17:19:17
nothing matters
Tyler Boone
2018-06-28 17:19:37
take out a second mortgage to pay for 48 hours worth of AWS instances
stoner19
2018-06-28 17:19:37
nice
stoner19
2018-06-28 17:21:00
what is an easy way to convert a number into hex in bash?
Fireduck
2018-06-28 17:22:06
@Fireduck also ext3 can only do 64k subitems per dir
Rotonen
2018-06-28 17:22:33
@Fireduck as in filecount issues are something of yesteryears, no sense to worry
Rotonen
2018-06-28 17:23:20
@Fireduck use a python oneliner for that in your script
Rotonen
2018-06-28 17:23:27
`printf '%x\n' <decimal>` ?
stoner19
2018-06-28 17:23:59
I dig that
Fireduck
2018-06-28 17:24:11
I don't actually know python worth shit
Fireduck
2018-06-28 17:24:24
and using bash to just run dd commands to split out chunks
Fireduck
2018-06-28 17:24:25
prone to such input maliciousness, but sure
Rotonen
2018-06-28 17:26:31
we should just rewrite everything in Perl
Tyler Boone
2018-06-28 17:27:55
perl yeah
Fireduck
2018-06-28 17:28:31
surprisingly nice stuff in the ecosystem
Rotonen
2018-06-28 17:29:06
perl? It has been around long enough, so one would hope
Fireduck
2018-06-28 17:30:13
Perl attracted all the best hackers in the 90s and 2000s, and had one of the first really good community library repositories in CPAN
Tyler Boone
2018-06-28 17:33:16
much better looking: https://hastebin.com/dowujubobe.css
Fireduck
2018-06-28 18:37:41
@stoner19 we should start getting more blocks, just doubled up the pool hr
Shoots
2018-06-28 18:45:47
i’m alone on mine and i still got a block
Rotonen
2018-06-28 18:46:18
as long as you're hashing it all averages out over time
Shoots
2018-06-28 18:57:59
Which pool ? @stoner19 we should start getting more blocks, just doubled up the pool hr
AlexCrow
2018-06-28 19:01:45
proto
Shoots
2018-06-28 19:03:47
and what is avr. hr now on protopool ?
AlexCrow
2018-06-28 19:31:08
I think its around 120mh only right now
Shoots
2018-06-28 19:33:11
ok, I'll put ~ 250MH on protopool
AlexCrow
2018-06-28 19:33:57
Fatcats
Fireduck
2018-06-28 19:34:08
I think I have about 150kh
Fireduck
2018-06-28 19:34:43
I think you was one of the first miners - so it's enough)
AlexCrow
2018-06-28 19:35:16
Should hope I was one of the first
Fireduck
2018-06-28 19:41:45
Alex you're the one who keeps jumping on our pool every now and then I assume?
Shoots
2018-06-28 19:48:42
I did it few times)
AlexCrow
2018-06-28 19:53:56
we appreciate it, didnt take long to find some blocks now
Shoots
2018-06-28 20:05:37
250mh that’s about 50-100 server whoa :open_mouth:
bl0ckchain
2018-06-28 20:06:00
Or they broke the pow
Fireduck
2018-06-28 20:06:11
But I think it is servers
Fireduck
2018-06-28 20:10:24
if you broke bitcoin's PoW, how much money do you think you could extract before people figured it out and bitcoin's value crashes to zero?
Tyler Boone
2018-06-28 20:10:54
I fuckton if not dumb
Fireduck
2018-06-28 20:11:22
Mine at like 20% total network rate and keep mouth shut
Fireduck
2018-06-28 20:12:19
problem is extracting actual money without someone looking into it
Tyler Boone
2018-06-28 20:12:39
Ah
Fireduck
2018-06-28 20:12:52
a single client pulling out hundreds of millions from an exchange is going to attract a lot of attention
Tyler Boone
2018-06-28 20:13:17
pulling in more people increases risk of secret leaking
Tyler Boone
2018-06-28 20:13:34
Yeah, don't mine more than you can trickle out
Fireduck
2018-06-28 20:13:43
Probably a million a week
Fireduck
2018-06-28 20:13:49
@bl0ckchain I imagine its more like 150 servers
Shoots
2018-06-28 20:14:10
depending on the instance type
Shoots
2018-06-28 20:14:18
I have 30 running and its 55mh
Shoots
2018-06-28 20:14:32
Someone before said they were getting 5Mh/s per server, so 50 of those would be 250
Tyler Boone
2018-06-28 20:14:41
I have 2 at 1.1M/s total
stoner19
2018-06-28 20:14:47
obviously some servers are more equal than other servers
Tyler Boone
2018-06-28 20:19:50
it's 160x32cores. I get only ~ 1.8mh per server Someone before said they were getting 5Mh/s per server, so 50 of those would be 250
AlexCrow
2018-06-28 20:21:22
what is 160?
Tyler Boone
2018-06-28 20:21:53
160gb
Fireduck
2018-06-28 20:21:56
my 6 core machine gets 660kh when memory mining. I'm guessing your server is hitting memory bus limits
Tyler Boone
2018-06-28 20:22:21
or you forgot to increase the thread count in the config
Tyler Boone
2018-06-28 20:22:57
I have 64 threads in config, and use 180gb ram
AlexCrow
2018-06-28 20:24:26
160 servers, 32cores and 180gb per server what is 160?
AlexCrow
2018-06-28 20:28:44
whats your hr per vm? and which version of miner are you running?
Shoots
2018-06-28 20:28:58
nvm I see now
Shoots
2018-06-28 20:29:31
I cant get 1.8mh with only 180gb mem usage, so wondering how you get that, I have an issue with the old version using too much memory and the new version using less but not providing the same hr
Shoots
2018-06-28 20:29:52
in order to get 1.8mh I have to run 1.0.6 and it uses 210gb of mem
Shoots
2018-06-28 20:30:10
I run 1.1.2
AlexCrow
2018-06-28 20:30:29
weird, I wonder why I get such low hr
Shoots
2018-06-28 20:30:33
which version of java?
Shoots
2018-06-28 20:30:42
aws or gcp?
Shoots
2018-06-28 20:31:10
I tried java 8 and 10, same HR
GCP
AlexCrow
2018-06-28 20:31:27
hmm Im on aws
Shoots
2018-06-28 20:31:45
it gets up to full speed and then just keeps creeping the memory up and up and up on 1.0.6
Shoots
2018-06-28 20:32:29
on 1.1.2 it uses about 150gb of mem, but it doesnt fully utilize all the cores, seems to be bottlenecked by something as if the threads Ive set in the config arent actually all fully running
Shoots
2018-06-28 20:32:40
I run miner with these params " --jvm_flags=" -Xms"$xms"g -Xmx"$xmx"g -XX:+OptimizeFill -XX:+AggressiveOpts -XX:+UseG1GC -XX:+ExplicitGCInvokesConcurrent -XX:+ParallelRefProcEnabled -XX:+UseStringDeduplication -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:+UnlockDiagnosticVMOptions -XX:G1SummarizeRSetStatsPeriod=1" configs/miner-mainnet.conf
"
AlexCrow
2018-06-28 20:32:54
xms =174 xmx 174
AlexCrow
2018-06-28 20:33:03
oh wow ok let me try
Shoots
2018-06-28 20:33:12
oh...
stoner19
2018-06-28 20:33:20
flags you say...
stoner19
2018-06-28 20:33:36
I don't understand nothing in Java
AlexCrow
2018-06-28 20:33:56
so all these params it's just ....
AlexCrow
2018-06-28 20:33:59
when it doubt flag it out
Shoots
2018-06-28 20:34:22
which one ?
AlexCrow
2018-06-28 20:35:16
I have the zip. I'd have to compile from the repo to use those flags I think
stoner19
2018-06-28 20:35:25
actually probably not. Just put the flags in the bash script, eh?
stoner19
2018-06-28 20:36:09
it's running flags
/PoolMiner --jvm_flags= " " config
AlexCrow
2018-06-28 20:37:34
compiling from source gives me a bit better hashrate than the pre compiled, but still not as much as 1.0.6 for some reason
Shoots
2018-06-28 20:38:00
yeah binary got me only 1.4MH
AlexCrow
2018-06-28 20:38:01
I actually got quite a bit less from compiling
stoner19
2018-06-28 20:44:05
yeah, it doesn't like the flags `SEVERE: Incorrect syntax. Syntax: PoolMiner <config_file>`
stoner19
2018-06-28 20:44:49
you cant use the same syntax as the pre built script
Shoots
2018-06-28 20:44:57
it uses java -jar
Shoots
2018-06-28 20:45:39
You guys are all nuts, I love it
Fireduck
2018-06-28 20:45:59
Shoots
2018-06-28 20:45:59
this is what Im using
Shoots
2018-06-28 20:46:12
bash script is nothing more than `java -jar PoolMiner_deploy.jar`
stoner19
2018-06-28 20:46:28
you can either run with java -jar filename
Shoots
2018-06-28 20:46:44
or ./PoolMiner --jvmflags=
Shoots
2018-06-28 20:47:08
will give it a try again. I was trying to put the flags into the bash script
stoner19
2018-06-28 20:47:20
you can put them in the bash script
Shoots
2018-06-28 20:47:22
look at mine above
Shoots
2018-06-28 20:48:05
strange, wonder why mine is being crabby. Will keep trying.
stoner19
2018-06-28 20:48:17
actually I didnt copy and paste the whole thing, its missing the end
Shoots
2018-06-28 20:50:59
still only getting 1.45mh with 1.1.2 and all those flags
Shoots
2018-06-28 20:53:25
Have you guys tried using shm filesystem rather than memfield?
Fireduck
2018-06-28 20:53:33
nope
Shoots
2018-06-28 20:54:47
tmpfs /var/shm tmpfs defaults,noexec,nosuid,size=160G 0 0
Fireduck
2018-06-28 20:54:52
In fstab
Fireduck
2018-06-28 20:55:13
oh wait yes I did
Shoots
2018-06-28 20:55:23
and it was taking god awfully long to load into mem so I just gave up
Shoots
2018-06-28 20:55:31
Ha
Fireduck
2018-06-28 20:55:47
I restart my miners too often to have them down for an hour copying the field into mem
Shoots
2018-06-28 20:55:47
If you run on gcp I have a bucket with the snowfield
Fireduck
2018-06-28 20:55:58
I dont know why it was taking so much longer than using memfield option
Shoots
2018-06-28 20:56:16
Memfield lazy loads as needed
Fireduck
2018-06-28 20:56:29
So probably takes that hour to get to full speed
Fireduck
2018-06-28 21:17:23
tiny tiny tiny bit of improvement with those flags. Thanks for sharing @AlexCrow & @Shoots
stoner19
2018-06-28 21:34:48
yes. thanks. i have a ~10% better hashrate now.
fydel
2018-06-28 21:36:44
1.1MH vs 1.8MH with memfield tmpfs /var/shm tmpfs defaults,noexec,nosuid,size=160G 0 0
AlexCrow
2018-06-28 21:37:00
@AlexCrow it’s not the cores, it’s the unthrottled cores per memory channels ratio
Rotonen
2018-06-28 21:38:39
and striping shm guaranteedly across channels on the cloud is quite the dark art
Rotonen
2018-06-28 21:38:48
YMMV
Rotonen
2018-06-28 21:40:15
1) linux does not yet have NUMA aware shared memory
2) cloud vendors do not expose translucent NUMA backendy stuff
Rotonen
2018-06-28 22:01:18
Anyone who wants to bleed on the edge of new tech, download this: https://snowblossom.org/snowfields/snowblossom.7.chunk.torrent
Fireduck
2018-06-28 22:01:24
splits the field into 1gb chunks
Fireduck
2018-06-28 22:01:34
hopefully the code to read that will be read in the next few days
Fireduck
2018-06-28 22:07:26
sweet
Shoots
2018-06-28 22:08:06
so I used those flags and it didnt improve my hr on 1.1.2, butttt it reduced the memory usage on 1.0.6 so i can now run my 48 core vm that has 185gb of memory, should get better hash per $ now
Shoots
2018-06-28 23:22:23
@Fireduck neat
Rotonen