lkml.org 
[lkml]   [2004]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: mlock(1)
Lee Revell wrote:
> Is this really a good idea? I suspect it would be abused. For example,
> people would mlock mozilla or openoffice to keep it from being paged out
> overnight when updatedb runs, where the real solution is to fix the
> problem with the VM that causes updatedb to force other apps to swap
> out.

Use /proc/swappiness for this

It definitely helped for me. I set it really low, around '10' or so.

Jeff


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [from the cache]
©2003-2011 Jasper Spaans