-
hyc
hey, can someone with an Intel Mac verify this?
tevador/RandomX #216#issuecomment-886029727
-
hyc
ok selsta verified for me. sech1, when you get a chance, mebbe approve/merge the last 2 PRs
-
sech1
hyc #217 and #222?
-
hyc
yep
-
hyc
I had an outstanding question on #222 tho
-
hyc
if you can answer, that'd be good
-
sech1
I have no idea, I didn't even know about this double column thing before today
-
hyc
have you built DLL with msvc recently?
-
sech1
I never build this DLL actually
-
hyc
oh, I thought you said you ran into this problem before on windows
-
sech1
It was in debug MSVC build, with static randomx lib
-
hyc
huh. interesting. I thought this was only a problem for shared libs, but oh well.
-
sech1
I don't think #222 will change debug MSVC behavior
-
hyc
you don't think it will fix anything?
-
sech1
because it's about external calls, not internal jumps within the same asm file
-
sech1
no, it definitely fixes some issues with linker
-
sech1
MSVC just does its own shenanigans in debug build
-
hyc
ah
-
sech1
like placing jmp trampoline for every function
-
tevador
MSVC debug build still crashes
-
hyc
have you got a trace of exactly where it crashes?
-
hyc
wondering if it's related to the line I commented about, or completely different location
-
tevador
I think it's an unrelated issue
-
sech1
in debug MSVC build? It crashes because pointer to functions were not pointing to the actual ASM code, so all size and ptr diff calculations were wrong
-
tevador
-
sech1
-
tevador
because epilogueSize is negative
-
tevador
can you PR it?
-
sech1
my branch is quite divergent from mainline, I'll make a separate PR tomorrow
-
hyc
cool. then 222 can go in as-is and your PR will take care of the rest
-
tevador
everything has been merged
-
hyc
ah just got the last email from github. cool
-
sech1
or maybe I'll PR today, it shouldn't take much time
-
tevador
soon it will be 2 years since RandomX activation on mainnet and I'm still waiting for shelby3's ASIC
-
hyc
lol
-
hyc
or linzhi's
-
tevador
linzhi must be bankrupt by now, their ASICs have bricked themselves by being too late, DAG won't fit anymore
-
tevador
^I mean their ethereum stuff
-
sech1
-
tevador
btw any info on how wownero's pool blocking strategy has been going?
-
sech1
works so far
-
sech1
I've been mining it solo for quite a while, but then switched all my servers to p2pool
-
tevador
the next step should be bundling p2pool with monerod
-
hyc
I'd like to see it integrated. otherwise wasting a lot of RAM on caches & datasets
-
tevador
1 GH/s of braindead miners still on minexmr
-
hyc
huh. I got 17 payouts today
-
hyc
previous was oct 27, nothing in between
-
sech1
hyc integrated how? It's completely different codebases, monerod doesn't use libuv. Maybe monerod can share RandomX caches via file mapping
-
hyc
just some mechanism so they can share randomx memory, yeah
-
sech1
it's better to have on monerod side via some RPC that tell the name of file mapping
-
sech1
or just some well known name
-
hyc
p2pool only needs to verify hashes right? why not just forward to monerod for verification
-
sech1
that's slower
-
sech1
maybe for "super-light" mode
-
sech1
But monerod doesn't have such RPC yet
-
tevador
in theory, RandomX could be moved completely out of monerod, something like
github.com/tevador/randomx-service
-
hyc
yes, \i suggestted this a few days ago
-
sech1
without RandomX stuff, p2pool uses less than 100 MB of memory
-
sech1
and that's including 12 hours worth of sidechain blocks
-
hyc
suppose we do a randomx-service using unix domain sockets
-
tevador
even with localhost TCP, the overhead will be negligible compared to the ~1 ms it takes to calculate the hash
-
sech1
usually 2 ms when it's not in batch mode
-
sech1
because cache is cold
-
sech1
also, monerod uses only light mode normally
-
hyc
a single randomx-service that does mining plus p2pool + monerod verification would be slick
-
sech1
one more thing to set up?
-
sech1
probably better to keep it inside monerod
-
tevador
or monerod could get a RPC method for calculating hashes
-
hyc
yeah, that could work. all the necessary parts are already present
-
sech1
that would be limited to the current 2 RandomX caches though, but p2pool doesn't need more
-
hyc
so there's 2 actions, right? one is to validate if an incoming share was computed correctly\
-
hyc
the other is to submit a block to monerod if the incoming hash solves the mainchain difficulty
-
hyc
in the latter case, you can just send it to monerod without trying to validate it
-
sech1
I already send it before PoW validation
-
sech1
but PoW validation is done on p2pool side later anyway
-
hyc
can prob get a new monerod rpc ready before v0.18 release