How to compile xmr-stak (2.5) under CentOS 6 for CPU mining cryptocurrencies in November 2018

Mining monero in November 2018

Monero CPU mining with XMR-STAK

Using cryptonight_v8 algorithm. First run.
Couple of important questions to answer:

  • Please enter the currency that you want to mine: Monero
  • Username (wallet address or pool login): 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 – this is your address, put here your real public wallet address, DO NOT PUT THIS FALSE ADDRESS
  • Pool address: xmr-eu.dwarfpool.com:8050 – the pool address to use, we use http://dwarfpool.com/xmr pool. Solo mining is meaningless
  • Username (wallet address or pool login): your email address

Mining monero under CentOS 6.10 using XMR-STAK on AMD Ryzen Threadripper 1950X could give you 790 hashes per second.

[root@srv bin]# ./xmr-stak 
Please enter:
- Do you want to use the HTTP interface?
Unlike the screen display, browser interface is not affected by the GPU lag.
If you don't want to use it, please enter 0, otherwise enter port number that the miner should listen on
0
Configuration stored in file 'config.txt'
Please enter:
- Please enter the currency that you want to mine: 
        - aeon7
        - bbscoin
        - bittube
        - cryptonight
        - cryptonight_bittube2
        - cryptonight_masari
        - cryptonight_haven
        - cryptonight_heavy
        - cryptonight_lite
        - cryptonight_lite_v7
        - cryptonight_lite_v7_xor
        - cryptonight_v7
        - cryptonight_v8
        - cryptonight_v7_stellite
        - graft
        - haven
        - intense
        - masari
        - monero
        - qrl
        - ryo
        - stellite
        - turtlecoin

monero
- Pool address: e.g. pool.usxmrpool.com:3333
xmr-eu.dwarfpool.com:8050
- Username (wallet address or pool login):
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
- Password (mostly empty or x):
mail@example.com
- Rig identifier for pool-side statistics (needs pool support). Can be empty:

- Does this pool port support TLS/SSL? Use no if unknown. (y/N)
n
- Do you want to use nicehash on this pool? (y/n)
n
- Do you want to use multiple pools? (y/n)
n
Pool configuration stored in file 'pools.txt'
[2018-11-08 17:32:21] : MEMORY ALLOC FAILED: mmap failed, check attribute 'use_slow_memory' in 'config.txt'
[2018-11-08 17:32:21] : MEMORY ALLOC FAILED: mmap failed, check attribute 'use_slow_memory' in 'config.txt'
[2018-11-08 17:32:21] : MEMORY ALLOC FAILED: mmap failed, check attribute 'use_slow_memory' in 'config.txt'
[2018-11-08 17:32:21] : MEMORY ALLOC FAILED: mmap failed, check attribute 'use_slow_memory' in 'config.txt'
[2018-11-08 17:32:21] : MEMORY ALLOC FAILED: mmap failed, check attribute 'use_slow_memory' in 'config.txt'
-------------------------------------------------------------------
xmr-stak 2.5.2 752fd1e

Brought to you by fireice_uk and psychocrypt under GPLv3.
Based on CPU mining code by wolf9466 (heavily optimized by fireice_uk).

Configurable dev donation level is set to 2.0%

-------------------------------------------------------------------
You can use following keys to display reports:
'h' - hashrate
'r' - results
'c' - connection
-------------------------------------------------------------------
Upcoming xmr-stak-gui is sponsored by:
   #####   ______               ____
 ##     ## | ___ \             /  _ \
#    _    #| |_/ /_   _   ___  | / \/ _   _  _ _  _ _  ___  _ __    ___  _   _
#   |_|   #|    /| | | | / _ \ | |   | | | || '_|| '_|/ _ \| '_ \  / __|| | | |
#         #| |\ \| |_| || (_) || \_/\| |_| || |  | | |  __/| | | || (__ | |_| |
 ##     ## \_| \_|\__, | \___/ \____/ \__,_||_|  |_|  \___||_| |_| \___| \__, |
   #####           __/ |                                                  __/ |
                  |___/   https://ryo-currency.com                       |___/

