[Bug 31412] radeon memory leak

2011-03-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=31412





--- Comment #5 from Dave Airlie airl...@linux.ie  2011-03-19 07:16:26 ---
how about cat /sys/kernel/debug/dri/0/ttm_page_pool

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 31412] radeon memory leak

2011-03-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=31412





--- Comment #6 from Dave Airlie airl...@linux.ie  2011-03-19 07:17:08 ---
how about cat /sys/kernel/debug/dri/0/ttm_page_pool 

and /sys/class/drm/ttm/memory_accounting/*/*

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 31412] radeon memory leak

2011-03-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=31412





--- Comment #7 from Kevin kjs...@gmail.com  2011-03-19 09:15:54 ---
Created an attachment (id=51232)
 -- (https://bugzilla.kernel.org/attachment.cgi?id=51232)
debug info

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 31412] radeon memory leak

2011-03-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=31412





--- Comment #8 from Kevin kjs...@gmail.com  2011-03-19 09:17:19 ---
The attached debug info above is output after logging out of X (I still had
about ~30MB from root processes). It includes what Dave asked for. FYI, I
haven't rebooted since my last post.

$ free -m
 total   used   free sharedbuffers cached
Mem:  5920   4279   1641  0212   2547
-/+ buffers/cache:   1519   4401
Swap: 7998  0   7998

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 31412] radeon memory leak

2011-03-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=31412





--- Comment #9 from Dave Airlie airl...@linux.ie  2011-03-19 22:07:30 ---
I'm having trouble reconciling this with the graphics driver.

a) you claim it happens with fglrx as well, there is nothing shared between
them
(so it can't be a common gpu bug)

b) nothing is leaking according to that debug info in anywhere obvious.

One last test would be unload the gpu stack to see what happens

got to runlevel 3 or anywhere X isn't rnunig
echo 0  /sys/class/vtconsole/vtcon1/bind
rmmod radeon ttm drm_kms_helper drm

see if memory is still gone.

maybe you can watch /proc/slabinfo to see where the memory might be going. It
might also just be page cache from the pdf loading,

does echo 3  /proc/sys/vm/drop_caches help?

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel