You are not logged in.

#26 2009-02-12 11:30:51

panosk
Member
From: Athens, Greece
Registered: 2008-10-29
Posts: 241

Re: Xserver uses up to 250 MB memory

As you can see in my previous post, my x-server also uses rather high amounts of memory on my lap with intel graphics card. However, on my desktop with an nvidia card, x-sever uses less than 80-100 MB at any given time. Configuration of KDE is almost identical. Maybe it is related to intel driver? Don't really know.

Edit: Just a thought: maybe X manages memory differenlty depending on the graphics card and/or other factors - maybe total amount of memory too? That would explain why there is lower consumption in the machine with less memory. Anyway, I wouldn't worry too much if everything runs smoothly and there is no swap usage, but very rarely KDE on my lap complains that can't run with desktop effects and disables them (my lap now has 4 gigs of RAM, so memory is not an issue).

Last edited by panosk (2009-02-12 11:39:06)

Offline

#27 2009-02-13 23:44:33

pano
Member
From: Stuttgart, Germany
Registered: 2008-09-08
Posts: 118

Re: Xserver uses up to 250 MB memory

today I installed mandriva 2009.0 i586 on my laptop for testing purposes.
The thing I noticed:
The X-Server didn't go beyond 100 MB, although I extensively played around with the compositing effects of KWin.

Mandriva 2009.0 uses X-Server in version 1.4.2 and KDE 4.1.2.

Offline

#28 2009-02-14 01:01:55

Rehto
Member
From: Finland
Registered: 2007-04-06
Posts: 41

Re: Xserver uses up to 250 MB memory

pano wrote:

Do you want to hear a really weird thing?
I installed Mandriva 2009.0 with KDE 4.2 on my brothers notebook (intel x3100 integrated graphics chip, 512MB RAM) and the funny thing is:

Although he has less RAM than my notebook and a weaker CPU (I have a pentium dual core, and he has a single core Celeron) his X server *never* uses more than 100 MB. He also has the compositing effects enabled, that also run *much* faster/smoother than they do on my arch linux.
All in all his KDE runs much smoother.

I really don't understand why...

That is truly interesting. I think I'll install MDV 2009.1 beta KDE4 flavor later tonite smile ...

P.S. My X session uses 314 mb of RAM atm

Last edited by Rehto (2009-02-14 01:09:07)

Offline

#29 2009-02-14 16:05:16

pano
Member
From: Stuttgart, Germany
Registered: 2008-09-08
Posts: 118

Re: Xserver uses up to 250 MB memory

I installed the xf86-video-intel-newest driver from the AUR (including a new version of libdrm), to see if updating the driver would change something with my situation.

Things I noticed:

glxgears now has an average rate of 550 fps instead of the 140 with the intel driver in [extra] (I know that glxgears is not a "real" good indicator for performance, but still these numbers are impressive to me)

Despite those numbers, the KWin compositing effects still aren't "smooth", especially the fade out effect, is really slow.

After 30 mins uptime, my X also now uses 160 MB RAM, which is about the same like before.


Does anyone know, where I can find X-Server 1.4.2 packages for i686?
I would like to test the behaviour with this version...

Offline

#30 2009-02-24 17:18:05

pano
Member
From: Stuttgart, Germany
Registered: 2008-09-08
Posts: 118

Re: Xserver uses up to 250 MB memory

can a moderator please move this thread to the Kernel & Hardware Issues subboard?

thanks

btw:
you can find the "old" xorg-server and intel driver in this topic:
http://bbs.archlinux.org/viewtopic.php?id=66057

Offline

#31 2009-08-12 22:24:46

savagenator
Member
Registered: 2008-03-19
Posts: 21

Re: Xserver uses up to 250 MB memory

I am also getting a large ram usage.

root      3585  2.5  6.8 292880 211652 tty7    Ss+  09:58   8:08 /usr/bin/X -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-XmmXX4

I am using nvidia 185.18.31 driver. Maybe nouveau driver?

