Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 10-16-2007, 05:50 PM   #1
LQ Newbie
Registered: Nov 2005
Location: Israel, Kfar Sirkin
Distribution: Fedora,Debian,Ubuntu
Posts: 12

Rep: Reputation: 0
Question instructing the vm not to cache important apps to improve responsiveness

I've been reading and trying (successfully) a blog/thread about the way vm is handling the cache/buffers and how to control it from the user's perspective in :

so now i'm using these parameters:
vm.vfs_cache_pressure = 50
vm.swappiness = 1

which is nice, but i'm looking for some more ui responsiveness.

now, i was wondering if the vm/kernel can be instructed to leave some applications out of the cache queue or just have them back at the end so kwin (kde's window manager) and kicker (application launcher and menu) could always be in RAM and thous be responsive to user's actions (clicks...) as far as possible.

is it possible ?
Old 10-16-2007, 06:56 PM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 13,114

Rep: Reputation: 1258Reputation: 1258Reputation: 1258Reputation: 1258Reputation: 1258Reputation: 1258Reputation: 1258Reputation: 1258Reputation: 1258
Not really. The application can indicate what its likely (re-)use of disk data is going to be, but I gather it's rarely used.
CFS has shipped in 2.6.23, and is (at least partly) designed to help desktop users (perceived ??) responsiveness.

I haven't done any testing.

As a side note updatedb is an absolute pig in regard to inode/dentry cache pollution. With Fedora you probably have a cron entry to run it every day - I run it when I feel it's necessary.
Old 10-17-2007, 02:36 AM   #3
LQ Newbie
Registered: Nov 2005
Location: Israel, Kfar Sirkin
Distribution: Fedora,Debian,Ubuntu
Posts: 12

Original Poster
Rep: Reputation: 0
Thumbs up thanks :-)

thank you for the info :-)

i use both fedora and debian distros and you are right about the cron issue. but i use fedora on servers so it does not matter much.


kde, kernel, performance, tweak, vm

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: The Most Important Open-Source Apps of All Time LXer Syndicated Linux News 0 04-28-2007 08:31 AM
LXer: Cache in with JSON to Ajaxianize your web apps LXer Syndicated Linux News 0 10-18-2006 06:21 AM
How to improve the theme under GIMP, Firefox and similar apps under Slackware 10.1? Basel Slackware 2 06-14-2005 09:16 AM
Instructing yum for security updates?? ashwin_cse Fedora 1 03-20-2005 11:51 AM
Kernel tweaks/patches to improve responsiveness? sb73542 Linux - General 3 08-26-2003 02:47 PM

All times are GMT -5. The time now is 12:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration