Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Xubuntu Development (http://www.linux-archive.org/xubuntu-development/)
-   -   Excessive swapping with 1GB of memory - UBUNTU 12.04 daily build (http://www.linux-archive.org/xubuntu-development/659668-excessive-swapping-1gb-memory-ubuntu-12-04-daily-build.html)

Gustavo R Leal 04-25-2012 09:06 PM

Excessive swapping with 1GB of memory - UBUNTU 12.04 daily build
 
>That makes the dirty_ratio even higher than when on battery.* The*
>purpose of tuning these is to allow a laptop on battery to be more
>aggressive about keeping dirty pages in the cache and letting the disk
>stay asleep.* Normally you want dirty pages to be flushed to disk fairly
>quickly.

>I'm curious if the normal value of 5 for background ratio but just
>increasing dirty_ratio to 20 or 25 would have a similar effect on your
>performance trouble without going to an
excess.

>Also if anything, increasing dirty_ratio should make swapping worse, not
>better, since more ram will be tied up in dirty cache pages.* Are you
>sure you have a problem with swapping and not just applications blocking
>while writing data to disk?

You're right. I was playing with*vfs_cache_pressure too and forgot to return it to default value of 100. That's what probably did the trick.Anyway changing vfs_cache_pressure to 700 made 12.04 stop trashing with just a few large applications open (Ubuntu Software Center apears to be very resource intensive).
*

--
xubuntu-devel mailing list
xubuntu-devel@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/xubuntu-devel


All times are GMT. The time now is 02:48 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.