FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Xubuntu Development

 
 
LinkBack Thread Tools
 
Old 04-25-2012, 09:06 PM
Gustavo R Leal
 
Default 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
 

Thread Tools




All times are GMT. The time now is 06:50 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org