free -m:
                    total       used       free     shared    buffers     cached
Mem:          3016       2522        494          0        777        964
-/+ buffers/cache:        779       2236
Swap:          976          0        976

Offline

#32 2009-08-13 01:25:50

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: Xserver uses up to 250 MB memory

maybe this is your config?

with nvidia 190.18, kdemod 4.3/compositing, firefox + amarok:
root      1415  1.2  3.0  73312 62256 tty7     Ss+  13:51   3:17 /usr/bin/X -br -novtswitch -quiet -nolisten tcp :0 vt7 -auth /var/run/xauth
free -m
                  total       used       free     shared    buffers     cached
Mem:          2025       1020       1004          0          1        688
-/+ buffers/cache:        331       1693
Swap:         4000          0       4000

Last edited by broch (2009-08-13 04:57:24)

Offline

#33 2009-08-13 18:43:00

kaszak696
Member
Registered: 2009-05-26
Posts: 543

Re: Xserver uses up to 250 MB memory

Hi there, my first post smile
Today I noticed that my X has the same issue - eating RAM like crazy - now it's around 500MB. It never crossed the magical 100MB border before. I think it's because KDE 4.3 upgrade (KDEMod => KDE extra). I'm using the xorg-server-catalyst-maximize-fix 1.6.3 from AUR (could it be because of this?) and obviously catalyst 9.7 (HD4850) smile and other serious bloatware like Firefox. It's not a big deal, but it's annoying for sure.

Commands:

kaszak ~ $  free -m
             total       used       free     shared    buffers     cached
Mem:          2009       1781        227          0        269        511
-/+ buffers/cache:       1000       1008
Swap:         1502         69       1433
kaszak ~ $  ps aux | grep /usr/bin/X
root      3988  4.1 26.1 696196 537192 tty7    Ss+  07:03  33:50 /usr/bin/X -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-8ooLrd
kaszak   21082  0.0  0.0   8140   980 pts/1    S+   20:40   0:00 grep /usr/bin/X

Sorry for my poor English.


'What can be asserted without evidence can also be dismissed without evidence.' - Christopher Hitchens
'There's no such thing as addiction, there's only things that you enjoy doing more than life.' - Doug Stanhope
GitHub Junkyard

Offline

#34 2009-09-20 22:01:09

savagenator
Member
Registered: 2008-03-19
Posts: 21

Re: Xserver uses up to 250 MB memory

just to beat everyone at this "competition"

root      2199  4.0 24.5 970832 757360 tty7    Ss+  07:52  17:14 /usr/bin/X -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-382zkk

Over 750mb of ram used JUST by X. THis is after an uptime of 7 hours, kde 4.3 from extra, 2 openoffice windows open, 3 very very large (500-1000 page with graphics) pdf's, and bespin on. Absolutely ridiculous. Anyone got a fix?

EDIT: forgot to mention that the pdf's are only taking up 45mb of ram. They just read off the disk when i go through pages.

Last edited by savagenator (2009-09-20 22:02:00)

Offline

#35 2009-10-02 07:38:35

frnc
Member
Registered: 2009-07-10
Posts: 9

Re: Xserver uses up to 250 MB memory

The same is happening here. I have KDE 4.3.1 and nvidia driver on a x86_64 installation, regularly updated. As I often like to give a look at the system monitor tool to watch resource use with different applications, I am quite sure this thing came up lately. I would swear nothing of the like happened until last couple of weeks or so. I noticed the problem shows up very clearly when you use okular to view pdf files.
That's what I have now: before opening okular X was using some 50 megs (which is quite a lot anyway compared to what used to be previously), after opening two middle sized pdf files (8 megs the bigger one) X has swallowed 708 megs up. Ugly.
Must check if someone has filed this as a bug at kde bugs facility.

Edit: yeah, the bug is already reported: https://bugs.kde.org/show_bug.cgi?id=177213

Last edited by frnc (2009-10-02 07:46:54)

Offline

Board footer

Powered by FluxBB