• Paris - France - Europe
GraftCoin.eu – Info site sur la cryptomonnaie Graft  / GRFT

Miner du GRAFT avec xmrig 3.1.0 sur Ubuntu Linux

Miner du GRAFT avec xmrig 3.1.0 sur Ubuntu Linux

Après installation d’Ubuntu sur une machine (ou utilisation d’un live USB), voici la procédure pour installer xmrig en quelques minute :

> sysctl -w vm.nr_hugepages=128
> sudo add-apt-repository ppa:jonathonf/gcc-7.1
> sudo apt-get update
> sudo apt-get install git build-essential cmake libuv1-dev libmicrohttpd-dev libssl-dev libhwloc-dev gcc-7 g++-7
> git clone https://github.com/xmrig/xmrig.git
> cd xmrig
> mkdir build
> cd build
> cmake .. -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7
> make

Copier ensuite le fichier config.json du répertoire /sources et éditez-le avec les informations nécessaires (au minimum l’algorithme, le portefeuille, le mot de passe et le serveur)

Exemple :

"pools": [
    {
        "algo": "cn/rwz",
        "url": "pool.graft.community:3300",
        "user": "GMPHYf5KRkcAyik7Jw9oHRfJtUdw2Kj5f4VTFJ25AaFVYxofetir8Cnh7S76Q854oMXzwaguL8p5KEz1tm3rn1SA6qrtRNEb4mVRWUC5Yh",
        "pass": "machine",
        "rig-id": null,
        "nicehash": false,
        "keepalive": true,
        "enabled": true,
        "tls": false,
        "tls-fingerprint": null,
        "daemon": false
    }
],

