Forum

Author Topic: GPU Ram usage on multiple GPU's  (Read 617 times)

jhead

  • Newbie
  • *
  • Posts: 7
    • View Profile
GPU Ram usage on multiple GPU's
« on: April 11, 2025, 06:44:31 AM »
I was recently shown a code block from Alexeys that estimates how much RAM texturing a block model will consume:

Code: [Select]
K = 3 #surface complexity and atlas filling coefficient
K_ghost = 60 #60 - with ghosting filter, 36 - without ghosting filter
texture_size = 16384 #pixels
block_size = 25 #meters
resolution = 0.00075 #m/pix resolution
N_pages = int((block_size / resolution / texture_size) ** 2 * K) + 1
req_memory = texture_size ** 2 * K_ghost * N_pages
print(N_pages, "texture pages, ", req_memory / 1024 ** 3, "GB")

I was wondering how the RAW allocation works with multiple GPUs? Will the texturing be split across the multiple units or should I be aiming for a single GPU to optimise performance?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15420
    • View Profile
Re: GPU Ram usage on multiple GPU's
« Reply #1 on: April 11, 2025, 03:31:38 PM »
Hello jhead,

This estimation is for RAM usage only, when VRAM is not enough to build the texture for the block.

Also complexity coefficient - K, should be adjusted manually depending on the actual project.
Best regards,
Alexey Pasumansky,
Agisoft LLC