This currency is a way for us to implement the ideas that we were unable to in
Monero. See https://github.com/fireice-uk/cryptonote-speedup-demo for details.
-------------------------------------------------------------------
[2018-11-08 17:32:21] : Mining coin: monero
[2018-11-08 17:32:21] : CPU configuration stored in file 'cpu.txt'
[2018-11-08 17:32:21] : Starting 1x thread, affinity: 0.
[2018-11-08 17:32:21] : hwloc: memory pinned
[2018-11-08 17:32:21] : Starting 1x thread, affinity: 16.
[2018-11-08 17:32:21] : MEMORY ALLOC FAILED: mmap failed, check attribute 'use_slow_memory' in 'config.txt'
[2018-11-08 17:32:21] : hwloc: memory pinned
[2018-11-08 17:32:21] : Starting 1x thread, affinity: 1.
[2018-11-08 17:32:21] : MEMORY ALLOC FAILED: mmap failed, check attribute 'use_slow_memory' in 'config.txt'
[2018-11-08 17:32:21] : hwloc: memory pinned
[2018-11-08 17:32:21] : Starting 1x thread, affinity: 17.
[2018-11-08 17:32:21] : MEMORY ALLOC FAILED: mmap failed, check attribute 'use_slow_memory' in 'config.txt'
[2018-11-08 17:32:21] : hwloc: memory pinned
[2018-11-08 17:32:21] : Starting 1x thread, affinity: 4.
[2018-11-08 17:32:21] : MEMORY ALLOC FAILED: mmap failed, check attribute 'use_slow_memory' in 'config.txt'
[2018-11-08 17:32:21] : hwloc: memory pinned
[2018-11-08 17:32:21] : Starting 1x thread, affinity: 20.
[2018-11-08 17:32:21] : MEMORY ALLOC FAILED: mmap failed, check attribute 'use_slow_memory' in 'config.txt'
[2018-11-08 17:32:21] : hwloc: memory pinned
[2018-11-08 17:32:21] : Starting 1x thread, affinity: 5.
[2018-11-08 17:32:21] : MEMORY ALLOC FAILED: mmap failed, check attribute 'use_slow_memory' in 'config.txt'
[2018-11-08 17:32:21] : hwloc: memory pinned
[2018-11-08 17:32:21] : Starting 1x thread, affinity: 21.
[2018-11-08 17:32:21] : MEMORY ALLOC FAILED: mmap failed, check attribute 'use_slow_memory' in 'config.txt'
[2018-11-08 17:32:21] : hwloc: memory pinned
[2018-11-08 17:32:21] : Starting 1x thread, affinity: 8.
[2018-11-08 17:32:21] : MEMORY ALLOC FAILED: mmap failed, check attribute 'use_slow_memory' in 'config.txt'
[2018-11-08 17:32:21] : hwloc: memory pinned
[2018-11-08 17:32:21] : Starting 1x thread, affinity: 24.
[2018-11-08 17:32:21] : MEMORY ALLOC FAILED: mmap failed, check attribute 'use_slow_memory' in 'config.txt'
[2018-11-08 17:32:21] : hwloc: memory pinned
[2018-11-08 17:32:21] : Starting 1x thread, affinity: 9.
[2018-11-08 17:32:21] : MEMORY ALLOC FAILED: mmap failed, check attribute 'use_slow_memory' in 'config.txt'
[2018-11-08 17:32:21] : hwloc: memory pinned
[2018-11-08 17:32:21] : Starting 1x thread, affinity: 25.
[2018-11-08 17:32:21] : MEMORY ALLOC FAILED: mmap failed, check attribute 'use_slow_memory' in 'config.txt'
[2018-11-08 17:32:21] : hwloc: memory pinned
[2018-11-08 17:32:21] : Starting 1x thread, affinity: 12.
[2018-11-08 17:32:21] : MEMORY ALLOC FAILED: mmap failed, check attribute 'use_slow_memory' in 'config.txt'
[2018-11-08 17:32:21] : hwloc: memory pinned
[2018-11-08 17:32:21] : Starting 1x thread, affinity: 28.
[2018-11-08 17:32:21] : MEMORY ALLOC FAILED: mmap failed, check attribute 'use_slow_memory' in 'config.txt'
[2018-11-08 17:32:21] : hwloc: memory pinned
[2018-11-08 17:32:21] : Starting 1x thread, affinity: 13.
[2018-11-08 17:32:21] : MEMORY ALLOC FAILED: mmap failed, check attribute 'use_slow_memory' in 'config.txt'
[2018-11-08 17:32:21] : hwloc: memory pinned
[2018-11-08 17:32:21] : Starting 1x thread, affinity: 29.
[2018-11-08 17:32:21] : MEMORY ALLOC FAILED: mmap failed, check attribute 'use_slow_memory' in 'config.txt'
[2018-11-08 17:32:21] : hwloc: memory pinned
[2018-11-08 17:32:21] : MEMORY ALLOC FAILED: mmap failed, check attribute 'use_slow_memory' in 'config.txt'
[2018-11-08 17:32:21] : Fast-connecting to xmr-eu.dwarfpool.com:8050 pool ...
[2018-11-08 17:32:22] : Pool xmr-eu.dwarfpool.com:8050 connected. Logging in...
[2018-11-08 17:32:22] : Difficulty changed. Now: 50000.
[2018-11-08 17:32:22] : Pool logged in.
[2018-11-08 17:32:22] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:32:22] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:32:22] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:32:22] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:32:22] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:32:22] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:32:22] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:32:22] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:32:22] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:32:22] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:32:22] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:32:22] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:32:22] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:32:22] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:32:22] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:32:22] : Switch to assembler version for 'amd_avx' cpu's
HASHRATE REPORT - CPU
| ID |    10s |    60s |    15m | ID |    10s |    60s |    15m |
|  0 |   45.1 |   (na) |   (na) |  1 |   45.1 |   (na) |   (na) |
|  2 |   53.9 |   (na) |   (na) |  3 |   53.9 |   (na) |   (na) |
|  4 |   39.3 |   (na) |   (na) |  5 |   39.3 |   (na) |   (na) |
|  6 |   58.1 |   (na) |   (na) |  7 |   58.1 |   (na) |   (na) |
|  8 |   43.6 |   (na) |   (na) |  9 |   43.6 |   (na) |   (na) |
| 10 |   55.3 |   (na) |   (na) | 11 |   55.3 |   (na) |   (na) |
| 12 |   44.1 |   (na) |   (na) | 13 |   44.1 |   (na) |   (na) |
| 14 |   54.8 |   (na) |   (na) | 15 |   54.8 |   (na) |   (na) |
Totals (CPU):   788.4    0.0    0.0 H/s
-----------------------------------------------------------------
Totals (ALL):    788.4    0.0    0.0 H/s
Highest:   788.4 H/s
-----------------------------------------------------------------
RESULT REPORT
You haven't found any results yet.

