Why don't GPUs implement priorities?

VirtualLarry

No Lifer
Aug 25, 2001
56,548
10,171
126
Just wondering. When I crunch with BOINC, Collatz Conjecture project, on my GT740 1GB GDDR5, and my i3-6100, everything UI-wise lags. Not every project does this, and it doesn't lag in any way that I can notice, running Milkyway@Home on my 7950 3GB GDDR5 card, on my G4400 OCed rig, while also crunching on both CPU cores.

Thing is, I can crunch on both CPU cores, because the BOINC project app is set to a lower (background) priority, and the OS implements a priority scheme.

Yet, it seems that GPUs still don't have any notion of "this task should take priority over that task". So GPU crunching programs, lag the UI of the PC, etc.
 

ViRGE

Elite Member, Moderator Emeritus
Oct 9, 1999
31,516
167
106
They do, but it's really coarse. WDDM 2.0 and next-gen GPUs should make it better.
 

Gryz

Golden Member
Aug 28, 2010
1,551
204
106
Are you sure this problem is caused by lack of compute-power ?

It could be memory. Suppose the program you regard with highest priority doesn't need memory for the first few minutes of execution. Suppose other programs do allocate a bunch of memory. Now your high priority program suddenly wants a lot more memory. There isn't any. So your system starts swapping pages. (RAM to page-file on the CPU, or VRAM to RAM on a GPU). That will cause relatively big slow-downs.

How would you want to prevent this ? Disallow the lower-prio programs to allocate memory ? That'll be hard to do. And it might be a waste of resources, if you don't know there is (or will be) a higher prio program needing more memory later.

Problems can be even more complex. You might have enough cpu-power and enough memory. But if you need a lot of communication between different components, that might be the bottle-neck. CPU to RAM. CPU to GPU. CPU to VRAM. Audio. Network-interface. RAM to HDD. If there is enough data being pumped around, caches will become useless. Busses will be full, and programs will have to wait. Sometimes two or three consumers of a particular resource will cause trashing.

The average user sees something slower than usual. "Oh, my computer is slow". But in reality they have no idea what it is, that is making it slow. Technology is often more complex than you think at first. And very few people will actually go into the details to find out exactly what is wrong.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |