Bitcoin Forum
May 02, 2024, 01:12:22 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Assign sgminer to specific gpu  (Read 183 times)
Coin_Joiner (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
December 13, 2017, 10:36:29 AM
 #1

Hi all,

i've been mining with SGMiner 5.5.5 for a short time now and everything works well enough. Now i'm looking to place a second gpu into my system, but i want that gpu to mine to a different wallet (same algo). Why? Simple: one device belongs to me and the second one to someone else. Power cost offsets investing into a new platform, so power consumption is not a issue.


I have found a device "switch" wich you can add to the config file, but i'm wondering if this will work. It looks like this:

"profiles":
    [
        {
            "name": "xmr",
            "algorithm": "cryptonight",
            "rawintensity": "1000",
            "worksize": "8",
            "gpu-threads": "1"
            "devices": "0 or 1"

The last line should specify which device should be used. In the first config file I would use "0" and in a second file I would use "1". Is this the correct why to approach this or is there another way?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714612342
Hero Member
*
Offline Offline

Posts: 1714612342

View Profile Personal Message (Offline)

Ignore
1714612342
Reply with quote  #2

1714612342
Report to moderator
elgi76
Member
**
Offline Offline

Activity: 124
Merit: 10


View Profile
December 13, 2017, 11:29:09 AM
Last edit: December 13, 2017, 11:40:14 AM by elgi76
 #2

you can try this in same config file :

          
Code:
"profiles":
    [
        {
            "name": "xmr",
            "algorithm": "cryptonight",
            "rawintensity": "1000",
            "worksize": "8",
            "url": "stratum+tcp://<my_pool>",
            "gpu-threads": "1"
        }
    ]  
"pools":
 [
    {
      "profiles": "xmr",
      "name": "xmr-me",
      "user": "<my_wallet>",
      "pass": "x",
      "devices": "0"
    },
    {
      "profiles": "xmr",
       "name": "xmr-my_friend",
      "user": "<my_friend_wallet>",
      "pass": "x",
      "devices": "1"
    }

  ]

or use "quota" :

Code:
"profiles":
    [
        {
            "name": "xmr",
            "algorithm": "cryptonight",
            "rawintensity": "1000",
            "worksize": "8",
            "gpu-threads": "1",
            "load-balance": true,
        }
    ]  
"pools":
 [
    {
      "profiles": "xmr",
      "name": "xmr-me",
      "user": "<my_wallet>",
      "pass": "x",
      "quota": "50;stratum+tcp://<my_pool>"
    },
    {
      "profiles": "xmr",
       "name": "xmr-my_friend",
      "user": "<my_friend_wallet>",
      "pass": "x",
      "quota": "50;stratum+tcp://<my_same_or_other_pool>"
    }

  ]

not sure for all but you can try
Coin_Joiner (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
December 14, 2017, 09:07:21 AM
Last edit: December 14, 2017, 09:37:06 AM by Coin_Joiner
 #3

This is an even more elegant solution then using two config files. Nice! I will give it a try! My only concern is that the two GPU's are different (a RX580 and a R9 270X). The raw intensity and worksize variables might cause problems. I'm currently using 1000 and 8 as values for raw intensity and worksize for the RX580 gpu. This works fine. Since the 270x is an older card these values need to be adjusted. What kind of values would you recommend?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!