LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-11-2003, 07:36 AM   #1
troycus
Member
 
Registered: Sep 2003
Posts: 84

Rep: Reputation: 15
Post installation.


I 've been working with RH( for the past 3 weeks. I can see why
Linux is getting popular.

I'm still tweaking my installation of RH 9. I want to increase my swap space. How do I go about doing that?any help would be appreciated.
 
Old 10-11-2003, 07:50 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Since swap space in linux is a partition you will need to increase the partition size. If you have unpartitioned space then it shoudln't be too hard. If all your hdd is partitioned then you will neet tp use a tool like parted to resize partitions.

Before you do anything you may wish to make sure that you do actually need more space - try running:
free -mto
 
Old 10-11-2003, 08:21 AM   #3
troycus
Member
 
Registered: Sep 2003
Posts: 84

Original Poster
Rep: Reputation: 15
When I ran that command, this is what I got:


total used free shared buffer chache

Mem: 115 112 2 0 5 42
Swap: 251 46 204
Total: 366 159 207


I'm trying to figure out why my system is running so slow. I figured if I increase the swap partition, this will increase the speed. From Looking at this, can you tell what is making linux run slow?
 
Old 10-11-2003, 08:23 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,752

Rep: Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719
There are other options to increasing the existing swap partition size. You can have multiple swap partitions. It might simply resizing operations or by just creating another partition if you have unallocated space.

If you just want to try adding additional swap space you could create a swap file. It will be slower then a partition but will not require you to change anything yet.
 
Old 10-11-2003, 08:30 AM   #5
Nechos
Member
 
Registered: Sep 2003
Location: Italy
Distribution: Ubuntu 13.10
Posts: 304

Rep: Reputation: 30
when you did that command your system was running slow?t
how slow is it? i mean you have 'only' 128 MB of RAM, how fast you want it to be?
RH 9 is new (and big) os, maybe you should go for some some of the smaller ones...or install less programs (maybe even without KDE and/or gnome, but using iceWM or similar)
it seems that you have enough swap (i have ~500, and using rarely more than 0...)
 
Old 10-11-2003, 08:41 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Quote:
Originally posted by troycus
When I ran that command, this is what I got:


total used free shared buffer chache

Mem: 115 112 2 0 5 42
Swap: 251 46 204
Total: 366 159 207


I'm trying to figure out why my system is running so slow. I figured if I increase the swap partition, this will increase the speed. From Looking at this, can you tell what is making linux run slow?
Try running:
top

Then press M and P to sort by Memory or processor usage respectively this may give you an idea of what is slwoing down your system. If that doesn't point anything out try:
sar 2 10

If it is slow due to hdd access time you may want to try looking at hdparam.
 
Old 10-11-2003, 08:52 AM   #7
troycus
Member
 
Registered: Sep 2003
Posts: 84

Original Poster
Rep: Reputation: 15
This is how slow RH( is running. I just launched mozilla web browser and it took 95sec for the window to appear. I'm trying to find out if it's the swap space that needs to be adjusted.
 
  


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
Post Installation Questions wnaLinux Slackware 2 01-22-2005 08:28 PM
post-installation blues Lord Zoltar Slackware - Installation 13 06-20-2004 08:22 PM
Post Installation Help for a Newbie bigkc44 Fedora - Installation 2 06-19-2004 01:24 PM
Post installation trouble offdahook84 Mandriva 4 03-23-2004 06:54 AM
Post-installation question Belize Red Hat 5 10-05-2003 11:46 AM


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