LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-06-2010, 07:44 PM   #1
Minseok Choi
LQ Newbie
 
Registered: Jul 2010
Posts: 1

Rep: Reputation: 0
How to restrict the swapping?


Hi,

How to restrict the swapping kernel memory and user process memory?
Memory locking like mlockall()? Disable swapping feature in linux kernel?
My system runs 64-bit CentOS under 6GB RAM.

Thank you
 
Old 07-06-2010, 07:54 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Show us some evidence of your (perceived) problem, and the adverse effects you see.
Your post is too brief, confused and confusing.
 
Old 07-06-2010, 07:58 PM   #3
johnshen64
LQ Newbie
 
Registered: Jun 2010
Posts: 29

Rep: Reputation: 5
echo 5 > /proc/sys/vm/swappiness

to persist it, you can use sysctl.conf
 
  


Reply



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
How do I know if my system is swapping JBR66 Linux - General 2 07-25-2006 10:24 AM
Swapping from FC3 gibbylinks Ubuntu 6 05-18-2005 11:39 AM
HOW TO -Swapping HD-0 to HD-1 ? penguinlnx Linux - Hardware 9 05-01-2005 05:36 AM
swapping HD ZaphyR Linux - Hardware 2 01-16-2005 10:11 AM
Swapping Drives Little Dump Linux - Hardware 0 10-13-2004 02:28 PM

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

All times are GMT -5. The time now is 12:23 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