CPU mining

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Marsh

Moderator
May 12, 2013
2,645
1,496
113
What Marcoi said is true to calculate today's ROI.

Last year in, I started mining XMR, I was too caution and too slow to ramp up number of machines.
I was making may be $1 to $10 a day, or mining 0.7- 0.9 XMR per day with 8 x E5-v3 miners.

You see where I am going,
Today, XMR is over $150 , 8 x E5-v3 miners would net me less than 0.1 XMR per day.

Unless you have a crystal ball, Cryto mining is like buying lottery ticket.
 

Marsh

Moderator
May 12, 2013
2,645
1,496
113
Just a interesting fact.
When I started mining, I was solo mining XMR with 4 x E5 v3,
then found a block within 3 hours, it worth 8.9 XMR.

I serious doubt that with current Monero network hashrate , that I would ever find a block with 4 x E5 v3 nodes solo mining.
 

marcoi

Well-Known Member
Apr 6, 2013
1,533
289
83
Gotha Florida
Any quick and easy guides to get a bare metal server mining aeon coins? I have an intel with 2 e5-26xx v2 cpus offline and i want to tinker with mining and dockers stuff.
 

cperalt1

Active Member
Feb 23, 2015
180
55
28
43
Compile miner using following instructions for platform. Ubuntu instructions also work for Windows subsystem for linux if on Windows.
Home · xmrig/xmrig Wiki · GitHub

Run command, substitute pool address, port, and wallet-address in string below. Command below is for AEON

Code:
./xmrig -a cryptonight-light -o stratum+tcp://url-of-pool:port -u wallet-address -p x
 

Patrick

Administrator
Staff member
Dec 21, 2010
12,513
5,805
113
Any quick and easy guides to get a bare metal server mining aeon coins? I have an intel with 2 e5-26xx v2 cpus offline and i want to tinker with mining and dockers stuff.
If you want to mine using Docker on metal... we have a custom image that has the pool address/ port defaulted
 

marcoi

Well-Known Member
Apr 6, 2013
1,533
289
83
Gotha Florida
@cperalt1 thanks for that. I'll give it a go when i get a chance.
I get the following with running the app bare metal

Code:
 * VERSIONS:     XMRig/2.4.3 libuv/1.9.1 gcc/7.2.0
 * HUGE PAGES:   available, disabled
 * CPU:          Intel(R) Xeon(R) CPU E5-2651 v2 @ 1.80GHz (2) x64 AES-NI
 * CPU L2/L3:    12.0 MB/60.0 MB
 * THREADS:      30, cryptonight-lite, av=2, donate=5%

 speed 2.5s/60s/15m 2293.0 2293.9 n/a H/s max: 2297.6 H/s
I'm also using 300W of power. but i havent configured the server down, IE removed cards, memory etc.

Also I only see 62.5% cpu used in top
Tasks: 482 total, 1 running, 481 sleeping, 0 stopped, 0 zombie
%Cpu(s): 62.5 us, 0.0 sy, 0.0 ni, 37.4 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 13192787+total, 12902358+free, 724856 used, 2179436 buff/cache
KiB Swap: 2097148 total, 2097148 free, 0 used. 13022532+avail Mem
 
Last edited:

MiniKnight

Well-Known Member
Mar 30, 2012
3,073
974
113
NYC
What exchanges are you guys using to cash out XMR?
I have done exchange XMR to BTC or ETH then cash out via coinbase.

Better way is to buy stuff from @Patrick's fs thread, then sell it on Craigslist or ebay. I made out well doing that especially if was gear I needed.
 
  • Like
Reactions: Marsh

Marsh

Moderator
May 12, 2013
2,645
1,496
113
@marcoi

I think your CPU could do better.
Your huge page is disabled

Here is my dual E5-2650 v2 L3 is 25MB @ 2374.9 H/s

2017-12-01 18:31:19] * THREADS: 24, cryptonight-lite, av=2, donate=0%
[2017-12-01 18:31:19] * POOL #1: a.mwork.io:4334
[2017-12-01 18:31:19] * COMMANDS: hashrate, pause, resume
[2017-12-01 18:31:19] use pool a.mwork.io:4334 64.71.135.158

