On Sat, 2010-05-01 at 01:58 -0700, Keith Packard wrote:

> I promised to get some actual numbers. I did before/after comparisons
> with three different X server states:
> 
>  1) X server at the root weave
>  2) Gnome session started
>  3) Gnome session running with iceweasel showing lwn.net's home page
> 
> With the old implementation:
> 
>          bytes:   blocks:
> Startup: 10516    33 
> Gnome:   178776   582
> lwn.net: 377492   1131
> 
> And with the new implementation:
> 
>          bytes:  blocks:
> Startup: 1220    35
> Gnome:   20992   754
> lwn.net: 31312   1529
> 
> So, I'm getting somewhere around a 90% raw space savings. It's better
> than that though -- each of the blocks in the old implementation
> represents at least one additional allocated block of memory, any
> pre-requested private storage would be another allocated block of
> memory. With the new implementation, there are precisely 2 additional
> allocations. That's all.

To be clear: "blocks" here are "devPrivates hanging off some object" and
"bytes" are "number of bytes in those blocks" ?

- ajax

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to