Fixing devPrivates
Keith Packard
keithp at keithp.com
Sat May 1 01:58:54 PDT 2010
On Thu, 29 Apr 2010 17:34:47 +0300, Tiago Vignatti <tiago.vignatti at nokia.com> wrote:
> I started one standalone Xorg and here are the results:
>
> - with current devPrivates: 5008 kB
> - with new proposed devPrivates: 5032 kB
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.
I think this patch sequence is ready for review now; it is still to be
found at:
git://people.freedesktop.org/~keithp/xserver.git fix-private-usage
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100501/cc6b3979/attachment.pgp>
More information about the xorg-devel
mailing list