mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Closed Thread
 
Thread Tools
Old 2020-09-11, 15:18   #1
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
U.S.A.

5×311 Posts
Default What happens if...

A straightforward question: My GPU has 8GB of VRAM. What happens if a GPU application attempts to exceed the capacity? Does said application (a) freeze the system, or (b) reach into the main system RAM to get what it needs, or (c) produce another negative result?
storm5510 is offline  
Old 2020-09-11, 15:39   #2
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

4,457 Posts
Default

Depends on the application and other details. Failure to allocate the requested gpu ram with a fatal error resulting is a common occurrence. Spilling to system ram or even paging file may occur, with a severe reduction in memory bandwidth and throughput (PCIe traffic is much slower than gpu ram) giving the appearance of a hung gpu application. If the app fails to detect that memory requested was not allocated, and proceeds anyway, garbage output seems likely.

Also depends on OS and how well and how much it virtualizes the gpu, whether it's been tweaked, etc.
https://appuals.com/how-to-increase-...on-windows-10/
https://en.wikipedia.org/wiki/Memory_virtualization
https://www.techwalla.com/articles/h...graphic-memory

Going in the other direction, using excess gpu ram for a ram drive: https://www.softpedia.com/get/System...am-Drive.shtml

Last fiddled with by kriesel on 2020-09-11 at 16:13
kriesel is offline  
Old 2020-09-11, 15:57   #3
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
U.S.A.

155510 Posts
Default

Quote:
Originally Posted by kriesel View Post
Depends on the application and other details. Failure to allocate the requested gpu ram with a fatal error resulting is a common occurrence. Spilling to system ram or even paging file may occur, with a severe reduction in memory bandwidth and throughput (PCIe traffic is much slower than gpu ram) giving the appearance of a hung gpu application. If the app fails to detect that memory requested was not allocated, and proceeds anyway, garbage output seems likely.
Thank you for the reply. I suspected as much. There would be an allocation error. A program like gpuOwl would produce incorrect results, if it would run at all. I only asked because I had not seen anyone else here inquire about it.

storm5510 is offline  
Closed Thread

Thread Tools


All times are UTC. The time now is 07:42.

Thu Oct 1 07:42:03 UTC 2020 up 21 days, 4:53, 0 users, load averages: 1.96, 1.97, 1.75

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.