et voilà !

  • ABOUT XMRig/3.1.0 MSVC/2017
  • LIBS libuv/1.31.0 OpenSSL/1.1.1c hwloc/2.0.4
  • HUGE PAGES permission granted
  • CPU Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz (1) x64 -AES
    L2:0.5 MB L3:3.0 MB 2C/4T NUMA:1
  • DONATE 1%
  • ASSEMBLY auto:none
  • POOL #1 pool.graft.community:3300 algo cn/rwz
  • COMMANDS hashrate, pause, resume
    [2019-09-14 18:50:42.856] use pool pool.graft.community:3300 149.56.148.126
    [2019-09-14 18:50:42.859] new job from pool.graft.community:3300 diff 5000 algo cn/rwz
    [2019-09-14 18:50:42.860] cpu use profile cn (2 threads) scratchpad 2048 KB
    [2019-09-14 18:50:44.888] cpu READY threads 2(2) huge pages 2/2 100% memory 4096 KB (2028 ms)
    [2019-09-14 18:51:14.016] accepted (1/0) diff 5000 (130 ms)
    [2019-09-14 18:51:32.980] new job from pool.graft.community:3300 diff 9677 algo cn/rwz
    [2019-09-14 18:51:44.396] speed 10s/60s/15m 42.9 n/a n/a H/s max 47.5 H/s
    [2019-09-14 18:51:58.838] new job from pool.graft.community:3300 diff 9677 algo cn/rwz
    [2019-09-14 18:52:32.977] new job from pool.graft.community:3300 diff 7350 algo cn/rwz
    [2019-09-14 18:52:45.941] speed 10s/60s/15m 47.0 45.1 n/a H/s max 48.1 H/s
    [2019-09-14 18:52:54.657] accepted (2/0) diff 7350 (117 ms)
    [2019-09-14 18:53:02.976] new job from pool.graft.community:3300 diff 14700 algo cn/rwz
    [2019-09-14 18:53:43.429] new job from pool.graft.community:3300 diff 14700 algo cn/rwz
    [2019-09-14 18:53:47.485] speed 10s/60s/15m 43.0 45.3 n/a H/s max 52.2 H/s
    [2019-09-14 18:54:32.974] new job from pool.graft.community:3300 diff 9000 algo cn/rwz
    [2019-09-14 18:54:49.015] speed 10s/60s/15m 36.9 41.2 n/a H/s max 52.2 H/s
    [2019-09-14 18:54:57.003] new job from pool.graft.community:3300 diff 9000 algo cn/rwz
    [2019-09-14 18:55:02.017] new job from pool.graft.community:3300 diff 9000 algo cn/rwz
    [2019-09-14 18:55:08.511] new job from pool.graft.community:3300 diff 9000 algo cn/rwz
    [2019-09-14 18:55:13.693] accepted (3/0) diff 9000 (119 ms)
    [2019-09-14 18:55:32.972] new job from pool.graft.community:3300 diff 13171 algo cn/rwz
    [2019-09-14 18:55:50.528] speed 10s/60s/15m 48.5 48.7 n/a H/s max 52.2 H/s
    [2019-09-14 18:56:14.114] accepted (4/0) diff 13171 (157 ms)
    [2019-09-14 18:56:52.042] speed 10s/60s/15m 41.3 43.0 n/a H/s max 52.9 H/s
    [2019-09-14 18:56:57.625] new job from pool.graft.community:3300 diff 13171 algo cn/rwz
    [2019-09-14 18:57:53.680] speed 10s/60s/15m 41.2 41.4 n/a H/s max 52.9 H/s
    [2019-09-14 18:58:02.970] new job from pool.graft.community:3300 diff 9352 algo cn/rwz
    [2019-09-14 18:58:55.194] speed 10s/60s/15m 36.0 43.4 n/a H/s max 52.9 H/s
    [2019-09-14 18:59:32.969] new job from pool.graft.community:3300 diff 6235 algo cn/rwz
    [2019-09-14 18:59:44.786] accepted (5/0) diff 6235 (117 ms)
    [2019-09-14 18:59:56.723] speed 10s/60s/15m 44.4 45.5 n/a H/s max 52.9 H/s
    [2019-09-14 19:00:02.971] new job from pool.graft.community:3300 diff 12470 algo cn/rwz
    [2019-09-14 19:00:58.252] speed 10s/60s/15m 38.6 48.1 n/a H/s max 54.0 H/s
    [2019-09-14 19:01:32.993] new job from pool.graft.community:3300 diff 6928 algo cn/rwz
    [2019-09-14 19:01:45.388] accepted (6/0) diff 6928 (118 ms)
    [2019-09-14 19:01:59.828] speed 10s/60s/15m 46.6 43.0 n/a H/s max 54.0 H/s
    [2019-09-14 19:02:02.995] new job from pool.graft.community:3300 diff 13856 algo cn/rwz
    [2019-09-14 19:02:42.007] new job from pool.graft.community:3300 diff 13856 algo cn/rwz
    [2019-09-14 19:03:01.404] speed 10s/60s/15m 46.2 45.2 n/a H/s max 54.0 H/s
    [2019-09-14 19:03:32.964] new job from pool.graft.community:3300 diff 7770 algo cn/rwz
    [2019-09-14 19:04:02.964] speed 10s/60s/15m 48.7 45.6 n/a H/s max 54.0 H/s
    [2019-09-14 19:04:47.652] new job from pool.graft.community:3300 diff 7770 algo cn/rwz
    [2019-09-14 19:04:56.116] accepted (7/0) diff 7770 (118 ms)
    [2019-09-14 19:05:02.963] new job from pool.graft.community:3300 diff 5550 algo cn/rwz
    [2019-09-14 19:05:04.462] speed 10s/60s/15m 46.9 49.9 n/a H/s max 54.0 H/s
    [2019-09-14 19:05:57.956] accepted (8/0) diff 5550 (120 ms)
    [2019-09-14 19:06:06.007] speed 10s/60s/15m 53.9 52.5 45.4 H/s max 54.3 H/s
    [2019-09-14 19:06:58.805] accepted (9/0) diff 5550 (120 ms)
    [2019-09-14 19:07:07.583] speed 10s/60s/15m 54.1 54.1 46.1 H/s max 54.3 H/s
    [2019-09-14 19:08:09.159] speed 10s/60s/15m 54.1 54.2 46.6 H/s max 54.3 H/s
    [2019-09-14 19:08:24.681] accepted (10/0) diff 5550 (118 ms)
    [2019-09-14 19:09:10.735] speed 10s/60s/15m 54.3 54.2 47.4 H/s max 54.3 H/s
    [2019-09-14 19:09:37.333] accepted (11/0) diff 5550 (122 ms)
    [2019-09-14 19:09:41.869] new job from pool.graft.community:3300 diff 5550 algo cn/rwz
    [2019-09-14 19:10:12.342] speed 10s/60s/15m 54.3 54.2 48.2 H/s max 54.3 H/s
    [2019-09-14 19:10:49.687] accepted (12/0) diff 5550 (118 ms)
    [2019-09-14 19:10:56.390] accepted (13/0) diff 5550 (119 ms)
    [2019-09-14 19:11:13.918] speed 10s/60s/15m 54.3 53.8 48.7 H/s max 54.3 H/s
    [2019-09-14 19:12:03.682] accepted (14/0) diff 5550 (117 ms)
    [2019-09-14 19:12:15.463] speed 10s/60s/15m 54.3 53.8 49.3 H/s max 54.3 H/s
    [2019-09-14 19:13:17.054] speed 10s/60s/15m 54.3 54.3 50.3 H/s max 54.3 H/s
    [2019-09-14 19:13:23.884] accepted (15/0) diff 5550 (119 ms)
    [2019-09-14 19:13:41.795] accepted (16/0) diff 5550 (118 ms)
    [2019-09-14 19:14:08.583] new job from pool.graft.community:3300 diff 5550 algo cn/rwz
    [2019-09-14 19:14:18.599] speed 10s/60s/15m 54.3 53.9 50.9 H/s max 54.3 H/s
    [2019-09-14 19:14:22.575] new job from pool.graft.community:3300 diff 5550 algo cn/rwz
    [2019-09-14 19:14:35.967] accepted (17/0) diff 5550 (118 ms)
    [2019-09-14 19:14:37.183] accepted (18/0) diff 5550 (120 ms)
    [2019-09-14 19:14:50.227] new job from pool.graft.community:3300 diff 5550 algo cn/rwz
    [2019-09-14 19:15:20.050] speed 10s/60s/15m 54.2 54.0 51.4 H/s max 54.3 H/s
    [2019-09-14 19:15:26.623] accepted (19/0) diff 5550 (119 ms)
    [2019-09-14 19:15:52.971] accepted (20/0) diff 5550 (119 ms)
    [2019-09-14 19:16:09.664] new job from pool.graft.community:3300 diff 5550 algo cn/rwz
    [2019-09-14 19:16:21.610] speed 10s/60s/15m 54.2 54.2 52.0 H/s max 54.3 H/s
    [2019-09-14 19:16:33.188] new job from pool.graft.community:3300 diff 5550 algo cn/rwz
    [2019-09-14 19:16:47.809] accepted (21/0) diff 5550 (120 ms)
    [2019-09-14 19:17:12.758] accepted (22/0) diff 5550 (117 ms)
    [2019-09-14 19:17:23.108] speed 10s/60s/15m 54.3 54.2 52.7 H/s max 54.3 H/s
    [2019-09-14 19:17:35.746] new job from pool.graft.community:3300 diff 5550 algo cn/rwz
    [2019-09-14 19:18:24.669] speed 10s/60s/15m 54.1 54.2 53.3 H/s max 54.3 H/s
    [2019-09-14 19:19:26.229] speed 10s/60s/15m 54.3 54.2 53.8 H/s max 54.3 H/s
    [2019-09-14 19:20:04.382] new job from pool.graft.community:3300 diff 5550 algo cn/rwz
    [2019-09-14 19:20:27.821] speed 10s/60s/15m 54.1 54.2 54.1 H/s max 54.3 H/s
    [2019-09-14 19:20:48.451] accepted (23/0) diff 5550 (119 ms)
    [2019-09-14 19:21:04.914] accepted (24/0) diff 5550 (121 ms)
    [2019-09-14 19:21:29.365] speed 10s/60s/15m 54.3 54.3 54.1 H/s max 54.3 H/s
    [2019-09-14 19:22:30.988] speed 10s/60s/15m 54.3 54.2 54.1 H/s max 54.3 H/s
    [2019-09-14 19:23:23.611] new job from pool.graft.community:3300 diff 5550 algo cn/rwz
    [2019-09-14 19:23:32.548] speed 10s/60s/15m 54.2 54.2 54.1 H/s max 54.3 H/s
    [2019-09-14 19:24:34.140] speed 10s/60s/15m 54.3 54.2 54.1 H/s max 54.3 H/s
    [2019-09-14 19:25:35.716] speed 10s/60s/15m 54.3 54.3 54.1 H/s max 54.3 H/s
    [2019-09-14 19:25:49.222] new job from pool.graft.community:3300 diff 5550 algo cn/rwz
    [2019-09-14 19:26:37.261] speed 10s/60s/15m 54.3 54.2 54.2 H/s max 54.3 H/s
    [2019-09-14 19:26:40.767] new job from pool.graft.community:3300 diff 5550 algo cn/rwz
    [2019-09-14 19:27:29.534] accepted (25/0) diff 5550 (118 ms)
    [2019-09-14 19:27:38.790] speed 10s/60s/15m 54.2 53.8 54.1 H/s max 54.3 H/s
    [2019-09-14 19:27:52.835] new job from pool.graft.community:3300 diff 5550 algo cn/rwz
    [2019-09-14 19:28:02.714] accepted (26/0) diff 5550 (121 ms)
    [2019-09-14 19:28:40.319] speed 10s/60s/15m 54.3 54.2 54.1 H/s max 54.3 H/s
    [2019-09-14 19:29:41.864] speed 10s/60s/15m 54.3 54.2 54.2 H/s max 54.3 H/s
    [2019-09-14 19:30:36.999] accepted (27/0) diff 5550 (118 ms)
    [2019-09-14 19:30:43.424] speed 10s/60s/15m 54.2 54.1 54.2 H/s max 54.3 H/s
    [2019-09-14 19:30:52.517] new job from pool.graft.community:3300 diff 5550 algo cn/rwz
    [2019-09-14 19:31:18.544] new job from pool.graft.community:3300 diff 5550 algo cn/rwz
    [2019-09-14 19:31:44.953] speed 10s/60s/15m 54.3 54.1 54.2 H/s max 54.3 H/s
    [2019-09-14 19:32:05.237] accepted (28/0) diff 5550 (119 ms)
    [2019-09-14 19:32:46.560] speed 10s/60s/15m 53.9 49.6 53.9 H/s max 54.3 H/s
    [2019-09-14 19:32:50.127] new job from pool.graft.community:3300 diff 5550 algo cn/rwz
    [2019-09-14 19:33:04.319] accepted (29/0) diff 5550 (117 ms)

