Skip to contentSkip to conversation

Using one buffer object per (EXA) pixmap potentially wastes memory.

DISCUSSION Maarten Maathuis 1 participant 2 messages Mar 12, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

I've been doing some testing and it seems that glyphs (typically smaller than a page size on nv50) render slow'ish sometimes, mostly due to the many trips to the kernel (drm_addmap_core is the symbol that shows up). Ofcource this was a benchmark, but it does leave me wondering, do we really need need to call the kernel for every little pixmap? Also from a memory point of view, because a single page can theoretically contain 32 pixmaps. Is it problematic to combine small allocations into at least a single page?

Maarten.

A message that is not in the archive (sent off-list or not yet received): 6d4bc9fc0903120910w4211c252x8f2d268681bb6e04-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#2 lore raw

Small correction, only 16 pixmaps can be placed inside a single page.