LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 02: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, 02:17 PM   #2
youngstorm
Member
 
Registered: May 2003
Location: USA
Distribution: Fedora 21, RHEL 5,6&7, Windoze 7
Posts: 235

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, 03: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, 03:57 PM   #4
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
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, 04:37 PM   #5
youngstorm
Member
 
Registered: May 2003
Location: USA
Distribution: Fedora 21, RHEL 5,6&7, Windoze 7
Posts: 235

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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:19 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
Open Source Consulting | Domain Registration