Bitcoin Forum
May 06, 2024, 02:34:15 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Extra flag to exclude core when CPU mining  (Read 705 times)
maplemath (OP)
Member
**
Offline Offline

Activity: 92
Merit: 10



View Profile
December 18, 2013, 06:03:40 AM
 #1

When CPU mining alternative coins, what flag do I need to pass to cgminer to use all but one core? I want to avoid using all cores because it would affect my GPU scrypt hash rate. (I'd like to use the CPU to mine a CPU-friendly coin, which is different from what I mine with the GPUs.)

BTC:  18Z3fSXKNWdyM6zGeraEZ6wfYZyp8ZvCLj  LTC:    LdFManTRWBH4y7GXAjGTEVou9ZDRuFK7HM
WDC: Wb2WxguEYqzbBtrbC5h1PjwALxXm4vQ4Qb DOGE:   DNhaETSeGnEuYje5jk7J8QtqQ1jMZ1httN
1714962855
Hero Member
*
Offline Offline

Posts: 1714962855

View Profile Personal Message (Offline)

Ignore
1714962855
Reply with quote  #2

1714962855
Report to moderator
1714962855
Hero Member
*
Offline Offline

Posts: 1714962855

View Profile Personal Message (Offline)

Ignore
1714962855
Reply with quote  #2

1714962855
Report to moderator
1714962855
Hero Member
*
Offline Offline

Posts: 1714962855

View Profile Personal Message (Offline)

Ignore
1714962855
Reply with quote  #2

1714962855
Report to moderator
TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714962855
Hero Member
*
Offline Offline

Posts: 1714962855

View Profile Personal Message (Offline)

Ignore
1714962855
Reply with quote  #2

1714962855
Report to moderator
Mortimer452
Hero Member
*****
Offline Offline

Activity: 532
Merit: 500


View Profile
December 18, 2013, 06:09:15 AM
 #2

I don't believe there is an option to specify number of course (but I could be mistaken)

However, putting cgminer on low CPU priority works well for me (assuming you are using Windows):

1.  Start cgminer
2.  Open Windows Task Manager
3.  Switch to the "Processes" tab
4.  Find the cgminer.exe process related to your CPU mining
5.  Right-click this process, choose Set Priority -> Low

This will allow this instance of cgminer to use 100% of CPU resources, but allows other tasks to "steal" CPU time if needed
drknife
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
December 18, 2013, 06:18:01 AM
 #3

Don't use cgminer.  Use pooler's cpuminer aka minerd.

Here is original thread. https://bitcointalk.org/index.php?topic=55038.0

There are probably more up to date releases but without knowing your OS I don't want to go searching.

In miners you can use the -t call to specify the number of threads.  So if you have 4 cores you could do "-t 3" and have only 3 threads.  This does not leave an entire core open but it should have all four cores at ~75% usage.  At least that is my experience.
eon89
Sr. Member
****
Offline Offline

Activity: 308
Merit: 292

★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
December 18, 2013, 06:19:22 AM
 #4

-t #

# being the number of cores you want to use.

drknife
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
December 18, 2013, 07:23:24 AM
 #5

-t #

# being the number of cores you want to use.

This does not work for cgminer.  At least for the cgminer I have used.
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!