Bob Doolittle wrote:
> So this won't "recover memory" in the sense of the Xorg server actually
> shrinking its memory footprint, but it will reuse its memory and
> not grow as much if pixmap caching were less aggressive, right?

Yes, making Firefox not cause the server to allocate as much memory
would help there.

> Do you have any clever suggestions for tuning that could help reduce the
> overall system impact of the X server?

Not really.    We've kicked around other ideas before, such as using
libumem's slab allocator for the common fixed-size data structures
(GC's, the non-image-data portions of the pixmap structure, etc.), or
mmap()ing pages in (probably large ones) for each client, and keeping
all client specific resources on those, so that you could more easily
reclaim memory when a client exits without it being fragmented all over
the server, but those involve significant development effort, and we've
never gotten around to trying them out.

-- 
        -Alan Coopersmith-           alan.coopersmith at sun.com
         Sun Microsystems, Inc. - X Window System Engineering


Reply via email to