[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: KDE 3.1.1 Fast as root but slow as User



On Tuesday 08 April 2003 03:42 pm, Hendrik Sattler wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Am Dienstag, 8. April 2003 23:08 schrieb Patrick Dreker:
> > The X memory usage includes AGP mem. So if your card has 32 meg of RAM
> > you have to subtract this first. My X reports 290 megs used, but I have
> > 128 megs of that on my graphics board.
>
> 290-128=?
> That's too much ;)
> I'm pretty sure that X does not use that much.

X memory usage is evil black magic to figure out.
It also includes AGP mapped memory, pixmaps and stuff that programs have open 
get charged to X and damned if I know how much other stuff it has. At one 
point I had X showing it was using 1G of ram on a system with 256MB with no 
swap usage at all. The card had 64MB and I had left the bios at default for 
AGP size.

On this machine right now X shows it is using 140M. However 64MB is one card, 
4 MB is in another, who knows how much is in AGP memory space. Overall what 
it comes down to is that X does not use very much memory however the way it 
accounts memory causes people to think that it does. Also the more graphics 
you have on the screen the more memory X will take up with all of those 
images while the programs will not get charged with that. Try running twm in 
a default config and then kde and see the difference in X memory usage 
accounting.



Reply to: