Skip to contentSkip to conversation

drop_caches ...

DISCUSSION Lukas Hejtmanek 2 participants 2 messages Mar 4, 2009 Memory management

lore
Share & tools
lore
#0 lore raw

Hello,

Quoted 5 lines

So you don't have lots of mapped pages(Mapped=51M) or tmpfs files. It's strange to me that there are so many undroppable cached pages(Cached=359M), and most of them lie out of the LRU queue(Active+Inactive file=53M)...

Anyone have better clues on these 'hidden' pages?

I think he is simply using Intel driver + GEM + UXA = TONS of drm mm objects in tmpfs which is 'hidden' unless you have /proc/filecache to see them.

Signature · 1 line
Lukáš Hejtmánek
#1 lore raw
Quoted 10 lines · Lukas Hejtmanek

Hello,

Quoted 5 lines

So you don't have lots of mapped pages(Mapped=51M) or tmpfs files. It's strange to me that there are so many undroppable cached pages(Cached=359M), and most of them lie out of the LRU queue(Active+Inactive file=53M)...

Anyone have better clues on these 'hidden' pages?

I think he is simply using Intel driver + GEM + UXA = TONS of drm mm objects in tmpfs which is 'hidden' unless you have /proc/filecache to see them.

Ah I was about to ask him to try filecache before you and Zdenek kick in.

I was expecting the shm pages to be accounted in /dev/shm, however the GEM shm pages are allocated from an in-kernel tmpfs mount...

And I noticed in filecache that you are compiling your own /usr/local/drm/lib/libdrm_intel.so.1.0.0, now I know what are you doing ;-)

Good job, Lukas!

Thanks,
Fengguang

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>