High CPU usage with Sapphire R9 270X GPUs
Moderators: Site Moderators, FAHC Science Team
High CPU usage with Sapphire R9 270X GPUs
Hi,
my config is as follows:
CPU: Intel Pentium G3220 2cores 3.0GHz
MB: Asrock H81 Pro BTC
RAM: Adata 4Gb DDR3 1600MHz
HDD: WD Blue 320GB
GPUs: Sapphire R9 270x - 6 pcs.
PSU: EVGA SuperNOVA NEX1500 Classified
OS: Windows 8.1 x64
AMD Drivers 14.4
FAHClient v7.4.4
I've been using this config for mining without any problems. Recently started folding and I'm having a lot of problems. The main is that CPU is at 100% load constantly and GPUs performance suffers from this. I get 45000-65000PPD per card and the system is unstable and freezes sometimes. For the experiment, I changed the CPU with Intel i7 4770 (4 cores, 8 threads) and guess... no change at all. CPU load 100%, same problems. Then tried to lower the count of GPUs and at 4 pieces everything is perfect - CPU load 15-20%, and 75000-85000PPD per card.
So, anyone have same problems? Is this a FAHClient bug, AMD drivers bug or anything else?
Thanks!
my config is as follows:
CPU: Intel Pentium G3220 2cores 3.0GHz
MB: Asrock H81 Pro BTC
RAM: Adata 4Gb DDR3 1600MHz
HDD: WD Blue 320GB
GPUs: Sapphire R9 270x - 6 pcs.
PSU: EVGA SuperNOVA NEX1500 Classified
OS: Windows 8.1 x64
AMD Drivers 14.4
FAHClient v7.4.4
I've been using this config for mining without any problems. Recently started folding and I'm having a lot of problems. The main is that CPU is at 100% load constantly and GPUs performance suffers from this. I get 45000-65000PPD per card and the system is unstable and freezes sometimes. For the experiment, I changed the CPU with Intel i7 4770 (4 cores, 8 threads) and guess... no change at all. CPU load 100%, same problems. Then tried to lower the count of GPUs and at 4 pieces everything is perfect - CPU load 15-20%, and 75000-85000PPD per card.
So, anyone have same problems? Is this a FAHClient bug, AMD drivers bug or anything else?
Thanks!
Re: High CPU usage with Sapphire R9 270X GPUs
Welcome to foldingforum.org, teodor_dj.
I'm going to assume that the task that's keeping the CPU busy is the FahCore* rather than FAHClient or FAHControl. If that's not accurate, let me know.
The developers of OpenCL drivers seem to like to write them to keep one CPU busy per GPU. Personally, I think it's a bad design choice, but I don't know enough about developing drivers to know the trade-offs. Folding@home is at the mercy of AMD (and NVidia) to develop the best drivers that they can.
I'm going to assume that the task that's keeping the CPU busy is the FahCore* rather than FAHClient or FAHControl. If that's not accurate, let me know.
The developers of OpenCL drivers seem to like to write them to keep one CPU busy per GPU. Personally, I think it's a bad design choice, but I don't know enough about developing drivers to know the trade-offs. Folding@home is at the mercy of AMD (and NVidia) to develop the best drivers that they can.
Posting FAH's log:
How to provide enough info to get helpful support.
How to provide enough info to get helpful support.
Re: High CPU usage with Sapphire R9 270X GPUs
- that's right, when all six GPUs are running simultaneously, each FahCore task takes about 15-25% CPU processing power and thus CPU load hits 100%, obvously all six FahCores combined need more processing power than CPU can provide. That's OK, but when only four GPUs are running, each FahCore task consumes only 1-3% CPU power, not even speaking of taking a whole core by one GPU! I've tested this also on another PC, and results are the same - 1-2 % CPU usage per GPU(FahCore). That's weird enough.I'm going to assume that the task that's keeping the CPU busy is the FahCore
Now I'm running four GPUs on the aforementioned rig, and the other two - on my PC. That is my solution for now. Any ideas are welcome! Thanks!
-
- Posts: 2948
- Joined: Sun Dec 02, 2007 4:36 am
- Hardware configuration: Machine #1:
Intel Q9450; 2x2GB=8GB Ram; Gigabyte GA-X48-DS4 Motherboard; PC Power and Cooling Q750 PS; 2x GTX 460; Windows Server 2008 X64 (SP1).
Machine #2:
Intel Q6600; 2x2GB=4GB Ram; Gigabyte GA-X48-DS4 Motherboard; PC Power and Cooling Q750 PS; 2x GTX 460 video card; Windows 7 X64.
Machine 3:
Dell Dimension 8400, 3.2GHz P4 4x512GB Ram, Video card GTX 460, Windows 7 X32
I am currently folding just on the 5x GTX 460's for aprox. 70K PPD - Location: Salem. OR USA
Re: High CPU usage with Sapphire R9 270X GPUs
For Core_17 WU's, when the client first starts, the CPU load on Core_17 for each AMD GPU will be very high but this should last for only a few minutes. With 6 cards, it would not surprise me that it gets to 100%. This is normal, for Core_17 sets up the WU using the CPU before it starts processing it inside the GPU. Once the %GPU usage goes high (95%-100%) The CPU usage should drop to 1-3% except for a periodic spike that should last only a few seconds at a time.
What I'm speculating is that with the 6-GPU running you measured the %CPU when they first started and with the 4-GPU setup the measurement was slightly later after the initial startup was finished.
What I'm speculating is that with the 6-GPU running you measured the %CPU when they first started and with the 4-GPU setup the measurement was slightly later after the initial startup was finished.
Re: High CPU usage with Sapphire R9 270X GPUs
- unfortunately, this is not the case.What I'm speculating is that with the 6-GPU running you measured the %CPU when they first started and with the 4-GPU setup the measurement was slightly later after the initial startup was finished.
My findings refer after the initial startup process. Looking retrospective, I would add that in 6-GPU configuration, all GPUs paused - CPU usage is a couple %. Then start GPU Number_1 and wait.. Initially CPU usage goes high(as you describe), after a couple of minutes drops to 15-25%. This is too high. With 4-GPU configuration, after the initial startup process, CPU usage drops to 1-2-3% . Strange situation. It appears, that even not folding, the fact, that 6 GPUs are connected to the motherboard, aggravates CPU usage for just one GPU folding. Continuing to start next GPUs, at GPU Number 4, CPU usage already hits 100%, measured after the initial startup process.
To summarize, for 4 GPUs running:
4-GPU Configuration - CPU usage 12-20%
6-GPU Configuration - CPU usage 100%
-
- Posts: 10179
- Joined: Thu Nov 29, 2007 4:30 pm
- Hardware configuration: Intel i7-4770K @ 4.5 GHz, 16 GB DDR3-2133 Corsair Vengence (black/red), EVGA GTX 760 @ 1200 MHz, on an Asus Maximus VI Hero MB (black/red), in a blacked out Antec P280 Tower, with a Xigmatek Night Hawk (black) HSF, Seasonic 760w Platinum (black case, sleeves, wires), 4 SilenX 120mm Case fans with silicon fan gaskets and silicon mounts (all black), a 512GB Samsung SSD (black), and a 2TB Black Western Digital HD (silver/black).
- Location: Arizona
- Contact:
Re: High CPU usage with Sapphire R9 270X GPUs
With only one x16 lane, and five x1 lanes, the GPUs are probably fighting for bandwidth/data. CPU feeds the data. That's why we recommend 1 CPU core per GPU, not 3 GPUs per 1 CPU.
x1 lanes are known to bottleneck GPUs while folding by at least 10%. The faster the GPU, the worse it gets.
x1 lanes are known to bottleneck GPUs while folding by at least 10%. The faster the GPU, the worse it gets.
How to provide enough information to get helpful support
Tell me and I forget. Teach me and I remember. Involve me and I learn.
Tell me and I forget. Teach me and I remember. Involve me and I learn.
Re: High CPU usage with Sapphire R9 270X GPUs
You've done some research to uncover how the %CPU varies. How about comparing the CPU used with bus speed.
For example, do the 16x lanes settle down to a smaller percentage than the 1x lane?
If you combine 2 16x lanes, does it use the same as, say, a 1x and a 2x?
When using GPUs on limited bandwidth slot, Very little is documented.
For example, do the 16x lanes settle down to a smaller percentage than the 1x lane?
If you combine 2 16x lanes, does it use the same as, say, a 1x and a 2x?
When using GPUs on limited bandwidth slot, Very little is documented.
Posting FAH's log:
How to provide enough info to get helpful support.
How to provide enough info to get helpful support.
Re: High CPU usage with Sapphire R9 270X GPUs
Due to using extenders, all GPUs are at x1 PCIe speed. So they have equal bandwidth. Two GPUs running on my PC are on x16 lanes, no difference at all - 1-2% CPU usage per GPU, but slightly higher PPD.
Just to remind, when only four GPUs are installed, all of them on x1 lanes and ratio is 2GPUs\1CPU core (Pentium G3220), there isn't any problem - CPU usage is 12-20% for all tasks. When all six GPUs are installed, but only four of them are running, CPU is at 100%. Swapping CPU with Core i7 4770( 4 cores with hyper-threading, 3.4-3.9GHz) doesn't help at all, CPU is at 100% mark again. i7 4770 is a rather powerful CPU, it's difficult to accept that it cannot manage four running GPUs(as recommended 1 CPU core per GPU).
Finally, after a considerable amount of time spent, I gave up trying to dig any further. Now running 4 GPUs on the rig and 2 GPUs on my PC.
Just to remind, when only four GPUs are installed, all of them on x1 lanes and ratio is 2GPUs\1CPU core (Pentium G3220), there isn't any problem - CPU usage is 12-20% for all tasks. When all six GPUs are installed, but only four of them are running, CPU is at 100%. Swapping CPU with Core i7 4770( 4 cores with hyper-threading, 3.4-3.9GHz) doesn't help at all, CPU is at 100% mark again. i7 4770 is a rather powerful CPU, it's difficult to accept that it cannot manage four running GPUs(as recommended 1 CPU core per GPU).
Finally, after a considerable amount of time spent, I gave up trying to dig any further. Now running 4 GPUs on the rig and 2 GPUs on my PC.
-
- Site Moderator
- Posts: 6986
- Joined: Wed Dec 23, 2009 9:33 am
- Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB
Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400 - Location: Land Of The Long White Cloud
- Contact:
Re: High CPU usage with Sapphire R9 270X GPUs
May I suggest that you post over at the official AMD Forum (http://forums.amd.com/) to see what their response is to 6 GPUs in a single system (do note that F@H doesn't use CFX for folding)? While 4 GPUs seems to be supported in some benchmarks and games, having 6 GPUs might be an untested and/or unsupported configuration by AMD so may contain bugs. If you have indeed discovered a bug and AMD is willing to fix it, it may be advantageous to other multi-GPU folders in the future.
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time
Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time
Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
Re: High CPU usage with Sapphire R9 270X GPUs
Thanks, will do!