Max ram usage stuck at 1.3gig limit, uses swap instead?
I have a lenovo t400 with 4gigs of ram (3.8gigs usable) on debian squeeze x64.
When I run multiple applications, according to gnome system monitor, the max ram usage is 1.3gigs...the rest is paged (becomes really slow). I remember setting a swap setting to 0 so it doesn't swap at all. Is there any other settings I could check? |
Quote:
Play Bonny! :hattip: |
This is quite unusual. I think that either the tool is misrepresenting the data or you are just misunderstanding it. Can you post screenshots of the tool and maybe post output of 'top' command executed in a Terminal?
|
Have you checked the BIOS to ensure that all 4GB is recognized by the system?
|
You need to be sure that everything is truly compatible. That your BIOS is up-to-date, that you are using a 64-bit Linux implementation, and that you have configured that Linux for "big memory" support. Using cat /proc/meminfo will tell you a lot about how Linux "sees" the memory configuration right now.
What you do know for sure at this point is that, if it's starting to consume swap, it doesn't think that it can "reach" any more than the current amount of RAM. |
Quote:
Post some output from tools that measure memory usage (such as free). Quote:
Quote:
Also, it may swap out during a moment of higher memory use, then free some ram. It doesn't (and shouldn't) release the swap usage just because some more ram is free. Quote:
|
Quote:
My :twocents: Play Bonny! :hattip: |
Quote:
Default settings are based on the assumption that it is twice as expensive to write/reread anonymous data to/from swap as to discard/reread read-only data from its original file. So it is biased in favor of discard/reread paging over use of swap. But that is a limited bias. If the anonymous data is much more stale than the read-only data it will use swap. If you shift that bias (by changing the parameter or by configuring no swap space) you increase the paging of read only data by more than the amount you decrease swap space paging and typically make the system slower. What kind of storage does the netbook have? For ordinary hard drives the assumption that write/reread is twice the cost of discard/reread is generally valid. But for other storage media, write/reread may be much more than twice the cost of discard/reread, so it may be correct to reduce the "swappiness" or even disable swapping entirely. |
All times are GMT -5. The time now is 08:42 AM. |