[2017-12-01 18:55:23] speed 2.5s/60s/15m 2375.1 2374.9 2374.9 H/s max: 2396.5

lscpu
Model name: Intel(R) Xeon(R) CPU E5-2650L v2 @ 1.70GHz
Stepping: 4
CPU MHz: 1899.949
CPU max MHz: 2100.0000
CPU min MHz: 1200.0000
BogoMIPS: 3393.14
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 25600K

Add: baremetal Ubuntu 16.0.4 with xmrig mining at STH pool
 
  • Like
Reactions: pgh5278

Marsh

Moderator
May 12, 2013
2,645
1,496
113
add this line in /etc/sysctl.conf
vm.nr_hugepages = 60 or 128

if you haven't done this yet
add these lines in /etc/security/limits.conf

* soft memlock 626688
* hard memlock 626688

reboot system
 

marcoi

Well-Known Member
Apr 6, 2013
1,533
289
83
Gotha Florida
Thanks for tips guys.

Right now I trying this out on virtualbox VM on my laptop. I assigned it 6 out of 8 cores and 2gb ram.

Code:
 * VERSIONS:     XMRig/2.4.3 libuv/1.9.1 gcc/7.2.0
 * HUGE PAGES:   available, enabled
 * CPU:          Intel(R) Core(TM) i7-6820HK CPU @ 2.70GHz (1) x64 AES-NI
 * CPU L2/L3:    1.5 MB/8.0 MB
 * THREADS:      4, cryptonight-lite, av=2, donate=1%
seems to be doing well enought?
speed 2.5s/60s/15m 320.6 294.4 n/a H/s max: 412.1 H/s

seems to have maxed out at 520.5 H/s. It using 4 threads, which is about 60% of my cpu capacity. If I increase it past 4 in the vm, the whole system starts to suffer. right now it running without major drawbacks to rest of the OS. I might run it in the background while i work my 9 hour days :)

Side note, not sure exact power usage, but with my laptop, alienware graphic adapter with 1080 card (idling) and 3 monitors, a few switches, etc. im only using 260-270 watts. i may get a my kill-watt out and check just the laptop at some point.

Note 2: looks like the averaging about 300ish from the last few have reports
 
Last edited:

Marsh

Moderator
May 12, 2013
2,645
1,496
113
Try this out
force xmrig with av=1 thread=8.
I did the same with a E3-1240v2 , it gain 50H/s

Looking at your result further.
My E3-1240v2 is equivalent to I7-3770 , it is getting
[2017-12-02 23:03:22] speed 2.5s/60s/15m 1053.2 1053.0 1052.9 H/s max: 1081.0 H/s

I stared xmrig with
mining threads 8
algorithm variation 1

Reduce number threads to accommodate your workload after trying threads=8
 

marcoi

Well-Known Member
Apr 6, 2013
1,533
289
83
Gotha Florida
so now the hash report on xmrig is 697.5 yet on the mining pool it saying Hash Rate: 1.78 KH/sec

im trying to compile the nvidia code but i thing its time to go to bed. (2 am here)
 

marcoi

Well-Known Member
Apr 6, 2013
1,533
289
83
Gotha Florida
Try this out
force xmrig with av=1 thread=8.
I did the same with a E3-1240v2 , it gain 50H/s

Looking at your result further.
My E3-1240v2 is equivalent to I7-3770 , it is getting
[2017-12-02 23:03:22] speed 2.5s/60s/15m 1053.2 1053.0 1052.9 H/s max: 1081.0 H/s

I stared xmrig with
mining threads 8
algorithm variation 1

Reduce number threads to accommodate your workload after trying threads=8
The 8/1 combo didnt seem to have made a difference. it slowed down my desktop quite a bit.
I think the sweet spot is 4 threads. and for the i7-6820hk cpu av=2 seemed faster.
I also set the vm CPU to 4, seems to have helped.

I did compile the nvidia and running it with 14 threads on 1080 card, produces around 1200 H/s.
 

Attachments