← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 569711] Re: The system is very slow. The memory is not freed after closing a program. (-pae)

 

I've managed to install the generic kernel and here are the same steps like above:
vasia@vasia-laptop:~$ uname -a
Linux vasia-laptop 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux
vasia@vasia-laptop:~$ cat /sys/kernel/debug/dri/0/gem_objects
1144 objects
61763584 object bytes
0 pinned
0 pin bytes
0 gtt bytes
0 gtt total
vasia@vasia-laptop:~$ glxinfo | grep "GLX version"
GLX version: 1.2
vasia@vasia-laptop:~$ pid=`pidof X` ; for t in `seq 1 10`; do eog /usr/share/backgrounds ; echo `grep "object bytes" /sys/kernel/debug/dri/0/gem_objects` `ps ocomm,vsz,rss $pid |grep X`; done
62128128 object bytes Xorg 43996 32204
62402560 object bytes Xorg 43996 32204
62562304 object bytes Xorg 43996 32204
63094784 object bytes Xorg 43996 32204
63336448 object bytes Xorg 43996 32204
63262720 object bytes Xorg 43996 32204
63840256 object bytes Xorg 43996 32204
64065536 object bytes Xorg 43996 32204
64303104 object bytes Xorg 43996 32204
64544768 object bytes Xorg 43996 32204
vasia@vasia-laptop:~$ cat /sys/kernel/debug/dri/0/gem_objects
1322 objects
64417792 object bytes
0 pinned
0 pin bytes
0 gtt bytes
0 gtt total
vasia@vasia-laptop:~$ sync
vasia@vasia-laptop:~$ sudo sh -c "echo 3 > /proc/sys/vm/drop_caches"
[sudo] password for vasia: 
vasia@vasia-laptop:~$ #here the memory cache was released. I have on panel the System Monitor
vasia@vasia-laptop:~$ cat /sys/kernel/debug/dri/0/gem_objects1169 
cat: /sys/kernel/debug/dri/0/gem_objects1169: No such file or directory
vasia@vasia-laptop:~$ cat /sys/kernel/debug/dri/0/gem_objects
1300 objects
64008192 object bytes
0 pinned
0 pin bytes
0 gtt bytes
0 gtt total

For now it's seems that the memory is OK.
I will make the same steps after 1 hour!

By the way, what is the POLKITD PID? It's has the highest CPU usage and some time also memory usage!
Thanks!

-- 
The system is very slow. The memory is not freed after closing a program. (-pae)
https://bugs.launchpad.net/bugs/569711
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-ati in ubuntu.



Follow ups

References