Author

Topic: Extra flag to exclude core when CPU mining (Read 727 times)

newbie
Activity: 14
Merit: 0
December 18, 2013, 03: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.
sr. member
Activity: 308
Merit: 292
★YoBit.Net★ 350+ Coins Exchange & Dice
December 18, 2013, 02:19:22 AM
#4
-t #

# being the number of cores you want to use.
newbie
Activity: 14
Merit: 0
December 18, 2013, 02:18:01 AM
#3
Don't use cgminer.  Use pooler's cpuminer aka minerd.

Here is original thread. https://bitcointalksearch.org/topic/an-even-more-optimized-version-of-cpuminer-poolers-cpuminer-cpu-only-55038

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.
hero member
Activity: 532
Merit: 500
December 18, 2013, 02: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
member
Activity: 92
Merit: 10
December 18, 2013, 02: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.)
Jump to: