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