Xorg memory usage
Mitch Thompson
mitchthompson at satx.rr.com
Tue Jul 25 02:54:18 UTC 2006
Claudio Miranda wrote:
> I installed KUbuntu (6.06), and I am seeing very high memory consumption by
> Xorg process, see (excerpt from 'top' command)
>
> Tasks: 96 total, 2 running, 94 sleeping, 0 stopped, 0 zombie
> Cpu0 : 14.3% us, 0.0% sy, 0.0% ni, 85.7% id, 0.0% wa, 0.0% hi, 0.0% si
> Cpu1 : 0.0% us, 7.1% sy, 0.0% ni, 92.9% id, 0.0% wa, 0.0% hi, 0.0% si
> Mem: 1544688k total, 1159064k used, 385624k free, 30836k buffers
> Swap: 1630588k total, 0k used, 1630588k free, 544784k cached
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 4769 root 15 0 493m 230m 11m S 4 15.3 2:50.84 /usr/bin/X -br
> -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-Xn0F0u
>
> 230 MB (res) is very high. So, is it normal ? How can I track down why X is
> consuming that.
>
> Tasks: 93 total, 1 running, 92 sleeping, 0 stopped, 0 zombie
> Cpu0 : 0.0% us, 0.3% sy, 0.0% ni, 99.7% id, 0.0% wa, 0.0% hi, 0.0% si
> Cpu1 : 0.3% us, 0.0% sy, 0.0% ni, 99.7% id, 0.0% wa, 0.0% hi, 0.0% si
> Mem: 1544672k total, 904120k used, 640552k free, 18496k buffers
> Swap: 1630588k total, 0k used, 1630588k free, 284036k cached
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 4751 root 15 0 572m 309m 7788 S 0 20.5 4:25.58 /usr/bin/X -br
> -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-fSNeRq
>
> That one (above) was taken some minutes before sent this message. See the
> 309 MB memory usage.
>
> Last friday, I was using wink (debugmode.com) to edit a screened movie, then
> the Xorg memory usage grows until 1,1 GB, that was unusable, I needed to restart
> the machine.
>
>
> my system: toshiba laptop S4014, 1,5 GB RAM, Intel 945 video board (shared
> memory) using i810 Xorg driver.
>
> TIA
>
> Claudio Miranda
>
>
Here:
top - 21:46:23 up 23:19, 1 user, load average: 1.73, 1.65, 1.30
Tasks: 147 total, 1 running, 146 sleeping, 0 stopped, 0 zombie
Cpu(s): 54.1% us, 10.6% sy, 0.0% ni, 32.9% id, 0.0% wa, 0.0% hi, 2.4% si
Mem: 2060140k total, 2041892k used, 18248k free, 115000k buffers
Swap: 1951856k total, 7748k used, 1944108k free, 1055148k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5855 root 16 0 262m 175m 6028 S 32.2 8.7 81:20.34 Xorg
Have you found anything on Google (it's your friend!(tm))? Here's an
example:
http://ubuntuforums.org/archive/index.php/t-75620.html
Somewhat less than yours, but then, I would imagine that several factors
need to be accounted for. More information is probably required, like
your /etc/X11/xorg.conf, etc.
--
"Good people do not need laws to tell them to act responsibility,
while bad people will find a way around the laws." --Plato
--
Mitch Thompson, San Antonio, Texas//WB5UZG
Red Hat Certified Engineer
More information about the kubuntu-users
mailing list