-
rbrunner
I proudly present what is probably the first fiction short story about RandomX:
rbrunner7.github.io/numerator.html
-
hyc
cool!
-
merope
Nice! :D
-
merope
Wait - is that why my computer constantly leaks memory? D:
-
hyc
lol. that one was way out there
-
hyc
of course, any new instructions added to RandomX wouldn't be secret, anyone could see what they are
-
sech1
hyc are you still running Monero node on your phone? I bought a new phone with 6 GB RAM, want to try to run monerod + p2pool on it
-
hyc
yeah. with 4GB RAM it tends to get killed by OOM killer
-
w[m]
I am, 3gb ram
-
moneromooo
My node is running on a VM with 3 GB RAM. Currently uses ~1.1 GB of it.
-
moneromooo
No incoming on that one though.
-
hyc
must be the dumb games I play on the phone that push everything else out
-
sech1
any special steps to compile monerod in termux?
-
hyc
nope
-
hyc
just install the build dependencies
-
w[m]
It doesnt compile for me ^
-
sech1
and I probably need to just copy the blockchain from my notebook instead of syncing it on the phone :D
-
hyc
that's best, yeah
-
hyc
but there's not much need to compile on the phone, since we've got the gitian built android binaries
-
w[m]
Not sure why, but I can compile inside of Ubuntu on termux
-
w[m]
Binaries compiled from pc run fine for me
-
w[m]
I use
-
w[m]
-
hyc
termux gives you clang, even if you ask for gcc, btw
-
sech1
right, there are official android binaries. Still need to compile p2pool
-
hyc
yeah, had a problem with one of the hardware libraries, iirc
-
w[m]
Have auto instructions for p2pool as welk
-
w[m]
I was unable to build p2 inside of termux directly as well
-
sech1
I'll probably have to compile libuv and libzmq too
-
w[m]
-
-
w[m]
s/can/cant**/
-
w[m]
* I can** compile
-
sech1
well, p2pool doesn't work in termux... Needs fixing
-
hyc
oh? what broke?
-
sech1
getaddrinfo
-
sech1
and a few quirks with compilation
-
sech1
pthread_cancel not found, for example
-
w[m]
If you get android binaries for androidarmv8 , can you share compilation instructions? (Would be nice to run directly in termux/ not rely on Ubuntu in termux )
-
hyc
hmm. I can't find my android build tree now
-
hyc
might have blown it away in a termux upgrade
-
sech1
no idea what's wrong with getaddrinfo there:
imgur.com/a/zZUgoiE
-
sech1
p2pool.io works fine, but seeds-mini.p2pool.io returns "Invalid value for ai_flags"
-
hyc
libuv and libzmq are p2pool submodules but cmake doesn't see them. ??
-
sech1
libuv/libzmq submodules are used for static binary compilation, you can used default termux packages instead
-
hyc
ah ok
-
sech1
it seems termux doesn't support AI_V4MAPPED flag for getaddrinfo
-
hyc
you have ipv6?
-
hyc
getaddrinfo should be in android bionic, not a termux lib
-
sech1
I don't have ipv6
-
sech1
everything works without this flag
-
sech1
now to figure out why pthread_cancel is not found during compilation
-
hyc
doesn't exist in bionic
-
hyc
can you use pthread_kill instead?
-
sech1
I'm not sure if it's even needed anymore
-
sech1
because "exit" console command worked fine without it
-
w[m]
sech1:
-
w[m]
Are you running the binaries without ubuntu? Or did you compile? (If so, how 🙃)
-
sech1
without ubuntu
-
hyc
yeah compiled fine for me with pthread_cancel commented out
-
sech1
I'll push the fixes soon so it will compile without problems with simple git clone/cmake/make
-
hyc
prob need to do a static build tho, so it doesn't need libuv.so and libzmq.so
-
sech1
it's not fully static build, it just links libuv and libzmq statically
-
thomasb06
Hello. Monerod says the blockchain is synced. Then I ran monero-wallet-cli, but it seems the computer is very quiet to mine
-
moneromooo
Do you mean "it is so quite than I am not quite sure it's quite mining" ?
-
moneromooo
s/quite/quiet/
-
moneromooo
If so, check top, at least one core should be at 100% usage.
-
moneromooo
(for the mining process)
-
moneromooo
Quite possibly your computer is quite good at quiet air circulation.
-
moneromooo
You can also break into the process with gdb to double check it's running pow hashes.
-
moneromooo
(gdb /path/to/binary pid-of-process, thread apply all bt, look for randomx functions)
-
thomasb06
ah, top. Let me check
-
thomasb06
monerod is consuming more cpu
-
thomasb06
gdb is to run in parallel, right?
-
thomasb06
gdb has started and shows a prompt
-
thomasb06
the cpu is far from 100%
-
thomasb06
maybe I need to say start-mining to monero-wallet-cli?
-
merope
start-mining in the wallet actually just starts the miner inside monerod
-
thomasb06
so start-mining from monerod?
-
merope
You can check your mining status with the `status` command. The last part of the string will tell you either "(not mining" or "mining at xxx H/s", or something like that
-
merope
anyway, if you want to mine you should not be using monerod directly
-
moneromooo
I often shy away from the "did you press the button" comment as it's usually "duh, of course" :D
-
merope
You should use xmrig and point it directly to your node's rpc port (for solo mining - not recommended), or run xmrig+p2pool for the best mining setup
-
thomasb06
mining at 0 H/s
-
thomasb06
so next step is to run xmrig and p2pool then, the wallet is just to know my balance
-
merope
yup
-
thomasb06
this must be the place:
xmrig.com/docs/miner
-
merope
yep
-
thomasb06
do I need to stop monerod or the wallet?
-
thomasb06
xmrig seems to download the blockchain
-
moneromooo
Weird. Trojan maybe. Or you renamed stuff and make a mistake ?
-
thomasb06
mistook with monerod...
-
thomasb06
sorry
-
merope
No, you need to keep running the node at the same time
-
thomasb06
checksums are correct
-
thomasb06
ok, then I keep monerod and the wallet
-
thomasb06
instead of `./monerod --zmq-pub tcp://127.0.0.1:18083 --disable-dns-checkpoints --enable-dns-blocklist`, can I add zmq-pub=tcp://127.0.0.1:18083 in my config file?
-
thomasb06
and `disable-dns-checkpoints=1`
-
thomasb06
some hosts are blocked, nothing wrong?
-
thomasb06
p2pool has started
-
thomasb06
next xmrig
-
thomasb06
do I need to change the page size before?
-
moneromooo
Page size or number of huge pages ?
-
moneromooo
The former, no, I think you need to rebuild the kernel for that. The latter, yes. You need a bit of more than 2 GB per mining thread IIRC.
-
moneromooo
Page size bump doesn't have much impact on performance IIRC. Use what your kernel is configured for (2 MB is likely I think).
-
moneromooo
For number of huge pages, twiddle nr_hugepages in /sys/class/vm or similar.
-
thomasb06
huge pages, sorry. What I did was to start monerod, then the wallet, then p2pool, then change the huge pages, then start xmrig
-
moneromooo
er, /proc/sys/vm
-
moneromooo
I'd expect that to be in a xmrig README. Assuming you read it, try grepping again.
-
thomasb06
the command was `sudo sysctl vm.nr_hugepages=3072`
-
thomasb06
right
-
thomasb06
Readme says the same
-
thomasb06
the logs say "RandomX_Hasher couldn't allocate RandomX dataset using large pages"
-
thomasb06
Maybe I should stop xmrig and p2pool and restart them
-
moneromooo
Check whether you have enough free RAM for those huge pages to fit.
-
moneromooo
ie, 6 GB (or 3 GB, can't recall whether huge pages are 2 MB or 1 MB usually).
-
moneromooo
Or if you have 1 GB, the other possibility, but that's unlikely.
-
thomasb06
the ram is 32G
-
thomasb06
monerod says not mining...
-
thomasb06
p2pool has warnings: "P2Pool submit_block (external blob): daemon returned error: unknown error"
-
moneromooo
You can probably get more info with log level 1 in monerod.
-
thomasb06
let me check
-
thomasb06
can I stop monerod while p2pool and xmrig are running?
-
moneromooo
yes
-
thomasb06
the log level is not an option anyway?
-
moneromooo
set_log 1
-
thomasb06
it's a command, ok
-
moneromooo
(or --log-level 1 on startup)
-
thomasb06
it's in the config
-
thomasb06
monerod is supposed to say "mining at xxx H/s"?
-
moneromooo
If you run mining_status, yes.
-
moneromooo
And you are mining.
-
thomasb06
"Not currently mining"
-
thomasb06
Well, it's late already
-
thomasb06
see you tomorrow
-
moneromooo
I assume you did ask it to start mining... :)
-
thomasb06
to monerod? No indeed
-
thomasb06
let me check
-
thomasb06
"Mining at 0 H/s with 1 thread"
-
thomasb06
"Mining at 85 H/s with 1 thread"
-
thomasb06
Anyway... Enough mining for today
-
thomasb06
Good night
-
thomasb06
;p
-
moneromooo
gn
-
merope
If you are mining through xmrig/p2pool, then monerod will not see that as active mining
-
merope
Or rather: the mining_status command only refers to the internal miner. It is not aware of other external programs mining
-
thomasb06
merope tomorrow, I'll redo everything. Surely I missed something
-
thomasb06
cheers
-
merope
alright, have a good night
-
» thomasb06 Zzzz $$$$$ Zzzz $$$$$
-
hinto[m]
is it ok to shill my project
-
hinto[m]
it was kinda meant for this situation thomasb06
-
hinto[m]
think hes gone tho
-
moneromooo
I'd say if it's relevant, sure. Just keep it... non spammy.
-
moneromooo
Which, since you asked, you're likely to anyway. But yes, wait for them to be back I guess.
-
moneromooo
Assuming it's free/open. If it's download my binary.... no.
-
hinto[m]
had i joined earlier, there wouldn't have had to been a 1-on-1 troubleshooting with moo session :)
-
hinto[m]
guess i'll wait for him to come back