mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GPU Computing (https://www.mersenneforum.org/forumdisplay.php?f=92)
-   -   What happens if... (https://www.mersenneforum.org/showthread.php?t=25945)

storm5510 2020-09-11 15:18

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?

kriesel 2020-09-11 15:39

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.
[URL]https://appuals.com/how-to-increase-a-dedicated-video-ram-vram-on-windows-10/[/URL]
[URL]https://en.wikipedia.org/wiki/Memory_virtualization[/URL]
[URL]https://www.techwalla.com/articles/how-to-increase-virtual-graphic-memory[/URL]

Going in the other direction, using excess gpu ram for a ram drive: [URL]https://www.softpedia.com/get/System/Hard-Disk-Utils/GPU-Ram-Drive.shtml[/URL]

storm5510 2020-09-11 15:57

[QUOTE=kriesel;556734]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.[/QUOTE]

Thank you for the reply. I suspected as much. There would be an allocation error. A program like [I]gpuOwl [/I]would produce incorrect results, if it would run at all. I only asked because I had not seen anyone else here inquire about it.

:smile:


All times are UTC. The time now is 15:17.

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