-
hyc
hi sorry I'm out all this weekend. sech1 were you able to kill the redundant cache flushes for this release?
-
sech1
hyc no, it's still there. I don't think it hurts performance much, the benchmark showed more than 2200 h/s on M1
-
selsta
-
selsta
glibc_compat.cpp:(.text+0x30): undefined reference to `glob_old'
-
selsta
I thought about adding a similar line with `#elif defined(__riscv)` but don't know how to find the GLIBC version
-
moneromoooo
external/db_drivers/liblmdb/mdb.c:#define GLIBC_VER ((__GLIBC__ << 16 )| __GLIBC_MINOR__)
-
m-relay
<tobtoht:monero.social> selsta: remove -DBACKCOMPAT=ON for riscv64 builds. glibc only added riscv support in 2.27
-
selsta
thank you, trying that now
-
selsta
tevador: can you test the if the gitian binary works on your risc-v system?
github.com/selsta/monero/actions/runs/6597189374
-
m-relay
-
m-relay
<tobtoht:monero.social> :D
-
selsta
nice :) now I just have to confirm that the hash stays consistent
-
m-relay
<tobtoht:monero.social> sent a test transaction with cli, seems to be working fine
-
m-relay
<tobtoht:monero.social> getting I/O errors with the daemon but this might be attributable to whatever F-tier sd card I'm running this on
-
tevador
the monerod binary seems to be running fine
-
sech1
Nice. Now we just need some RISC-V Raspberry Pi 5 level board
-
selsta
if anyone else wants to confirm the hash, I tried with two separate Github Action VMs and they matched
-
selsta
./gitian-build.py --setup --docker --url
github.com/selsta/monero github-actions riscv-gitian
-
selsta
./gitian-build.py --docker --detach-sign --no-commit --build -j 3 -o l --url
github.com/selsta/monero github-actions riscv-gitian
-
selsta
688fd44ffa1dd27b8a48e2abc1ead1e0bfb048f6acd9e7ac97b200e2d3697b48 monero-riscv64-linux-gnu-c56932183.tar.bz2
-
tevador
btw, monerod estimates 28 days to sync on my board... no sure how it compares to raspberry pis
-
selsta
-
m-relay
<tobtoht:monero.social> selsta: looks good, just running a build to see if hash matches
-
m-relay
<tobtoht:monero.social> hash matches
-
selsta
ty, also added the steps to check if hashes match in case someone else wants to try it
-
plowsof
iirc the estimate can not see into the future, so its wildly inaccurate to begin with (it assume all blocks are emptyish in the beginning) but im not certain
-
hyc
hmm, lemme plug in a USB SSD so I have somewhere to store the blockchain
-
hyc
hmm, my commit id was 9ea325777 for your PR. not c56932183
-
hyc
so my build hash doesn't match yours
-
hyc
selsta ^ where did your commit ID come from?
-
hyc
ah I see. from your test branch
-
hyc
ok trying again
-
hyc
OPT="-o l -j8" ./dockrun.sh c56932183
-
hyc
yeah hash matches
-
hyc
started monerod
-
hyc
sad. gigabit network, node traffic rarely hits 1Mbit
-
hyc
this is syncing with --add-exclusive-node against my rockpro64. probably the rockpro is too slow
-
moneromoooo
IIRC the node will download blocks till 100 MB, then wait to refill.
-
hyc
yeah I doubt the 4GB RAM is enough for the rockpro to serve the tip of the chain and also replay from the beginningo f the chain for the new node
-
hyc
so the final blocks should transfer quicker because they'll already be cached in memory