Loki GPU - CPU Mining Guide

Luxor Tech
3 min readMay 2, 2018

--

Loki transactions and services are completely decentralised, private and untraceable. This enables Loki users to transact and communicate securely with peace of mind. In the spirit of freedom, Loki is also an open-source project.

Whether you are already mining Loki with another pool, or are new to the network, follow this guide to join us at Luxor!

First you would need to download and install the correct mining software that supports your cards. We recommend using xmr-stak for AMD of Nvidia Graphic Cards as well as for CPU mining.

You can create a wallet here.

First enter the Algorithm you’re going to mine: cryptonight_heavy or Sumokoin (if using Nvidia Cards).

Then, pick one of the above nodes (ensure it is port 9999), and type in the pool setting as follows:

URL: loki-us.luxor.tech:9999 (set to your nearest location)

Worker: YourLokiWalletAddress

RigIdentifier: username (username can be anything, but avoid using symbols or special characters as it may be an invalid username)

Password: x

For the other nodes (Pool 2 and Pool 3), feel free to use any of the other region nodes.

Now you need to optimize your mining software to get the best performance out of you hardware.

CPU threads

First you will need to tweak the cpu.txt file to tell the software how many threads (cores) of your CPU you want to use. Go to the bottom of the file and you should see something like this:

“cpu_threads_conf” :[
{ “low_power_mode” : false, “no_prefetch” : true, “affine_to_cpu” : false },
],

Most CPUs have 4 threads so your configuration should look like this:

[
{ “low_power_mode” : false, “no_prefetch” : true, “affine_to_cpu” : 0 },
{ “low_power_mode” : false, “no_prefetch” : true, “affine_to_cpu” : 1},{ “low_power_mode” : false, “no_prefetch” : true, “affine_to_cpu” : 2},{ “low_power_mode” : false, “no_prefetch” : true, “affine_to_cpu” : 3},],

If your CPU has more just add more rows. That easy.

How to add more Nvidia GPUs

By default the NVIDIA backend can be tuned in the config file nvidia.txt

In order to add more cards just add more rows and add one two the index value. The example below is for two Nvidia cards.

"gpu_threads_conf" :
[
{ "index" : 0, "threads" : 17, "blocks" : 60, "bfactor" : 0, "bsleep" : 0,
"affine_to_cpu" : false, "sync_mode" : 3,
},
{ "index" : 1, "threads" : 17, "blocks" : 60, "bfactor" : 0, "bsleep" : 0,
"affine_to_cpu" : false, "sync_mode" : 3,
},
],

How to add more AMD GPUs

By default the AMD backend can be tuned in the config file amd.txt

In order to add more cards just add more rows and add one two the index value. The example below is for two AMD cards.

"gpu_threads_conf" :
[
{ "index" : 0, "intensity" : 1000, "worksize" : 8, "affine_to_cpu" : false,
"strided_index" : true, "mem_chunk" : 2, "comp_mode" : true
},
{ "index" : 1, "intensity" : 1000, "worksize" : 8, "affine_to_cpu" : false,
"strided_index" : true, "mem_chunk" : 2, "comp_mode" : true
},
],

"platform_index" : 0,

Once you’ve started hashing, grab yourself a beer! It’ll take about 5 minutes for your worker to appear on our stats page. To find your user, simply go to http://mining.luxor.tech/loki and type in your wallet address at the top of the search bar. Should look like this:

Having issues? Follow us on Twitter and tweet to us! We’re happy to help: https://twitter.com/LuxorTechTeam

We’re also on Discord. Ping us there at https://discord.gg/5qPRbDS

--

--

Luxor Tech
Luxor Tech

Written by Luxor Tech

Luxor is a Bitcoin mining pool and full-stack crypto mining company. The financialization of hashrate starts with us. https://www.luxor.tech/

Responses (2)