-
mechanic41turk[m
<sech1> "oh, there's even "release-static..." <- So, do I just do, `make -D NO_AES=ON` ?
-
mechanic41turk[m
I see inside the Makefile, there is the release-static-linux-armv8
-
mechanic41turk[m
-
mechanic41turk[m
or do I add `-D NO_AES=ON` to the line 135 which seems to list all the specific options targeted for the linux-armv8 building.
-
sech1
line 135, in the cmake command
-
mechanic41turk[m
OK. I added. And started the make command
-
mechanic41turk[m
do you know how many hours is it going to take?
-
sech1
no, I use gitian build on my PC
-
sech1
much faster
-
mechanic41turk[m
alright
-
mechanic41turk[m
I will probably have to CTRL-c if it takes an hour or more, since I gotta take the laptop with me out and thus severe the ssh connection.
-
mechanic41turk[m
anyways of shutting down the ssh connection without ctrl-c 'ing the build process?
-
moneromooo
^Z and bg might, though it the TTY dies, it might take it with it too.
-
moneromooo
But you can ^C and run again with nohup maybe ?
-
moneromooo
Or use screen.
-
mechanic41turk[m
I ctrl-c 'ed
-
mechanic41turk[m
I will try compiling it overnight
-
pauliouk
hmm, I've done a p2pool and xmrig build on an android tv box running manjaro linux - didn't take too long, and worked without error
-
pauliouk
I then did a benchmark on xmrig, looks like I'm the only person to have benchmarked a Cortex A55
-
sech1
monerod build takes much longer
-
pauliouk
8gb mem card, wouldn't have risked building it :P
-
pauliouk
-
pauliouk
poor thing :)
-
pauliouk
I will say one thing for it though, its been running nearly 24hrs, and its only just 'warm' - not worth the power its running on, but might come in handy as some under desk heating in my office when winter sets in
-
pauliouk
Hmm I'll say another thing for it... it might only be working at 100H/s but the android box found a share last night.
-
hyc
mechanic41turk[m: you should have built with PR#8001 / #8005
-
hyc
then you wouldn't need to mess with cmake flags at all
-
hyc
pauliouk: I think most of the cheap tvbox makers are still only using cortex-A53
-
hyc
but now you see the point - even a lowly tvbox can productively mine.
-
pauliouk
yup the bulk seem to be A53, I went with this one as it was cheap enough for me not to worry if I bricked it, and has an A55. However, seems the skipped the optional L3 cache :/
-
hyc
all of the cheap builds do
-
hyc
I think most of them also only have 32bit wide memory bus
-
hyc
but despite the lame memory interface, still usable for mining
-
pauliouk
the worst thing with this manufacture is they seem to alternate other components in their builds. wifi chips, memory etc
-
hyc
which box do you have?
-
pauliouk
X96 Air
-
hyc
I've been looking for some newer ones to replace my current crop
-
pauliouk
still surprised I'm the only person to bench mark an A55 on xmrig :P
-
hyc
I have 10 here that I used to use for cryptonight mining
-
hyc
but they only have 2GB RAM and I don't want to go thru the trouble of adapting randomx to fit in that
-
hyc
the nice thing is they all ran on 5V/1A power supplies so I just bought a 10 port USB power supply to power them all
-
hyc
with USB-to-barrel connector cables
-
pauliouk
my plan if it had a decent enough hash rate, was to strip it out of the case, solder on the power connectors, and hook them up to a 5v 20A power supply, in a case with a 120MM fan front and back
-
hyc
I just have them stacked on each other with bottle caps for spacers
-
hyc
totally silent/passive
-
pauliouk
thats one way :)
-
hyc
so, 100H/s is not bad for 5W. or is it 10W?
-
pauliouk
I imagine somewhere between the two, closer to 5W most of the time
-
hyc
time for me to shop for new boxes...
-
pauliouk
if I had a batch of 20 or so of them, then it'd be worth the setup, but since I only have 2 (ones 32bit only) then, yeah not worth priming them from Amazon :)
-
hyc
as I recall, I bought 10 from either GlobalSources or Aliexpress
-
hyc
that was 5 years ago, don't really remember
-
hyc
can't get a lower price, but shipping is slow
-
hyc
direct from manufacturer. they will even custom print the case logos for you
-
hyc
I got them plain, but this time around I might go for Monero logos
-
pauliouk
hmm, the X96Air cost £32.99, so like $40
-
pauliouk
for the price of 10 of them, I'm closer to buying another Ryzen 3600 rig
-
pauliouk
7KH/s vrs 1KH/s :P
-
nioc
5W for 100H/s ? my 3900X system gets 102H/s per W
-
pauliouk
but, if I can pickup some used ones for like £10 a piece, then a nice stack of them would be worth it
-
hyc
yeah, Ryzen prob still wins perf/watt
-
pauliouk
but at the end of it, you only have 1 Ryzen PC... at the end of using android TV boxes, you can have 20 nice little mini-pc's hooked up to every TV
-
hyc
and you can get that box for less than $2 each
aliexpress.com/item/1005003293371783.html
-
hyc
rk3318 is only quad cortex-a53
-
hyc
but it would work well enough. can't beat the price.
-
pauliouk
was just about to mention that, although not the A55, it'd probably hash the same rate with memory and no l3 cache
-
pauliouk
for people who buy Raspberry Pi's or other SBC's who don't use the GPIO etc, a cheap android box would probably be much better for them
-
hyc
definitely
-
hyc
most people buying pis never make good use of them
-
hyc
just like most people buying pi3 or pi4 don't evevn know they're only running 32bit OS
-
pauliouk
I bought the 5 or so pi zero's I have in my draw because they were cheaper than buying the PIC microcontrollers and support components for some of the projects I was working on
-
pauliouk
now a PCB that I could hook up say... 50 Pi compute modules to, and distribute mining to them, that _might_ be worth the setup
-
hyc
p2pool is pretty greaat for that
-
hyc
there's a 49 port USB2.0 hub out there
-
pauliouk
but would have to go very large scale to make it worth while. Then we're talking another Ryzen 3600 build money :P
-
hyc
would provide power & comms
-
hyc
I had an idea to commission a mining-dedicated "tv stick"
-
hyc
just plug them in to usb port
-
pauliouk
I've got a box of those little bitcoin asic's in the draw next to the pi's
-
hyc
the little usb ones?
-
pauliouk
they were ideal, just give them .55A and away they go
-
pauliouk
hmm damn, I bought a lot of them :o
-
pauliouk
ANT USB1
-
hyc
ah yep
-
pauliouk
I have 14 of them for some reason
-
hyc
you must have a pair of 7port hubs somewhere
-
pauliouk
uww worse
-
pauliouk
so I've hooked up 4 powered 5 port usb hubs to a 10A 5V power supply
-
pauliouk
caseless - nice and safe :)
-
hyc
lol
-
pauliouk
also remembered that these things get toasty
-
hyc
yeah. I suppose tvboxes running flat out on randomx will heat up too
-
gingeropolous
that would be cool tho to bring back the usb stick miner for monero
-
pauliouk
wonder what'd happen if I hooked them all up to a decent power supply, shared with an android box, 3d printed a nice case with a fan, and sold it on ebay as a bitcoin mining farm :D
-
hyc
lol
-
hyc
onero gingeropolous: you want to build m
-
hyc
doh
-
hyc
you want to build monero ASICs? (cat on keyboard)
-
hyc
mine would still have been usable as HDMI tvsticks afterward
-
gingeropolous
of course i do
-
pauliouk
1.6GH each, so thats a good 20GH/s bitcoin mining rig :P
-
hyc
I've still got email contacts for the companies I talked to in China back in 2016
-
hyc
if you really want to do it
-
gingeropolous
.hrmmmm
-
pauliouk
RandomX is ASIC resistant. However, if a mobile manufacturer decided to build a mobile logic board with 10x snapdragons on it, with enough memory, then it could be considered a monero asic
-
pauliouk
only, it wouldnt be an asic
-
hyc
yes, exactly
-
gingeropolous
yep
-
gingeropolous
i mean, the btc usb sticks were such a great product, marketing wise
-
hyc
might be difficult to get a project off the ground right now, with chip shortages
-
gingeropolous
tho it'd be kinda hilarious to plug in a 100 h/s usb stick into a PC that can do kh/s or more
-
pauliouk
could save a fortune on the board as it wouldn't need all the trash that gets used on a phone, although might want to include the 5G so you could mine anywhere with a signal
-
hyc
yeah, without on-chip cache not sure there's any point to building it
-
pauliouk
or if a CPU manufacturer decided to bring out a 128core CPU, with 4MB of L3 cache per core, then... yeah
-
hyc
it has to have at least a hash/watt advantage
-
hyc
too bad we can't get our hands on a phytium FT-2000+
-
gingeropolous
i've always thought its better for monero community itself to launch a monero "asic", open source, such that it creates a scorched earth effect. i.e., we shrink the profit margins of any competition. but really a fools errand competing with intel and amd prolly
-
hyc
probably
-
hyc
their economy of scale alone will kill that
-
hyc
still... I wonder if we shouldn't be looking at RISC-V already
-
pauliouk
-
pauliouk
I guess this is why Monero will last so long though, it can only really be mined on a standard gaming PC
-
pauliouk
or on data centre hardware in xvb's case :P
-
hyc
-
pauliouk
but, if you could get your hands on the logic boards from say 50 small android phones, you could probably find a way to rig them up into an ant-miner case, and get a good 200KH/s out of it
-
hyc
they're still the only company I know designing chips with enough cache per core
-
mechanic41turk[m
<hyc> "mechanic41turk: you should..." <- how do I do that?
-
mechanic41turk[m
I am quite the newbie, I would appreciate some more descriptive advice.
-
pauliouk
if they're the only company doing it, then they've got no one to compete with on price :/
-
hyc
mechanic41turk[m: did you ue git to grab the monero source tree originally?
-
mechanic41turk[m
hyc: yes.
-
hyc
pauliouk: also the server chip is not for sale outside of China
-
mechanic41turk[m
-
hyc
great
-
pauliouk
bah, thats a scary thought. If they're not allowed to mine BTC any more, are they going to move onto XMR and just start throwing up warehouses full of those?
-
gingeropolous
"its just a datacenter, see? they are CPUs"
-
mechanic41turk[m
gingeropolous: "it's cloud computing"
-
hyc
mechanic41turk[m: to get the pull request onto your machine, go into the monero source directory\
-
DataHoarder
setup a generic task-based system gingeropolous, then just keep sending randomx tasks :)
-
pauliouk
"just ignore the fact our server admins are wearing dirty vests and cargo shorts with holes in them"
-
hyc
then type "git fetch origin pull/8001/head:pr8001"
-
gingeropolous
well, thats the beauty of permissionlessness , yah can't stop the signal
-
mechanic41turk[m
hyc: so I do this within ~/monero/ directory, right?
-
hyc
then "git cherry-pick pr8001"
-
hyc
in the monero source directory, yes
-
mechanic41turk[m
okay.
-
hyc
after the cherry-pick, just rerun make
-
hyc
with no special flags
-
mechanic41turk[m
hyc: OK. If I do these, I don't have to add `-D NO_AES=ON` inside the Makefile, right?
-
hyc
right
-
mechanic41turk[m
Alright.
-
mechanic41turk[m
Thanks for that. I will report back in 6 hours.
-
hyc
shouldn't take 6 hours to rebuild from only changing 1 file
-
mechanic41turk[m
hyc: 6 hours later I can be at home and try those.
-
mechanic41turk[m
Raspberry pi is sitting at home currently.
-
hyc
lol ok
-
mechanic41turk[m
haha
-
hyc
pauliouk: phytium is the only *ARM* mfr with enough cache per core. obviously AMD is doing that with ryzen
-
gingeropolous
tho, with china banning bitcoin mining, monero mining taking root there is a reasonable scenario. that could get interesting if the same market shenanigans carry over
-
hyc
that sounds unlikely. China has banned all crypto
-
hyc
tho most ryzen chips only have enough cache for half their cores. hmmm.
-
mechanic41turk[m
hyc: chinese govt isn't as omnipotent as to ban some random cpu processes, right?
-
DataHoarder
they are :)
-
mechanic41turk[m
I prefer to believe otherwise lol
-
mechanic41turk[m
what a dystopia
-
DataHoarder
bitcoin mining is also just a few random hash processes
-
hyc
they don't ban CPU processes, but they will go after excessive elctricity users
-
mechanic41turk[m
DataHoarder: *with awfully specialized machines.
-
DataHoarder
I would prefer to believe otherwise but reality is reality
-
DataHoarder
also GPUs mechanic41turk[m, or anything cryptocurrency
-
mechanic41turk[m
hyc: home computer CPU power usage shouldn't stick out that much.
-
gingeropolous
hyc, f2pool still reporting 170 mh/s
-
hyc
170MH is trivial compared to what, petahashes?
-
gingeropolous
naw, for monero
-
hyc
that says majority have gone already
-
hyc
oh
-
hyc
I wonder how many miners that represents
-
hyc
prob spread out quite a lot\
-
gingeropolous
doesn't help that their info page is crap
f2pool.com/coin/monero
-
gingeropolous
they don't seem to list per miner hr like some other pools, so no idea about distribution
-
nioc
gingeropolous: according to
miningpoolstats.stream/monero f2pool's HR never varies and never has info about their node height or last found block
-
nioc
and yes # of miners not listed
-
gingeropolous
.hrmm
-
nioc
first exchange they list is hitbtc lolololol
-
nioc
and this is the first miner they list
f2pool.com/miner?id=120
-
nioc
well at least the link doesn't list monero
-
gingeropolous
man the vega64 was so good pre randomx
-
pauliouk
hmmm... Ampere bought the rights to the applied micro x-gene3
-
pauliouk
Ampere eMAG 8180. Nice little arm CPU. 64bit, 32mb L3, 8 channels of DDR4-2666
-
pauliouk
32 cores, upto 3ghz each.
-
pauliouk
would probably purr along nicely using 16 cores, leaving the rest for running p2pool and monerod heh
-
pauliouk
$4697 for a pre-built eMAG Arm workstation
-
pauliouk
hmm if only I could get a week alone in their warehouse, stack about 100 of those machines up and do some load tests :P
-
hyc
not very cost-effective, seems
-
Inge
-
pauliouk
nah, no where near enough. could get 5 standard mobos, cpus, memory and hdd's - and a storage self to mount them to for the same price
-
Inge
or get like a 3970x :)
-
pauliouk
Not sure I could bring myself to spend nearly £2K on a cpu :P
-
pauliouk
could build 2x R9 5960X rigs for the a little less and get about 1.1x the hashrate
-
hyc
yeah, ARm ecosystem doesn't have the economy of scale on high perf chips that AMD has
-
hyc
maybe Apple is getting that scale, but they're not selling their chips to anybody else
-
pauliouk
hmm, actually I might treat myself to a R9 5950x - the rig I've got could take it easily enough
-
pauliouk
how do I explain to the gf that I've spent some of our future house deposit that I've been saving on a CPU?
-
abberant[m]
does anything beat 3900x in terms of roi?
-
pauliouk
hmm I've mined nearly 1/4 a monero with a R5 3600 in about 2 months here.
-
abberant[m]
If you want the gaming speed it might be more worth your money to get. 5600x and build a whole separate 3900x rig to solely mine on, it would fit within the cost of one 5950x at msrp
-
pauliouk
roughly half the price of a 3900x
-
abberant[m]
s/If you want the gaming speed it might be more worth your money to get. 5600x and build a whole separate 3900x rig to solely mine on, it would fit within the cost of one 5950x at msrp/If you want the gaming speed it might be more worth your money to get a 5600x and build a whole separate 3900x rig to solely mine on, it would fit within the cost of one 5950x at msrp /
-
abberant[m]
I'm really tempted to go all in on 3900x rigs but 2 year roi on paper is just too long, Its better than that in reality since you can sell the parts, but it still doesnt sound like a good idea.
-
abberant[m]
even gpus at scalper prices are half that
-
hyc
buying any hardware just for mining is seldom a good idea
-
hyc
buying gaming rigs because you enjoy gaming is what makes the purchase worth it
-
pauliouk
I have that 3600 just for mining (and keeping my office warm)
-
pauliouk
its nearly paid for itself, if XMR goes up another $100 it will have done :)
-
abberant[m]
observer api has been down right?
-
pauliouk
DataHoarder didn't pay his electric bill
-
DataHoarder
it should be up abberant[m]
-
DataHoarder
it *was* down due to a wide power outage that ended up taking 6 hours
-
DataHoarder
and took down network as well
-
DataHoarder
-
DataHoarder
site itself uses the api locally
-
pauliouk
why does Chrome suggest translating that from Luxemburghish to English? :D
-
pauliouk
didn't realise, we didn't celebrate the 18,000,000th block being mined
-
pauliouk
well the 18,000,000th Monero being mined
-
pauliouk
1 DOGE wallet holds nearly 28% of all the DOGE
-
abberant[m]
<DataHoarder> "it should be up abberant..." <- works, thanks
-
gingeropolous
p2pool doesn't like when i stop right after starting it
-
gingeropolous
some event loop
-
DataHoarder
press enter gingeropolous
-
gingeropolous
well it fixed itself.
-
gingeropolous
i mean the loop timed out guess
-
mechanic41turk[m
<hyc> "then "git cherry-pick pr8001"" <- interestingly, git complains when doing this command and asks for my email and username for the git.
-
-
mechanic41turk[m
I will try putting bogus name and email address and try again.
-
mechanic41turk[m
Now getting this error:
-
-
mechanic41turk[m
How should I move forward?
-
mechanic41turk[m
cc: hyc
-
mechanic41turk[m
`git status` command returns this:
-
-
moneromooo
git cherry-pick --abort
-
moneromooo
git stash # to stash your local changes where you can get them back later
-
moneromooo
git cherry-pick pr8001
-
moneromooo
If you want to get your changes back, git stash pop (probably after reverting pr8001).
-
moneromooo
Alternatively, if you don't care about keeping those changes:
-
moneromooo
git cherry-pick --abort
-
moneromooo
git reset --hard
-
moneromooo
git cherry-pick pr8001
-
mechanic41turk[m
Here is what I got after doing your first set of suggestions:
-
-
mechanic41turk[m
Is it all good?
-
mechanic41turk[m
Can I move on with `make` command?
-
moneromooo
Yes. I suspect you nuked local changes in between ?
-
mechanic41turk[m
I didn't issue any commands in between the outputs I posted above.
-
mechanic41turk[m
I don't know if I nuked local changed
-
mechanic41turk[m
*changes
-
mechanic41turk[m
I just want to get the relevant pull-request to be included as hyc suggested.
-
mechanic41turk[m
It is abote the NO_AES stuff.
-
mechanic41turk[m
*about
-
abberant[m]
is there a disadvantage of having low custom diff?
-
abberant[m]
I'm gonna run a lot of friends rigs through the proxy for api stats, dont know how low I should make share time be for my best worker, cause stats will be less consistent short term for people with low hashrate, and they're normies so they'll want more accurate stats
-
pauliouk
hmm, doesn't seem to make any difference. I've got a little android box running at 10K difficulty, and it landed a share
-
hyc
the idea is to submit a share every 30 seconds on average
-
hyc
so whatever your hashrate, set difficulty = hashrate * 30
-
pauliouk
just realised why I expected more hashrate out of my android tv box hyc. termux on my Samsung S20FE shows the CPU as Cortex-A55
-
hyc
core clocks could be different, memory clocks different, etc...
-
pauliouk
hell of a lot more cores available than what should be
-
abberant[m]
<hyc> "the idea is to submit a share..." <- with nicehash mode are the workers aggregate in relation to difficulty?
-
hyc
I know nothing about nicehash
-
pauliouk
probably why xmrig won't let me submit a hash benchmark
-
abberant[m]
hyc: its like a mining mode, I asked cause you said to calculate diff from hashrate but I have many workers with many hashrates
-
abberant[m]
you reminded me though, theres a nicehash mining mode thats enabled by default that I think distributes jobs based on the custom diff depending on how strong the workers are
-
hyc
the only point is to set the diff so that you'll submit shares frequently enough for your overall hashrate to be estimated
-
hyc
if you're within +/- 50% it'll probably be fine
-
hyc
as long as the diff isn't so high that it takes hours or days to submit a share, you'll be reflected in the displayed hashrate estimate
-
abberant[m]
think ill run into problems with like 5s shares on my faster rigs?
-
hyc
nah
-
hyc
a bit of wasted network bandwidth. no big deal
-
pauliouk
my stratum server only see's the hash rate from the android box