LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 07-30-2003, 01:11 PM   #1
TJ60515
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
SWAP File


I've installed Red Hat 9 on a 400MHz Celeron with 300+MB RAM and it seems slower than having Win2000 on this machine. How can I determine the size of the swap file? How can I change it and would I see improved performance? Thanks.
 
Old 07-30-2003, 01:17 PM   #2
youngstorm
Member
 
Registered: May 2003
Location: Valdosta, GA, USA
Distribution: Fedora 14, Windoze XP & 7
Posts: 225

Rep: Reputation: 31
To check memery usage type 'free'. However, there are other ways to speed up your Linux box. Are you new to Linux/Unix?
 
Old 07-30-2003, 02:49 PM   #3
TJ60515
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Original Poster
Rep: Reputation: 0
I am fairly new to Linux. It's been awhile since I've played with it, so I've already forgotten some of what I've learned about it.
 
Old 07-30-2003, 02:57 PM   #4
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Take a look in /etc/fstab
It should have a line for your swap specifying where it is. Then you just check how big it is. If you want to make it bigger or smaller, replace it with any file that's the right size. You should probably turn it off with swapoff when you do this. Using a swap partition is a bit faster (assuming you aren't using one).
Your Red Hat maybe slow because of some extra options being enabled (ie programs you don't need being run, extra features, etc.).
 
Old 07-30-2003, 03:37 PM   #5
youngstorm
Member
 
Registered: May 2003
Location: Valdosta, GA, USA
Distribution: Fedora 14, Windoze XP & 7
Posts: 225

Rep: Reputation: 31
Is this computer to be a server or workstation?
What was the results of 'free'?
As 'root' type 'setup' at the prompt. Go to 'system services'.
Uncheck all unneeded deamons. For example: sendmail, ftp, http, .etc.
Press F1 to see what each one does.
 
  


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
what is a swap file...? zameer_india Linux - Newbie 8 01-09-2005 10:35 PM
swap file linuxhippy Linux - General 4 10-11-2004 04:07 PM
Swap file not being used...why? ganja_guru Linux - General 6 12-08-2003 03:41 AM
Swap file sparkplug55 Linux - Newbie 2 08-11-2003 09:09 AM
No Swap File tarballedtux Slackware 4 01-09-2003 02:07 PM


All times are GMT -5. The time now is 07:39 AM.

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