[root@srv bin]# sysctl -w vm.nr_hugepages=128
vm.nr_hugepages = 128
[root@srv bin]# ./xmr-stak 
-------------------------------------------------------------------
xmr-stak 2.5.2 752fd1e

Brought to you by fireice_uk and psychocrypt under GPLv3.
Based on CPU mining code by wolf9466 (heavily optimized by fireice_uk).

Configurable dev donation level is set to 2.0%

-------------------------------------------------------------------
You can use following keys to display reports:
'h' - hashrate
'r' - results
'c' - connection
-------------------------------------------------------------------
Upcoming xmr-stak-gui is sponsored by:
   #####   ______               ____
 ##     ## | ___ \             /  _ \
#    _    #| |_/ /_   _   ___  | / \/ _   _  _ _  _ _  ___  _ __    ___  _   _
#   |_|   #|    /| | | | / _ \ | |   | | | || '_|| '_|/ _ \| '_ \  / __|| | | |
#         #| |\ \| |_| || (_) || \_/\| |_| || |  | | |  __/| | | || (__ | |_| |
 ##     ## \_| \_|\__, | \___/ \____/ \__,_||_|  |_|  \___||_| |_| \___| \__, |
   #####           __/ |                                                  __/ |
                  |___/   https://ryo-currency.com                       |___/

