LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 10-16-2007, 05:50 PM   #1
nadavkav
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 : http://rudd-o.com/archives/2007/10/0...w-to-fix-that/

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
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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
nadavkav
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.
 
  


Reply

Tags
kde, kernel, performance, tweak, vm



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 08:49 AM.

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