LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack 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: 11,795

Rep: Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923
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


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 04:51 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration