09:30:36 I am reading this: https://github.com/SChernykh/p2pool#how-to-mine-on-p2pool 09:31:29 I would like to have my raspberry pi 4 (4GB) to host the monero node necessary for the p2pool. And I would like to connect my miner computer (in the same house network) to the monero node in the raspberry pi. 09:31:53 Do I install `monerod` from this link? https://github.com/SChernykh/p2pool/releases/latest 09:32:17 and then, does `p2pool` run on my raspberry pi? 09:32:41 `xmrig` runs on my miner computer, most possibly. 09:33:02 it is pushing the Pi quite a bit to get it running, but it will work. It might run a bit slow from time to time, and it will take a long time to sync up to the network 09:33:34 you will also need to compile it from source as I do not believe there is a ARM binary yet (correct me if I'm wrong) 09:33:54 yes, use p2pool-v1.1-linux-aarch64.tar.gz 09:34:24 and monerod will most likely crash on RPi because of lack of AES support 09:34:33 I should really look at the repo before commenting :P 09:35:19 sech1: So, my plan is basically dead in the water? 09:35:31 the only single board computer I have is raspberry pi 4. 09:35:49 you can try to compile monerod with NO_AES option 09:36:16 a backup plan would be to use p2pool on the Pi, and use xmrvsbeast[m]'s remote monerod 09:36:20 compile from the source code in your p2pool repo? 09:36:25 p2pool works on Pi 09:36:31 I tested it on my RPi3 09:36:54 no, you compile monerod from https://github.com/monero-project/monero/tree/release-v0.17 09:37:05 you can use p2pool binary, it works on Pi 09:37:30 sech1: I remember you said that you made a few tweaks and changes to the monerod in order for it to be compatible with p2pool 09:37:35 and it's probably better to use remote monerod 09:37:50 that's why I asked. 09:37:50 sech1: ok. 09:38:10 my changes to monerod were merged, you can use official release branch now 09:38:26 very frustrating that monerod doesn't play nice with the most available single board computers out there (raspberry pi's). 09:38:28 sech1: nice. 09:40:05 mechanic41turk[m: I need to find some obscure ASUS single board computer with RK3399 chip and then try to import that into my country etc. etc. 09:40:32 since rockpropro64's are mainly out of stock and are shipped from USA etc. etc. 09:40:38 very very frustrating. 09:41:04 just wanting to run a local node, requires a somewhat more specialized hardware than it is for bitcoin. 09:43:48 p2pool will run ok on a RPi, the Monerod is a lot heavier on resources, so most SBC's won't handle it too smoothly 09:44:04 Most of the SBC's with AES I've found only have at best 2GB of memory 09:45:05 pauliouk: yes, that's what I see with one candidate for my shopping, too. 09:45:21 pauliouk: you have an SBC recommendation for running a monero node? 09:45:31 monerod runs surprisingly well on modern phones though. Just use external micro-SD card for blockchain and run pruned node 09:45:41 Android + termux 09:45:58 sech1: That would have never occurred to me. 09:46:01 was just about to suggest an android phone 09:46:02 Very interesting. 09:46:13 buy old Android phone with 4 GB RAM and micro-SD slot 09:46:14 I have a pixel3a running grapheneOS. 09:46:26 means it's going to be stuck to just wifi, but yeah should do the trick regardless 09:46:48 there's even official binaries for Android: https://downloads.getmonero.org/cli/monero-android-armv8-v0.17.2.3.tar.bz2 09:46:52 fascinating, but still a "meh" solution to running a home node. 09:47:11 a small SBC should be more stable, and more accessible via ssh than an android phone. 09:47:30 since android phone runs a modified version of linux, while SBC's mainly run linux itself. 09:47:52 much more accustomed to accessing linux, and doing admin stuff in them, than doing in an android phone. 09:49:08 also, the phone should get really hot during initial sync with the blocks after the randomX fork. 09:49:11 https://lifewire.com/run-linux-on-android-4586926 09:49:27 my laptop computer always screams like crazy once monerod gets to those blocks syncing. 09:50:30 mechanic41turk[m: TL;DR compile your own binaries for raspi 4 09:50:31 a little USB fan will help with things like a RPi or phone :) 09:50:46 should be fine to run a node 09:51:14 sech1: also, monerod already complains about the HDD's for those having slower writing speeds. MicroSD's also have slower read/write speeds. Thus, isn't it also not good to try and run a hacky node on an android with an SDcard? 09:51:14 SD card will probably be the bottleneck there 09:51:48 "I tested it on my RPi3" <- were your RPi3 running a 64-bit OS? 09:51:52 your easiest option here would be to use a remote monerod 09:52:19 heck, you could probably rent a VPS somewhere for 6 months for the same price of importing tech to Turkey 09:52:46 pauliouk: my goal is having the software run in the house. 09:52:48 under my thumb. 09:52:57 thus having the most control over it. 09:53:17 at that point, why not I connect to xmrvsbeast's nde 09:53:19 *node. 09:53:22 always the best way, if you have a stable and quick internet connection :) 09:53:46 yes the remote node is a quick and very effective solution 09:54:07 pauliouk: not the best, especially the fact that my ISP doesn't give me a dedicated IP, but rather the whole neighborhood shares one. 09:54:13 Yes, I installed 64-bit OS on my Pi 09:54:20 sech1: OK. 09:55:07 So, I would be installing a 64 bit Ubuntu server on my raspberry pi 4. Then I would compile monerod from the source with no AES support. And then I would download your binaries for aarch64 for the p2pool, and run p2pool and monerod on the raspberry pi 4. 09:55:15 then, I would run the xmrig on my miner computer. 09:56:03 you would get a lot of uncle shares in p2pool because of how slow Pi is 09:56:18 it takes 200-300 ms to verify a block 09:56:21 ugh 09:56:39 I don't know what an uncle share is, but I feel like it is another road block to the smooth operation. 09:58:00 you'll get lower rewards if your node is slow 09:58:57 slow in the sense of read/write speeds to the SSD? 09:59:10 I don't understand, the raspberry pi4 has an OK CPU. 09:59:17 it's not like it is outdated or something. 09:59:36 It is slow cause of specific features randomx uses mechanic41turk[m 09:59:50 I mean, that hardware is the latest in the line of raspberry's, and if that can't handle running monerod, how can we expect "third worlders" to run a node? 09:59:59 old vs new does not mean it performs, but specific features 10:00:03 DataHoarder: yeah, that was my suspicion. 10:00:07 it can handle monerod, no one said that 10:00:20 just, slower, more enough to sync 10:00:27 more than* 10:00:34 DataHoarder: but it is slow, doesn't support aes, cannot run 64 bit binaries, will be slow with rewards in p2pool... 10:00:41 see, 100-200ms vs 2m interval 10:00:47 it can run 64bit 10:00:52 who said it cannot? 10:01:00 DataHoarder: a sec 10:01:21 See these: https://monero.stackexchange.com/questions/13265/which-download-file-should-i-use-for-setting-up-a-node-in-raspberry-pi-4?r=SearchResults&s=1|98.3441 10:01:25 I am running a monerod node on a raspi 4. Slower is not “slow forever” 10:01:33 https://monero.stackexchange.com/questions/13268/how-to-resolve-the-illegal-instruction-core-dumped-error-on-raspberry-pi-4-u?r=SearchResults&s=2|90.8325 10:01:58 DataHoarder: is it armv7 one? 10:02:28 They don’t say you cannot run 64-bit builds, but that 32-bit ones use armv7 and that instruction set lacks the AES ops, so it never was a problem 10:03:04 you can make an armv8/aarch64 build for yourself that uses everything but AES hardware acceleration operations, which is what rpi4 lacks 10:03:25 DataHoarder: any guides, reddit threads, etc on how to do that? 10:03:40 You could follow instructions on p2pool readme 10:04:04 Might as well build both from source :) 10:04:10 seeing here: https://github.com/SChernykh/p2pool#build-instructions 10:04:41 Slow node means you'll be mining on an old p2pool block for 200-300 longer than needed. Compare it with 10 second block time on p2pool and you'll get 2-3% uncle blocks (each uncle block gives 20% less reward) 10:04:43 I don't see the build command specifying the no-AES operation 10:04:49 *for 200-300 ms longer 10:05:05 sech1: ok. thanks. 12:29:05 "Most of the SBC's with AES I'..." <- on this, is it recommended to have at least 4 GB RAM on an SBC, in order to run monerod? 12:31:46 you can run with less, with light-mode 12:31:49 also for p2pool 12:32:11 again, slower checking on RandomX, uses 256 MB instead of, what is it, 2 GiB? 12:34:42 monerod always runs in light-mode when you're not mining on it 12:35:07 it allocates 2 RandomX caches (2x256 MB = 512 MB) 12:35:17 aha 12:35:18 p2pool does the same in light mode, so they'll take 1 GB combined 12:36:40 So 2 GB is bare minimum to run monerod + p2pool and it will be very tight 12:36:42 4 GB is better 12:37:34 sech1: that's good to know 12:38:14 I wonder, can I make monerod run in non-light mode, to reduce PoW check times? :> 12:38:27 probably it's just ms on this system anyhow 12:38:33 you can start mining with 1 thread there and it'll switch to RandomX dataset mode 12:38:53 you'll save up to 10 ms on block verification if you have 1 spare CPU core 12:39:06 but it only works when you're mining solo in monerod 12:41:19 maybe I'll add a custom parameter 12:44:23 and remember, if you luckily mine a block solo, you have to share it with us :D 12:47:44 already shared two blocks :) 16:47:40 35kh of p2pool hashrate is en route to me, time to step up my game and mine some Monero while providing under-floor heating to my house 😅 17:00:40 "35kh of p2pool hashrate is en..." <- Ooooo 17:00:58 Any links to a build guide? 17:01:43 No build, just old servers: https://www.ebay.com/itm/284344484287?ssPageName=STRK%3AMEBIDX%3AIT 17:02:05 Should be 6-7kh per, and I have cheap power and a great location, and obv don't need HDDs for just running Linux + XMRig. 17:04:01 Ryzen costs are so damn high right now I just went with old servers to cut CAPEX. Power usage will be much higher, of course, but if I want to stop mining for whatever reason these will make great home servers with some 2.5" SSDs. 17:14:59 sethsimmons: You'll probably annoy the hell out of people if you get stack of those and run them near a house :D 17:15:46 Under a house, but if the wife isn't a fan they'll get moved to the detached garage where no one will care 😀 17:16:39 I've spent many hours in datacenters so I'm well aware of sound levels to be expected with tiny 40mm fans, but I'm also going to explore building an enclosure for them all with large intake/exhaust fans and filters. 17:17:36 Where I currently live the heating is done with electrity only and in winter it's usually around -20 to -25C 17:17:45 those would be excellent heating units 17:17:51 though the sound would kill me 17:18:30 min I go for nowadays is 2U sethsimmons 17:18:47 some with horizontal pcie slots for throwing in a few 100G cards or GPUs 17:19:20 2U, for good front 3.5" density, and large enough fans to not be 17k RPM ones 17:19:24 Tower/3U for me 17:19:31 yeah, it's all racked here 17:20:00 I had a 3U, replaced it, front 3.5" slot density 17:20:21 not going for toploaders either, just good density for a hyperconverged cluster setup 17:20:34 Had a 3U with 12bay 3'5 it was not hotswap and the cable managing, hdd replacing was a nightmare.. 17:20:57 though it was dirt cheap 17:21:28 Understandable, main thing for me here was cost and CPUs/RAM included and fairly modern, would be easy to build a unique enclosure or use a weed growing tent (don't know the formal name lol) with forced intake/exhaust via large fans 17:21:45 I don't need the 1U FF, so can tear them down to mobo + PSU 17:22:09 yeah, here I find scrap supermicro chassi with DDR2 or DDR3 era stuff inside 17:22:17 scrap that, keep chassi for VERY cheap 17:22:33 then fill with modern things, as it's all compatible with supermicro across generations 17:22:41 Nice 😀 17:37:34 rockpro64s are shipped from China, just like raspi 17:43:45 at this point a phone with at least 4GB RAM is pretty ideal. has it's own built in battery backup, so it will keep working thru power outages 17:44:05 (had one last night that knocked out my rockpro64.) 17:44:56 I'm thinking of patching together a monerod + p2pool that outsources all randomx hashing to a 3rd process. that way only have to pay for memory once. 17:45:19 basically using something like this https://github.com/tevador/randomx-service 17:45:32 but with a binary protocol instead, perhaps thru a shared memory region 17:46:52 hmm, about £60gbp for a 4gb unknown brand android, so like $80? 17:47:27 sounds about right 17:47:59 for the record, raspi 1 and 2 were 32bit only. raspi 3 had 64bit CPU but shipped with the same 32bit OS as pi 1 and 2. 17:48:07 raspi 4 has 64bit CPU and 64bit OS 17:48:42 you could of course get a 3rd party 64bit distro to install on your raspi 3 but raspberry didn't officially support that themselves 17:52:18 I believe modern debian works with mainline kernel 17:52:19 you can also get the 64bit mod for the 32bit OS, provides 64bit support 17:53:23 yeah, mainline kernel support is nice to see 17:54:49 I'd also consider building a custom OS image for an old phone, that only keeps the basic linux functionality, omit the entire android runtime. 17:54:57 would save a lot of memory 18:05:07 hmm, if you can get a phone to mine XMR 2x as fast as a Pi (~200H/s) for twice the price of a pi... might be worth it to cut down on the cabling :) 18:06:14 my 5 year old phone mines at 240 h/s. Just buy used phones 18:06:31 strip the phone down, get it in a case with some airflow, granting mining on wifi isn't the best, but heck, if you can build a 1MH/s rig into a PC case cheaply, then heck time to start hammering ebay for used mobiles 18:07:35 I've got an old samsung S6 with a battery thats about to go thermonuclear I could happily mess with 18:53:38 .c 1000000/240 18:53:58 so just over 4000 phones 18:54:06 ezpz 18:59:59 total :) why make one, when you can make 2 at twice the price? :D 19:02:39 mining is only ever going to be profitable if you already have the hardware 19:03:14 or if you have a collection of zero-days 20:13:12 Hmm, facebook, Instagram and Whatsapp are all down... quick lets promote vaccinations, democracy and Crypto while there's no idiots around to fud it. 20:26:19 "I'd also consider building a..." <- My body is ready