2 thoughts on “Miner du GRAFT avec xmrig 3.1.0 sur Ubuntu Linux

  1. pi4

    je ne parviens pas à compiler xmrig sur raspbian pour Raspberry Pi 4 :
    /usr/bin/ld: CMakeFiles/xmrig.dir/src/crypto/common/Nonce.cpp.o: in function `xmrig::Nonce::Nonce()’:
    Nonce.cpp:(.text+0x38): undefined reference to `__atomic_store_8′
    /usr/bin/ld: Nonce.cpp:(.text+0x4c): undefined reference to `__atomic_store_8′
    /usr/bin/ld: Nonce.cpp:(.text+0x60): undefined reference to `__atomic_store_8′
    /usr/bin/ld: CMakeFiles/xmrig.dir/src/crypto/common/Nonce.cpp.o: in function `xmrig::Nonce::stop()’:
    Nonce.cpp:(.text+0x184): undefined reference to `__atomic_store_8′
    /usr/bin/ld: Nonce.cpp:(.text+0x198): undefined reference to `__atomic_store_8′
    /usr/bin/ld: CMakeFiles/xmrig.dir/src/crypto/common/Nonce.cpp.o:Nonce.cpp:(.text+0x1ac): more undefined references to `__atomic_store_8′ follow
    /usr/bin/ld: CMakeFiles/xmrig.dir/src/crypto/common/Nonce.cpp.o: in function `xmrig::Nonce::touch()’:
    Nonce.cpp:(.text+0x1e0): undefined reference to `__atomic_fetch_add_8′
    /usr/bin/ld: Nonce.cpp:(.text+0x1f4): undefined reference to `__atomic_fetch_add_8′
    /usr/bin/ld: Nonce.cpp:(.text+0x208): undefined reference to `__atomic_fetch_add_8′
    /usr/bin/ld: CMakeFiles/xmrig.dir/src/backend/common/Worker.cpp.o: in function `xmrig::Worker::storeStats()’:
    Worker.cpp:(.text+0x90): undefined reference to `__atomic_store_8′
    /usr/bin/ld: Worker.cpp:(.text+0xbc): undefined reference to `__atomic_store_8′
    /usr/bin/ld: CMakeFiles/xmrig.dir/src/backend/common/Worker.cpp.o: in function `xmrig::Worker::timestamp() const’:
    Worker.cpp:(.text._ZNK5xmrig6Worker9timestampEv[_ZNK5xmrig6Worker9timestampEv]+0x8): undefined reference to `__atomic_load_8′
    /usr/bin/ld: CMakeFiles/xmrig.dir/src/backend/common/Worker.cpp.o: in function `xmrig::Worker::hashCount() const’:
    Worker.cpp:(.text._ZNK5xmrig6Worker9hashCountEv[_ZNK5xmrig6Worker9hashCountEv]+0x8): undefined reference to `__atomic_load_8′
    /usr/bin/ld: CMakeFiles/xmrig.dir/src/backend/common/Workers.cpp.o: in function `xmrig::Workers::stop()’:
    Workers.cpp:(.text._ZN5xmrig7WorkersINS_13CpuLaunchDataEE4stopEv[_ZN5xmrig7WorkersINS_13CpuLaunchDataEE4stopEv]+0x20): undefined reference to `__atomic_store_8′
    /usr/bin/ld: Workers.cpp:(.text._ZN5xmrig7WorkersINS_13CpuLaunchDataEE4stopEv[_ZN5xmrig7WorkersINS_13CpuLaunchDataEE4stopEv]+0x9c): undefined reference to `__atomic_fetch_add_8′
    /usr/bin/ld: CMakeFiles/xmrig.dir/src/backend/common/Workers.cpp.o: in function `xmrig::Workers::tick(unsigned long long)’:
    Workers.cpp:(.text._ZN5xmrig7WorkersINS_13CpuLaunchDataEE4tickEy[_ZN5xmrig7WorkersINS_13CpuLaunchDataEE4tickEy]+0x4c): undefined reference to `__atomic_load_8′
    /usr/bin/ld: Workers.cpp:(.text._ZN5xmrig7WorkersINS_13CpuLaunchDataEE4tickEy[_ZN5xmrig7WorkersINS_13CpuLaunchDataEE4tickEy]+0x70): undefined reference to `__atomic_load_8′
    /usr/bin/ld: CMakeFiles/xmrig.dir/src/backend/cpu/CpuWorker.cpp.o: in function `xmrig::CpuWorker::allocateRandomX_VM()’:
    CpuWorker.cpp:(.text._ZN5xmrig9CpuWorkerILj1EE18allocateRandomX_VMEv[_ZN5xmrig9CpuWorkerILj1EE18allocateRandomX_VMEv]+0x70): undefined reference to `__atomic_load_8′
    /usr/bin/ld: CMakeFiles/xmrig.dir/src/backend/cpu/CpuWorker.cpp.o: in function `xmrig::CpuWorker::consumeJob()’:
    CpuWorker.cpp:(.text._ZN5xmrig9CpuWorkerILj1EE10consumeJobEv[_ZN5xmrig9CpuWorkerILj1EE10consumeJobEv]+0x20): undefined reference to `__atomic_load_8′
    /usr/bin/ld: CMakeFiles/xmrig.dir/src/backend/cpu/CpuWorker.cpp.o: in function `xmrig::CpuWorker::allocateRandomX_VM()’:
    CpuWorker.cpp:(.text._ZN5xmrig9CpuWorkerILj2EE18allocateRandomX_VMEv[_ZN5xmrig9CpuWorkerILj2EE18allocateRandomX_VMEv]+0x70): undefined reference to `__atomic_load_8′
    /usr/bin/ld: CMakeFiles/xmrig.dir/src/backend/cpu/CpuWorker.cpp.o:CpuWorker.cpp:(.text._ZN5xmrig9CpuWorkerILj2EE10consumeJobEv[_ZN5xmrig9CpuWorkerILj2EE10consumeJobEv]+0x20): more undefined references to `__atomic_load_8′ follow
    collect2: error: ld returned 1 exit status
    make[2]: *** [CMakeFiles/xmrig.dir/build.make:1709: xmrig] Error 1
    make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/xmrig.dir/all] Error 2
    make: *** [Makefile:84: all] Error 2

    1. admin Post author

      Je viens de tester l’installation de xmrig, dernière version sur Raspbian, la distribution Linux basée sur Debian pour Raspberry Pi (dont le Pi 4) et j’obtiens dans les 120 h/sec

      Je vais mettre en ligne un article sur l’install rapidement.

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Résoudre : *
3 + 26 =