GTX-1080ti Shows 9 GB Memory Available
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
When I run gpuDevice on my GTX-1080ti (with 11GB total memory), it gives the following results. Does anyone know why it shows only 9.0 GB available (allowing for the byte-to-GB conversion of 1,073,741,824)? This is 2 GB less than the Total Memory.
Update1: I wrote some Matlab code using "gpuArray" and filled it with int64's until the program crashed from "out of memory", and yeah, I can only get up to just over 9 GB before it crashes. Here's my output:
Device GeForce GTX 1080 Ti has Total Installed Memory 11.00 GB
Device GeForce GTX 1080 Ti has Available Memory 9.03 GB
Array has 34809 x 34809 8-byte (int64) elements
Array consumes: 9.028 GB
Device GeForce GTX 1080 Ti has Available Memory 0.4031 MB after array fills GPU
Total GPU Memory minus Array Memory = 1.97 GB
Update2: When I go into Visual Studio and run "cudaMemGetInfo" on the GPU to get total, free, and used, the results right after I've filled the memory using gpuArray above show 10.7452 GB used (total - free), 0.254 GB free, and total 11GB. And at the same time Windows 10 Task Manager is showing 9.6 GB out of 11 GB is dedicated/used.
So I'm guessing the "available/free" numbers don't account for other apps using or requesting memory? Though why isn't Task Manager showing 10.7 GB used instead of 9.6 GB? Confusing...
Thanks
Name: 'GeForce GTX 1080 Ti'
Index: 1
ComputeCapability: '6.1'
SupportsDouble: 1
DriverVersion: 9.1000
ToolkitVersion: 8
MaxThreadsPerBlock: 1024
MaxShmemPerBlock: 49152
MaxThreadBlockSize: [1024 1024 64]
MaxGridSize: [2.1475e+09 65535 65535]
SIMDWidth: 32
TotalMemory: 1.1811e+10
AvailableMemory: 9.6938e+09
MultiprocessorCount: 28
ClockRateKHz: 1657500
ComputeMode: 'Default'
GPUOverlapsTransfers: 1
KernelExecutionTimeout: 1
CanMapHostMemory: 1
DeviceSupported: 1
DeviceSelected: 1
4 comentarios
Respuestas (3)
Joss Knight
el 8 de Sept. de 2018
I answered this question to the best of my ability when it was first asked in this question by Pavel Sinha.
He indicates that this is a generally known issue. As far as I can tell, this is just the way the driver behaves with this card, it has nothing to do with MATLAB or any other particular CUDA application. I am still waiting for a response from NVIDIA on what is going on here.
2 comentarios
Matt J
el 8 de Sept. de 2018
I'll be very interested to know, too. I just recently ordered a 1080 Ti.
Joss Knight
el 12 de Sept. de 2018
NVIDIA have responded to confirm that this is expected behaviour. In summary:
- WDDM2 releases 90% of available memory to CUDA.
- A single application is only allowed to allocate 90% of that 90%, i.e. 81% of total memory.
- NVIDIA are working with Microsoft to tighten this bound, and/or remove it on non-display cards.
0 comentarios
Ver también
Categorías
Más información sobre Get Started with GPU Coder en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!