← 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)

 

Hello,
This is what I've tried:
vasia@vasia-laptop:~$ uname -a
Linux vasia-laptop 2.6.32-21-generic-pae #32-Ubuntu SMP Fri Apr 16 09:39:35 UTC 2010 i686 GNU/Linux
vasia@vasia-laptop:~$ cat /sys/kernel/debug/dri/0/gem_objects
1071 objects
61136896 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:~$ lspci | grep VGA
01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200M]
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
61599744 object bytes Xorg 41696 28328
61521920 object bytes Xorg 41696 28364
61472768 object bytes Xorg 41696 28364
61661184 object bytes Xorg 41696 28364
61870080 object bytes Xorg 41696 28364
62435328 object bytes Xorg 41696 28364
62341120 object bytes Xorg 41696 28376
62935040 object bytes Xorg 41696 28376
62844928 object bytes Xorg 41696 28388
63094784 object bytes Xorg 41696 28404
vasia@vasia-laptop:~$ cat /sys/kernel/debug/dri/0/gem_objects
1219 objects
63545344 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:~$ cat /sys/kernel/debug/dri/0/gem_objects1169 objects
63094784 object bytes
0 pinned
0 pin bytes
0 gtt bytes
0 gtt total
vasia@vasia-laptop:~$ #!!!!!!!!!!!after 2 hours
vasia@vasia-laptop:~$ cat /sys/kernel/debug/dri/0/gem_objects
1243 objects
63492096 object bytes
0 pinned
0 pin bytes
0 gtt bytes
0 gtt total
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
63918080 object bytes Xorg 42532 15848
64094208 object bytes Xorg 42532 15892
64184320 object bytes Xorg 42532 15964
64446464 object bytes Xorg 42532 15532
64839680 object bytes Xorg 42532 15624
64831488 object bytes Xorg 42532 15616
65155072 object bytes Xorg 42532 15640
65298432 object bytes Xorg 42532 15568
65437696 object bytes Xorg 42532 15500
65826816 object bytes Xorg 42532 15068


I have 1GB of RAM but use only 880 MB! No Compiz is running!
Just after starting Ubuntu I had more than 600MB used. Opened Firefox and Terminal and tried the above commands.

Cone out and after 2 hours came back and my system was EXTREMELY slow.
Done the next commands that you see above.
An other thing, it's possible to have the same kernel installed 2 times?
Here is what I have:
Setting up grub-pc (1.98-1ubuntu6) ...
Installation finished. No error reported.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-21-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-21-generic-pae
Found linux image: /boot/vmlinuz-2.6.31-21-generic-pae
Found initrd image: /boot/initrd.img-2.6.31-21-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
Found Microsoft Windows XP Professional on /dev/sda1
done

I've installed the generic kernel but "pae" is appearing 2 times!
In Swap I have 400MB and 800MB from RAM used...
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.



References