Can I use all my RAM for application data?

Posted by gsedej on Ask Ubuntu See other posts from Ask Ubuntu or by gsedej
Published on 2011-02-13T19:17:28Z Indexed on 2011/02/13 23:33 UTC
Read the original article Hit count: 322

Filed under:
|
|
|

Hi!

I have yet another question about "where is my Linux memory"

Question goes: can I use cache for application data?

On my laptop I have 1GB ram. Situation after some time of work: browser takes 400MB and all other apps caa 300MB (quickly summed in system monitor). System monitor says I use 90% of RAM and I have already 200MB on swap. Laptop is getting slower when I start new things (e.g. open new tab in browser or open new Nautilus window). probably putting memory on swap

So there should be 1200MB (ram+swap) used but all app I see uses only 600MB. Where are other 600MB? Out of this 600MB there is 400MB real RAM.

I am not copying or any other massive IO activity.

I read about Linux smartly uses all ram it has using buffers and cache. So, kernel (cache) uses 300MB. What if I don't want to have disk mirrored and I want to use memory for application data (e.g. new browser tab)? I don't need 200MB of mirrored disk data, because I (for example) won't use open the same photos on data partition I just seen.

So can I use all my RAM for application data? (including browser, desktop, xorg, other services). How?

© Ask Ubuntu or respective owner

Related posts about cache

Related posts about system-monitor