This currency is a way for us to implement the ideas that we were unable to in
Monero. See https://github.com/fireice-uk/cryptonote-speedup-demo for details.
-------------------------------------------------------------------
[2018-11-08 17:33:26] : Mining coin: monero
[2018-11-08 17:33:26] : Starting 1x thread, affinity: 0.
[2018-11-08 17:33:26] : hwloc: memory pinned
[2018-11-08 17:33:26] : Starting 1x thread, affinity: 16.
[2018-11-08 17:33:26] : hwloc: memory pinned
[2018-11-08 17:33:26] : Starting 1x thread, affinity: 1.
[2018-11-08 17:33:26] : hwloc: memory pinned
[2018-11-08 17:33:26] : Starting 1x thread, affinity: 17.
[2018-11-08 17:33:26] : hwloc: memory pinned
[2018-11-08 17:33:26] : Starting 1x thread, affinity: 4.
[2018-11-08 17:33:26] : hwloc: memory pinned
[2018-11-08 17:33:26] : Starting 1x thread, affinity: 20.
[2018-11-08 17:33:26] : hwloc: memory pinned
[2018-11-08 17:33:26] : Starting 1x thread, affinity: 5.
[2018-11-08 17:33:26] : hwloc: memory pinned
[2018-11-08 17:33:26] : Starting 1x thread, affinity: 21.
[2018-11-08 17:33:26] : hwloc: memory pinned
[2018-11-08 17:33:26] : Starting 1x thread, affinity: 8.
[2018-11-08 17:33:26] : hwloc: memory pinned
[2018-11-08 17:33:26] : Starting 1x thread, affinity: 24.
[2018-11-08 17:33:26] : hwloc: memory pinned
[2018-11-08 17:33:26] : Starting 1x thread, affinity: 9.
[2018-11-08 17:33:26] : hwloc: memory pinned
[2018-11-08 17:33:26] : Starting 1x thread, affinity: 25.
[2018-11-08 17:33:26] : hwloc: memory pinned
[2018-11-08 17:33:26] : Starting 1x thread, affinity: 12.
[2018-11-08 17:33:26] : hwloc: memory pinned
[2018-11-08 17:33:26] : Starting 1x thread, affinity: 28.
[2018-11-08 17:33:26] : hwloc: memory pinned
[2018-11-08 17:33:26] : Starting 1x thread, affinity: 13.
[2018-11-08 17:33:26] : hwloc: memory pinned
[2018-11-08 17:33:26] : Starting 1x thread, affinity: 29.
[2018-11-08 17:33:26] : hwloc: memory pinned
[2018-11-08 17:33:26] : Fast-connecting to xmr-eu.dwarfpool.com:8050 pool ...
[2018-11-08 17:33:26] : Pool xmr-eu.dwarfpool.com:8050 connected. Logging in...
[2018-11-08 17:33:26] : Difficulty changed. Now: 50000.
[2018-11-08 17:33:26] : Pool logged in.
[2018-11-08 17:33:26] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:33:26] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:33:26] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:33:26] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:33:26] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:33:26] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:33:26] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:33:26] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:33:26] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:33:26] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:33:26] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:33:26] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:33:26] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:33:26] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:33:26] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:33:26] : Switch to assembler version for 'amd_avx' cpu's
[2018-11-08 17:33:52] : Result accepted by the pool.
[2018-11-08 17:34:06] : Result accepted by the pool.
[2018-11-08 17:34:31] : Result accepted by the pool.
[2018-11-08 17:34:45] : New block detected.
[2018-11-08 17:35:14] : Result accepted by the pool.
[2018-11-08 17:35:32] : Result accepted by the pool.
HASHRATE REPORT - CPU
| ID |    10s |    60s |    15m | ID |    10s |    60s |    15m |
|  0 |   45.2 |   45.1 |   (na) |  1 |   45.2 |   45.1 |   (na) |
|  2 |   53.7 |   53.8 |   (na) |  3 |   53.7 |   53.8 |   (na) |
|  4 |   42.0 |   40.3 |   (na) |  5 |   42.0 |   40.3 |   (na) |
|  6 |   55.5 |   57.4 |   (na) |  7 |   55.5 |   57.4 |   (na) |
|  8 |   44.1 |   43.8 |   (na) |  9 |   44.1 |   43.8 |   (na) |
| 10 |   54.7 |   55.1 |   (na) | 11 |   54.7 |   55.1 |   (na) |
| 12 |   44.9 |   44.8 |   (na) | 13 |   44.9 |   44.8 |   (na) |
| 14 |   53.9 |   54.0 |   (na) | 15 |   53.9 |   54.0 |   (na) |
Totals (CPU):   787.9  788.3    0.0 H/s
-----------------------------------------------------------------
Totals (ALL):    787.9  788.3    0.0 H/s
Highest:   789.2 H/s
-----------------------------------------------------------------
RESULT REPORT
Difficulty       : 50000
Good results     : 5 / 5 (100.0 %)
Avg result time  : 46.8 sec
Pool-side hashes : 250000

Top 10 best results found:
|  0 |           226357 |  1 |           145592 |
|  2 |           119290 |  3 |            98877 |
|  4 |            56633 |  5 |                0 |
|  6 |                0 |  7 |                0 |
|  8 |                0 |  9 |                0 |

