Bitcoin Forum
May 26, 2024, 10:36:09 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: cgminer: How to set GPU percentage to less than 100% usage / allocation  (Read 769 times)
laurenB7742 (OP)
Full Member
***
Offline Offline

Activity: 1302
Merit: 128


Vaccinized.. immunity level is full.


View Profile
October 05, 2017, 01:01:20 PM
 #1

I'm new to mining.
My batch file (start.bat) is:
   setx GPU_MAX_ALLOC_PERCENT 90
   setx GPU_USE_SYNC_OBJECTS 1
   cgminer.exe --scrypt --url stratum+tcp://beardedpool.fr:3433 -u GWBNesh1yNrraVR9hahT7f8pheWHPyqV3V -p c=GPK  -I 13 -g 2 -w 256 --thread-concurrency 8192 --gpu-powertune 20

But my GPU is still working at 99% despite setting max allocation to 90%. How can I limit it to 90% or 95% so that GPU temperature will fall below 80°C and GPU driver will not crash when I'm using the computer while mining?

███████ ███████        R O L L B I T        CRYPTO'S MOST INNOVATIVE CASINO        [ PLAY NOW ]        ███████ ███████
//     TRADE RLB NOW!     //
███████ ███████ ███████            OFFICIAL EUROPEAN BETTING PARTNER OF SSC NAPOLI           ███████ ███████ ███████
Sev18
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
October 05, 2017, 01:04:16 PM
 #2

Did you try lowering intensity by changing -I 13 settings?

■■■■■■■  Multi-Algo Switching Manager - MULTIPOOL MULTIALGO Profit Switch Launcher  ■■■■■■■
■■■■■■■             https://bitcointalk.org/index.php?topic=2041971             ■■■■■■■
■■■■■■■                           Download Now!                           ■■■■■■■
laurenB7742 (OP)
Full Member
***
Offline Offline

Activity: 1302
Merit: 128


Vaccinized.. immunity level is full.


View Profile
October 05, 2017, 09:34:04 PM
 #3

Did you try lowering intensity by changing -I 13 settings?
Thank you for advice. I tried -I 12 and it didn't make any difference. Now I tried -I 10 and GPU usage is 97% but hashrate is more than 2 times smaller in comparison to -I 13 so this is not useful.
I thought I could lower GPU usage for 10% and hashrate would fall about the same percentage. But apparently it doesn't work like that.

███████ ███████        R O L L B I T        CRYPTO'S MOST INNOVATIVE CASINO        [ PLAY NOW ]        ███████ ███████
//     TRADE RLB NOW!     //
███████ ███████ ███████            OFFICIAL EUROPEAN BETTING PARTNER OF SSC NAPOLI           ███████ ███████ ███████
Za1n
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011



View Profile
October 05, 2017, 10:06:11 PM
Last edit: October 05, 2017, 10:19:25 PM by Za1n
 #4

I believe the setx GPU_MAX_ALLOC_PERCENT 90 command pertains more to how much maximum memory on the GPU can be allocated for process to use. Likewise the GPU_SINGLE_ALLOC_PERCENT command sets the amount of memory a single process can utilize. Both of these settings deal with the allocation of memory and not the core utilization. To adjust that you would need to change settings within cgminer itself if available.

Since mining programs are meant to utilize the GPU as much as possible to deliver maximum hashrates you may be better off trying to improve airflow so your cards will naturally cool down. Are your cards in an enclosed case? if so you may need to add more case fans, or alternatively you can simply remove the side panel for more airflow to see if it helps. If they are in an open-air frame you may need an external fan blowing ower it to help cool it down more.
laurenB7742 (OP)
Full Member
***
Offline Offline

Activity: 1302
Merit: 128


Vaccinized.. immunity level is full.


View Profile
October 06, 2017, 09:36:00 AM
 #5

I believe the setx GPU_MAX_ALLOC_PERCENT 90 command pertains more to how much maximum memory on the GPU can be allocated for process to use. Likewise the GPU_SINGLE_ALLOC_PERCENT command sets the amount of memory a single process can utilize. Both of these settings deal with the allocation of memory and not the core utilization. To adjust that you would need to change settings within cgminer itself if available.

Since mining programs are meant to utilize the GPU as much as possible to deliver maximum hashrates you may be better off trying to improve airflow so your cards will naturally cool down. Are your cards in an enclosed case? if so you may need to add more case fans, or alternatively you can simply remove the side panel for more airflow to see if it helps. If they are in an open-air frame you may need an external fan blowing ower it to help cool it down more.
Thank you mate! So I'm just wasting time trying to limit GPU load by changing batch file.
Yes, I use nornal PC case so it's closed. I do have one intake fan and one for outflow. But these seem not enough for mining at 99% load.
I will now open the case and see if that makes any difference. If it won't I will simply need to decide to quit mining on PC and buy mining rig or Antminer.

███████ ███████        R O L L B I T        CRYPTO'S MOST INNOVATIVE CASINO        [ PLAY NOW ]        ███████ ███████
//     TRADE RLB NOW!     //
███████ ███████ ███████            OFFICIAL EUROPEAN BETTING PARTNER OF SSC NAPOLI           ███████ ███████ ███████
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!