LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial 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 02-26-2004, 12:37 AM   #1
gee
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
HowTo Change swap file size


Hi,
Brand new to linux and just installed RedHat9.0 on my PII.
It only has 32mb of RAM.
This machine use to run win 98 and did that fine. It is very .. very slow with RedHat 9.0. The HDD is always racing when i ask it to do anything and it takes forever.

1st question. Is this machine just not powerful enuff to run RedHat 9?
2nd Q. Would changing the SWAP from it ~200mb to 64mb help?
3rd Q. How can u change the swap file size?

Thanks in advance.
 
Old 02-26-2004, 01:42 AM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
welcome to the community!!!

=)




how much swap do you have right now???

how much of it is being used when you've got all your stuff running???


post the output of this command:

free -m


you can also post the output of this to show us more or less what kinda setup's on your disk:

df -hT



yes, adding swap can be very helpful to low memory systems...

but if, for example, you already have 1gb of swap and are on average only using 300mb, then it won't really make a difference...


here's red hat's info on adding swap:

http://www.redhat.com/docs/manuals/l...ap-adding.html



a likely reason for red hat 9 running so slow on your machine is that bluecurve is not exactly the lightest thing out there if you know what i mean (i'm _assuming_ you're using bluecurve, the default red hat desktop environment)...

with 32mb of ram you'd probably want something like icewm, xfce, or blackbox...

those are window managers made to be very fast and not require so much power...


blackbox is my personal favorite, you can get the rpm for it here:

http://shrike.freshrpms.net/rpm.html?id=1222


to install it just do a (as root):

rpm -ivh blackbox-0.65.0-fr4.i386.rpm


then you'd just have to put something like this in your ".xinitrc" file, to make x start blackbox instead of bluecurve:

exec /usr/X11R6/bin/blackbox


the location of blackbox on your sytem will probably be different than mine, though...


http://blackboxwm.sourceforge.net/

http://www.icewm.org/

http://www.xfce.org/
 
Old 02-26-2004, 08:40 PM   #3
gee
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for the reply.

free - m
total used free shared buffers cached
mem 28 28 0 0 0 9
-/+ buffers/cache 17 11
swap 188 45 142


df -hT
file system type size used avail use% mounted on
/dev/hdb2 ext3 4.6g 1.9g 2.5g 44% /
/dev/hdb1 ext3 99m 9.0m 85m 10% /boot
none tmpfs 15m 0 15m 0% /dev/shm



Just a few more questions.
1.How can i pipe the output of a command to a file on the floppy drive?
2.When i chkconfig --list there are alot of services running. Which ones do i not need?


Thanks again.
 
  


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
SWAP file size ashley75 Linux - General 9 06-01-2006 05:28 PM
Change the swap size ust Linux - General 11 06-16-2005 11:04 PM
Partition Hd fr DSL and Win XP p2 What size for part, & swap file beekers Linux - Newbie 4 06-09-2005 10:14 PM
Mandrake 9.0 Swap file size ? perry Mandriva 2 10-20-2003 01:10 PM
change swap partition size? jamaso Linux - General 4 07-03-2002 09:46 AM


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