Error details:
Yay! No errors.
[2018-11-08 18:56:18] : New block detected.
[2018-11-08 18:56:19] : Result accepted by the pool.
[2018-11-08 18:56:20] : Result accepted by the pool.
[2018-11-08 18:56:50] : Result accepted by the pool.
[2018-11-08 18:57:46] : Result accepted by the pool.
[2018-11-08 18:57:57] : Result accepted by the pool.
RESULT REPORT
Difficulty       : 50000
Good results     : 95 / 95 (100.0 %)
Avg result time  : 53.6 sec
Pool-side hashes : 4750000

Top 10 best results found:
|  0 |          4357474 |  1 |          3125193 |
|  2 |          2076176 |  3 |          2012437 |
|  4 |          1589399 |  5 |           968076 |
|  6 |           943450 |  7 |           791473 |
|  8 |           469122 |  9 |           465821 |

Error details:
Yay! No errors.
HASHRATE REPORT - CPU
| ID |    10s |    60s |    15m | ID |    10s |    60s |    15m |
|  0 |   44.9 |   44.8 |   45.1 |  1 |   44.9 |   44.8 |   45.1 |
|  2 |   53.8 |   54.0 |   53.8 |  3 |   53.8 |   54.0 |   53.8 |
|  4 |   41.3 |   39.6 |   39.8 |  5 |   41.3 |   39.6 |   39.8 |
|  6 |   56.1 |   58.0 |   57.8 |  7 |   56.1 |   58.0 |   57.8 |
|  8 |   43.6 |   44.1 |   43.9 |  9 |   43.6 |   44.1 |   43.9 |
| 10 |   55.4 |   54.8 |   54.9 | 11 |   55.4 |   54.8 |   54.9 |
| 12 |   44.2 |   44.5 |   44.5 | 13 |   44.2 |   44.5 |   44.5 |
| 14 |   54.5 |   54.2 |   54.2 | 15 |   54.5 |   54.2 |   54.2 |
Totals (CPU):   787.8  788.1  788.2 H/s
-----------------------------------------------------------------
Totals (ALL):    787.8  788.1  788.2 H/s
Highest:   789.4 H/s
-----------------------------------------------------------------
[2018-11-08 22:33:36] : Result accepted by the pool.
[2018-11-08 22:33:52] : New block detected.
[2018-11-08 22:34:06] : Result accepted by the pool.
[2018-11-08 22:34:12] : New block detected.
[2018-11-08 22:35:11] : New block detected.
[2018-11-08 22:35:12] : New block detected.
RESULT REPORT
Difficulty       : 50000
Good results     : 313 / 313 (100.0 %)
Avg result time  : 58.1 sec
Pool-side hashes : 15650000

Top 10 best results found:
|  0 |          7801361 |  1 |          6619216 |
|  2 |          5210789 |  3 |          5144018 |
|  4 |          4853020 |  5 |          4357474 |
|  6 |          4248818 |  7 |          3125193 |
|  8 |          2464977 |  9 |          2076176 |

Error details:
Yay! No errors.
HASHRATE REPORT - CPU
| ID |    10s |    60s |    15m | ID |    10s |    60s |    15m |
|  0 |   45.3 |   45.0 |   44.0 |  1 |   45.3 |   45.0 |   44.0 |
|  2 |   53.5 |   53.9 |   54.4 |  3 |   53.5 |   53.9 |   54.4 |
|  4 |   42.9 |   43.0 |   43.4 |  5 |   42.9 |   43.0 |   43.4 |
|  6 |   56.0 |   55.9 |   55.6 |  7 |   56.0 |   55.9 |   55.6 |
|  8 |   41.1 |   41.2 |   42.1 |  9 |   41.3 |   41.2 |   42.1 |
| 10 |   56.8 |   56.6 |   56.1 | 11 |   56.8 |   56.6 |   56.1 |
| 12 |   45.0 |   44.5 |   44.5 | 13 |   45.0 |   44.5 |   44.5 |
| 14 |   53.7 |   54.3 |   54.2 | 15 |   53.7 |   54.3 |   54.2 |
Totals (CPU):   788.8  789.0  788.7 H/s
-----------------------------------------------------------------
Totals (ALL):    788.8  789.0  788.7 H/s
Highest:   790.5 H/s
-----------------------------------------------------------------

Leave a Reply

Your email address will not be published.