| ▲ | Ask HN: How much memory is useable by GPU in MacBook? | |
| 3 points by mzubairtahir 11 hours ago | 2 comments | ||
how much memory is actually useable by gpu in macbook? as it is shared(os and apps also have to use same memory)? and it is different than dedicated gpu memory. | ||
| ▲ | StizzurpXDD 11 hours ago | parent | next [-] | |
If your MacBook has 36GB of memory or less, then the GPU can utilize 66% or 2/3rds of your total memory. If, however, your MacBook has 36GB or more memory, then it can utilize 75% or 3/4ths of your total memory. This is just a software limit, so when I want to run AI models on my MacBook, I just increase the allocation using Terminal. Dedicated GPU memory is fixed. It can't be altered at all and cannot be used for other tasks either. For example, in MacBooks, if the GPU is idle, the CPU can utilize almost 100% of the total memory because they share a common memory pool, but in a dedicated GPU setup, if the GPU is idle, then the fixed VRAM memory (8GB, 12GB, 16GB, etc.) cannot be utilized by any other component of the PC. Also, in a dedicated GPU setup, the system RAM and VRAM are physically separated. If a CPU loads a large dataset, it has to copy it across the motherboard to the GPU. Because MacBooks have a shared memory pool for both the CPU and the GPU, no copying is required, which makes dataset handoffs much faster than in a dedicated GPU setup. | ||
| ▲ | JSR_FDED 9 hours ago | parent | prev [-] | |
You can override the standard allocation with: sudo sysctl iogpu.wired_limit_mb=… | ||