00:01:37 Hello all... I am new to mining crypto... my computer seems to be struggling with CPU power, my Monero wallet / daemon are now properly synced, however Gupax is not working though... dunno whats to be done here... are there modifications via command lines that will make best use of my setup? 00:04:03 how much RAM do you have 00:04:08 and what is your CPU 00:06:31 System 76 linux: 00:06:33 https://matrix.monero.social/_matrix/media/v1/download/matrix.org/BmRWElgeohxHosgFPgslspkv 00:06:57 when will they fix matrix attachments for the IRC bot 00:07:29 ? 00:07:38 is it known how to modify the link to read the content? 00:08:07 can you see my attached image? 00:08:28 ␌tonekell: matrix␌long msgs and similar arrive here as link, but they are all 404 00:08:41 last one being this --> https://matrix.monero.social/_matrix/media/v1/download/matrix.org/BmRWElgeohxHosgFPgslspkv 00:08:50 (image has i7-10710U with 64GB) 00:09:00 oh thank you for describing the image 00:09:09 but that.. shouldn't stop Gupax 00:09:32 is p2pool and xmrig on? 00:10:38 yes m-relay they are on. I can copy paste relevant gupax message lines... if'n you would like... 00:11:20 can you check both xmrig's logs and p2pool's logs? 00:11:25 oh oh! 00:11:32 maybe p2pool is busy syncing up the blockchain! 00:12:33 https://matrix.monero.social/_matrix/media/v1/download/matrix.org/YjkDFwPLBslDmVdNGTysIWYc 00:12:51 .... another description please? 00:13:11 it won't let me copy / paste info from gupax interface... 00:15:08 p2pool couldn't start ZMQ reader 00:15:45 failed to connect to 127.0.0.1:18083, did you setup your local node properly? 00:15:47 here is gupax XMRig page: 00:15:54 https://matrix.monero.social/_matrix/media/v1/download/matrix.org/JuXtDHKsGsaNNJrpffjsYywy 00:16:47 if you're not using a local node, then use a remote one 00:16:57 Monero address shouldn't be empty? 00:17:16 address in p2pool shouldn't be empty, yeah 00:17:42 but is your localnode working? 00:17:47 my local node is my monero wallet GUI, set to solo mining and all synced up with chain itself, Gupax has proper primary asddress. damn my computer is very slow... 00:18:19 uhhhh 00:18:22 that's not how it works 00:18:25 if you are gonna use p2pool/gupax then you shouldn't be running solo mining, you have to enable zmq 00:18:38 configure monero wallet GUI to use a local node 00:18:46 don't use solo mining within wallet GUI 00:18:47 like i said... brand new to all of this... 00:18:52 https://github.com/hinto-janai/gupax#running-a-local-monero-node read the locs ;) 00:18:55 *docs 00:18:57 ok, 00:19:05 also btw 00:19:08 how much space do you have 00:19:11 in your computer 00:19:20 and are you running on a HDD or SSD? 00:20:14 Did u do what i said yesterday 00:20:16 i don't always understand what is being said in these guides. not crypto savvy. i'll go look though... 00:20:46 depending on your drive, it might be unfeasible to run a local node 00:20:49 or not 00:21:06 that's what i'm wondering too... 00:21:09 I told you what 2 do yesterday 00:21:11 if you have a few gigabytes, you can run a pruned blockchain, but if you have a HDD, it's probably best you don't runa local node 00:21:27 get away with a pruned blockchain* 00:21:44 cindy, my understanding is that stone is already running a node via monero gui 00:21:48 And is already synced 00:22:03 how do i enable ZMQ? 00:22:28 correct, ofrnAI 00:22:54 read the doc I sent... it's quite straightforward, even has a picture 00:23:09 That doc wont help with gui 00:23:20 I sent instruction yesterday 00:23:30 let me scroll and find it 00:23:40 no? it shows how to enable it on the gui 🤔 then it should be fixed if it doesn't work 00:23:44 Enter --zmq-pub=tcp://127.0.0.1:18083 into Daemon startup flags 00:24:13 thanks elongated 00:24:50 ok, flag entered... my wallet is connected, no longer mining since i swithed it P2Pool 00:25:30 Dont do anything on the mining tab in gui 00:25:36 should I start up mining again? 00:25:46 no, not with gui 00:26:01 Start mining using gupax 00:26:33 After entering flag, you should stop -> start the daemon (in gui) 00:29:31 ok... is that going to take hours to sync once I restart, like it did yesterday? 00:30:08 Thank you all for your help! I'm taking notes. 00:30:49 No 00:31:10 A few seconds 00:31:55 ok, did it. seems to just restart automatically. sticll connected. now goto gupax? 00:34:15 ok, here's scrn shot of gupax after gui daemon restart... 00:34:30 https://matrix.monero.social/_matrix/media/v1/download/matrix.org/osVzmaeISMXqRjMmaczFlzsB 00:45:13 Everyone's gone quiet. hope I didn't upset anyone. not sure where else to turn for advice... I'll go read guides / research. don't mean to take up all your time. 00:45:59 i wish i could help 00:46:04 but i can't look at matrix attachments 00:47:22 hmm, gupax won't let me copy n paste info. maybe I should set wallet to remote node? unsure. i'll go research. 00:47:49 or, just mine with wallet, not gupax. 01:20:19 No, just that time of day 01:23:57 What are the rest of your p2pool settings 01:24:03 (In gupax) 03:03:32 i wonder what happens if monero starts associating your private spend key with mining 03:03:35 like wownero 03:03:42 to completely kill off pools 03:54:05 The same thing that happens in wownero. botnets become solo-miners 04:01:25 but honestly i doubt qubic will take over shit 04:02:31 you think the amount of people who use monero, and they'd let some memey cryptobro try to take over? 04:04:01 he should probably quit while he still can, because there are people he's not gonna want to piss off 04:22:36 It would be good if gupax can handle this or tell you how to start monerod for p2pool mining. 04:24:34 Is there any way to get a GPU to mine monero? 04:28:20 Yeah, xmrig support opencl and cuda 04:28:21 But you are going to waste a lot of power for not much 04:28:47 my Radeon RX 9070XT is equivalent to what? 2 CPU cores while taking 220W 04:29:01 and I can mine with 32 thread with ~100W 04:29:20 soooo 04:29:21 Use the GPU if you want but know that it's extremely inneficient to do so (by design) 04:30:02 i don't think you should start monerod, p2pool and xmrig all on the same computer 04:30:29 monerod has its own RandomX verification code, p2pool too, and xmrig also needs memory for RandomX 04:30:47 unless you have enough RAM for all that, split between servers 04:31:27 (i think p2pool can offload RandomX verification to the monero node, but still) 05:59:06 hi there, which mobile monero wallet is reproducible? 06:04:28 what do you mean with reproducible? 06:04:29 like NixOS or what 06:04:31 lol 06:04:38 MONERO WALLET, PLAY MUSIC 06:04:44 sory 07:21:48 none 07:23:26 <1​7lifers:matrix.org> they can't do that 07:23:28 <1​7lifers:matrix.org> xd 07:25:01 quite sad, worrying that no one could do it 07:27:27 <1​7lifers:matrix.org> lmao 07:38:29 is that not it a piece of cake? 😬 07:50:33 PIECE OF CAKE? 08:51:14 <1​7lifers:matrix.org> i want some 08:51:27 <1​7lifers:matrix.org> mmm 14:30:45 So mining as an unprived user, 'monero', that wallet can not be also accessed by my regular user? As the monero user has his own dir with the wallet files, they cannot be accessed locally much less over the LAN? 14:44:28 Ah, don't worry about me anymore. I've got it. 14:45:40 i had a question related to this 14:45:49 is it really recommended to run XMRig as root? 14:47:43 Certainly not from a security standpoint. But it is necessary to set CPU MSRs and a couple other things. 14:48:08 XMRig has seperate scripts for setting the CPU MSRs and hugepages manually 14:48:19 can i run those as root, and then XMRig as non-root? 14:48:22 (if they still work) 14:49:16 Seems plausible. The main thing is turning -off- CPU Prefetch (thru MSR). Personally I did this in BIOS under Advanced. 14:49:39 Prefetch plays havoc with the XRandom algo. 14:50:58 Can also set hugepages to 1GB in /etc/sysctl.d/whateveryourfilenameis. 14:51:18 1GB really depends on how much RAM you have 14:51:40 Ya I have 64GB and that's what it wants. 14:52:40 " is it really recommended to run XMRig as root?" < yes 14:52:55 " can i run those as root, and then XMRig as non-root?" < yes 14:53:14 Citation? 14:53:53 I know you're not talking to me (?) 14:54:27 Why yes, I am. Recommending ppl set to run as root. 14:54:44 Put me back on your ignore list 💢💢💢 14:55:20 i like to reduce the attack surface though 14:55:33 XMRig does not need root after the initial CPU setup 14:56:18 Good move. 14:57:03 i'd like it if XMRig had an option to run itself as unprivileged after setting up the CPU registers automatically 14:57:15 like how browsers usually run child processes 14:58:49 Depends on how you run it. If in Gupaxx it slams you into sudo, which I never use. If on CLI you're free to decide. 14:59:30 i know it's easier and convenient to give XMRig unrestricted root access lol 14:59:32 # su monero && xmrig ...etc. 15:03:48 And o​frnxmr: you did it to yerself, kid. 15:08:14 Huh, I wonder whether /dev/hugepages must be writable by the xmrig process? 15:08:58 I did what? Un-ignored myself? 15:09:38 quantum`: hugepages can be allocated without root 15:09:56 using madvise 15:10:10 but you need to set the kernel parmeters to enable them 15:10:40 I'm researching how to set the size in sysctl.d. I can set the number with vm.nr_hugepages = 3072. 15:11:22 Another question though is does xmrig need rights to /dev/hugepages? 15:12:50 that would need a review of the source code, but i dobut it 15:12:57 since it doesn't need to share the memory... since it's one process 15:18:43 I am finding only a kernel param way of setting hugepage size. I guess this makes sense. 15:20:09 If I give the VM 48GB I should be safe allocating 40 hugepages of 1GB. 15:20:38 Idk how to tell whether you're memory-constrained while mining. 15:24:05 maybe you can tell by the fact if it uses swap 15:24:25 or if it fails to allocate, you need to disable memory overcommitment 15:25:30 for this though 15:26:25 I'll be darned, it actually booted... 15:26:37 booted without root? 15:27:05 No I made some mods to the kernel commandline tweaking hugepages 15:27:10 ah 15:27:16 Checking... 15:28:07 It twerked! # cat /proc/meminfo | grep Huge 15:28:32 Now, has hashing improved? 15:28:46 xmrig has a shell script that sets CPU registers 15:29:00 you should run that as root too, as see if xmrig works as-is without sudo 15:29:27 I've allocated 48GB to the KVM VM and set: hugepagesz=1G hugepages=25 default_hugepagesz=1G 15:29:33 ooh 15:29:47 tbh i thought 1GB hugepages only provided like 15:29:50 tiny benefits to the hashrate 15:30:10 Oops the number should have been 40, but my sysctl.d file fixed that. 15:31:29 I can take out that sysctl entry since I've fixed the kernel line. 15:32:28 If you're memory-constrained I've gotta think it makes a big diff. 15:33:39 I discovered I'd allocated only 16GB with 55 CPUs. 15:35:30 syncing... 15:41:17 Ok, HUGE PAGES supported, but 1GB PAGES disabled, running as unprived user. 15:42:13 Ok, HUGE PAGES supported, but 1GB PAGES disabled, running as unprived user. 15:42:42 No change in hashing speed. It must be only using 8GB of RAM. 15:44:00 Trying as root... 15:44:11 Diary, when? 15:45:04 Huh, 1GB HUGEPAGES still not supported. (as root) 15:52:41 Check if your CPU supports them 15:53:06 sech1: is it a specific CPU extension? 15:53:32 cat /proc/cpuinfo | grep 1gb 15:53:46 Yes, cpu reports it 15:54:00 Don't remember the exact name, but it has 1gb in it 15:54:34 pdpe1gb 15:54:43 https://lwn.net/Articles/448571/ 15:55:04 You should try to enable them in grun, and allocate 3 pages 15:55:10 grub 15:55:54 i mean, since quantum` is running in KVM 15:56:18 if they switch off KVM, and emulate pdpe1gb, it could work 15:56:22 (but worse hashrate) 16:02:51 Need to set "1gb-pages": true, in xmrig json file. 16:03:32 And maybe huge-pages-jit. 16:10:57 See any problems? https://www.zerobin.net/?902521b461b715f0#QFidg7qSr43Wc2uXYZURMzZBRne+rvS7qK0XCvoQAq4= 16:12:06 can you check /proc/cpuinfo 16:13:33 For example: https://www.zerobin.net/?4a6f9a0bdea8716a#wtUTqIpAm/sNcMb5FSdjvdUfiLsSWlHD1JxQtD50xoY= 16:14:23 I'v pinned CPUs so they're not thrashing cache. 16:15:09 ... and turned off Prefetch in the host's BIOS. 16:15:19 CPU is passthrough to the guest. 16:15:48 Fixin' to try my shiny new .json... 16:16:50 okay i see pdpe1gb in the flags 16:17:22 Oops, crash on "coin"... 16:18:06 Apparently monero is invalid. 16:20:24 HA, just needed double-quotes. 16:20:40 Rockin' HUGEPAAGES now. 16:22:05 GODDAM, TRIPLED my hashrate! And still using only half the CPUs for some reason. 16:22:36 how much is your hashrate now :P 16:23:52 54 CPUs, 10,111 H/s. 16:24:12 ... nd using only half my CPU capacity for some reason. 16:24:26 that is like 187 H/s per CPU 16:24:36 which is weird 16:25:02 is your CPU designed like a GPU? 16:25:08 like more cores but each one weaker? 16:26:06 No, standard server. (EPYC). top shows CPU 2,907% 16:26:48 Oh, could be disk-bound. Rotating drive. 16:29:00 Wow, what a difference though. 16:29:08 it shouldn't be disk bound 16:29:15 unless you have swap 16:29:32 in fact, mining doesn't use the disk at all 16:30:29 Turned off swap, intending to move to RAM but never got to it. 16:31:12 well that should be the issue 16:31:19 You're right, iotop shows the disk hardly used. 16:32:21 ... and I'm mining as non-prived user monero. 16:33:04 So now I have some new mysterious constraint. 16:33:38 The CPU can run full-bore standing on its head, with the large eatsink I have. 16:34:24 also btw 16:34:31 did you set the MSR registers? 16:35:20 No, haven't bothered as I thought that is all about prefetch. 16:35:27 ah 16:35:29 well fair 16:36:09 Rebooting to get swap... 16:40:16 Oops, no mo' swap part. 16:41:12 Gotta research frickin' swap in RAM... 16:42:26 swap.. in RAM 16:42:56 * Cindy imagines a ramdisk with a swap partition on it 16:45:20 Yup, dun did it befo', gotta re-learn now. 16:47:32 "Note that there are kernel modules Zram and Zswap which allows compressing the swap inside RAM. Zram does not need any physical swap device." 16:48:48 https://wiki.debian.org/ZRam 16:57:01 Well that was easy. # aptitude install zram-tools systemd-zram-generator 16:57:27 zram is gonna slow down your hashrate :P 16:57:43 since it needs CPU to decompress and compres 17:00:20 IF it were using swap, which it shouldn't. 17:00:48 zram still needs CPU to decompress the compressed RAM 17:00:54 zram has no appreciable effect on hashrate. 17:01:13 Only when it's used tho, right? 17:01:27 yeah, only when the compressed memory is used 17:01:54 Oh sure, it says, "FAILED TO APPLY MSR MOD, HASHRATE WILL BE LOW", but it doesn't really mean it. 17:02:53 free -h shows zero swap used. 17:03:12 did you benchmark hashrate between zram and no zram? 17:03:42 Essentially. I remember what it was before, and now. 17:04:07 It's a hair lower: 10,613 17:04:47 Still not using half my CPU. 17:06:11 Ok stopped /dev/zram0. (systemctl stop /dev/zram0) 17:08:16 Uhnh, 10,447 now 17:09:29 Something is mightily constraining my bandwidth. Maybe htop will advise... 17:10:50 I have a question about shares diff, I have xmrig-proxy connected to p2pool, p2pool gives to high diff, I set it manually for each miner, so shares happen approx. once per ~30 secs, I have no idea what I'm doing but I read somewhere it should be like this (ideally 1 share per 30 secs)? 17:11:47 should have asked in monero-mining I guess 17:17:56 Found it. 17:21:41 ruidx p2pool auto-adjusts diff, and you don't need xmrig-proxy to connect to p2pool 17:21:56 but yes, one share per 30 seconds is fine 17:23:04 nice, I just have a little UI for xmrig-proxy using http api, like to watch tables with stats :) 17:59:11 <1​7lifers:matrix.org> scam alert - fake tradeogre website https://ibb.co/xq94WCjS 18:45:58 homer 18:47:22 simpson 18:56:37 I cannot find it in english, but this was the scene --> https://inv.nadeko.net/watch?v=vokA5OpKaQA 19:07:11 https://blog.accrescent.app/posts/the-future-of-accrescent/ 19:07:20 Monero was the highest donation 19:09:04 <1​7lifers:matrix.org> as it should be. 19:11:26 Monero has always been #1 biggest supporter to FOSS projects 19:11:41 <1​7lifers:matrix.org> rip to those who paid with eth and btc 19:11:54 <1​7lifers:matrix.org> theyre logged and will be hunted down at some point by any such entity 21:46:41 Anyone here know this guy? https://www.youtube.com/@ShadowofAtlas He references XMR sometimes. I am not sure if all he says makes sense, but it's entertaining content anyway.