LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-24-2004, 09:07 AM   #1
ejbest
Member
 
Registered: Jul 2004
Posts: 34

Rep: Reputation: 15
increasing swap on a slow pc


Can someone post the 'skinny' on configuring swap. BTW the distribution is Fedora 2 and the PC is a Pentium 4 with 256mb Ram

thanks in advance
 
Old 10-24-2004, 11:30 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,948

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
How much swap do you have now and how much is presently being used? Post the output of the free command.

If your present swap is not being maxed out then adding more will not help. To add additional swap if you have some unallocated drive space you can create another swap partition.
Then use the mkswap command to format it and then swapon command to enable it.
mkswap /dev/hdxy (replace xy with drive and partition id)
swapon /dev/hdxy

If you do not have any unallocated space on the drive then you can create a swap file. It will not be as fast as a partition but you can see how additional swap will effect your system.

http://www.justlinux.com/nhf/Filesys..._Swapping.html

What services are you running? Shutting down services that you do not need will help speed things up.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
mem and swap usage increasing daily epoo Linux - General 5 05-02-2005 12:49 AM
deleting/resizing swap partition / increasing hd space saranga2000 Linux - Hardware 1 12-09-2004 11:03 AM
Increasing swap space rupesh_pulikool Linux - Networking 1 09-12-2004 11:40 PM
increasing the swap space after installing linux LinToWinWin Linux - Newbie 4 08-03-2004 10:51 PM
Increasing swap partition suneet123 Linux - Software 3 12-16-2002 04:11 PM


All times are GMT -5. The time now is 07:59 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration