Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 13th June 2012, 02:49 PM
yureka Offline
Registered User
 
Join Date: Jun 2012
Location: india
Posts: 19
linuxfedorafirefox
swap memory and load average

Hello everybody,
I have a desktop with 1 GB ram and 160 GB hard disk space. It has windows 7. I made a partition of 15 GB
hard disk space and a swap memory of 100 MB for fedora 14. But now fedora runs slow and has load averages more than 1 (around 1.2) . It also shows that hard disk has many bad sectors and harddisk may be failing. Is any of my alloted configuration wrong or is the swap memory less?? If so please help me out in this issue.
thanks in advance

Last edited by yureka; 13th June 2012 at 02:52 PM.
Reply With Quote
  #2  
Old 13th June 2012, 03:22 PM
sea's Avatar
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,608
linuxchrome
Re: swap memory and load average

If 15gb is for the root partition "/", that should suffice.
As a suggestion however, i hope you have /home as another seperate partition, as this makes reinstall, fresh-install much, much less painfull.
I've never tried a swap with such a low value as 100 mb, the lowest i tried was 512mb swap, havent had any issues (performance) on my netbook, which has 1 gb ram as well.

I assume, that your performance loss is due to bad sectors on the hard disk, and probably 'short' disk spaces.

What is the output of:
Code:
df -m
Not sure if fsck can 'fix' bad sectors, but to run it, i'd suggest booting from a live media, and then run:
Code:
/sbin/fsck /dev/sdaX
Where sdaX refers to the linux-root or linux-home partitions.
Dont run it from an installed OS (mounted disks), as this may cause major damage!
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb

Last edited by sea; 13th June 2012 at 03:25 PM.
Reply With Quote
  #3  
Old 14th June 2012, 06:36 AM
yureka Offline
Registered User
 
Join Date: Jun 2012
Location: india
Posts: 19
linuxfedorafirefox
Re: swap memory and load average

Thanks...
The output of df -m is
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/sda5 14765 4642 9373 34% /
tmpfs 496 1 496 1% /dev/shm
/dev/sda7 34897 4773 30125 14% /media/New Volume
Can we increase the swap memory by any means? what does running from live media mean? What does above data mean? I am a new user and just a beginner. Thanks again..
Reply With Quote
  #4  
Old 14th June 2012, 07:00 AM
stevea's Avatar
stevea Online
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,303
linuxfirefox
Re: swap memory and load average

The above list
Quote:
/dev/sda5 14765 4642 9373 34% /
tmpfs 496 1 496 1% /dev/shm
/dev/sda7 34897 4773 30125 14% /media/New Volume
Says your root file system "/" is using 4642MB out of 14765MB and is only 34% filled.
Similarly your ' /media/New\ Volume' ' file system is 14%.

So you don't have any problem with filesystem space.

======

You can increase the swap. If you have extra space on your disk.
First see if you need to - run the 'free' command ....(if you post the result then use "go advanced" button and put it in code '#' section.to preserve spacing)

Code:
[stevea@hypoxylon Desktop]$ free
             total       used       free     shared    buffers     cached
Mem:       7914076    2771232    5142844          0       3568     248724
-/+ buffers/cache:    2518940    5395136
Swap:      8925180     241120    8684060
So my system is using 241.120MB of swap out of a total of 8.925GB. No problems.
If Swap is getting towards full - that's a problem.


You can use 'gparted'
su -c " yum install gparted"
su -c gparted

to create a partition formatted as swap.
Then you can add the nrew partition (/dev/sda6 in this case) to fstab like .....
su -
<passwd>
echo "/dev/sda6 swap swap defaults 0 0" >> /etc/fstab
exit

Then you'll have the new swap (plus the old one) available after reboot.

You can also edit /etc/fstab as root, but be careful !

==============

I suggest you load the 'htop' package and run the command of the same name to see what if anything is using your CPU time and memory space. The 'top' command is a little different version of the same idea. These are non-gui tools run in a terminal.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
Reply

Tags
average, load, memory, swap

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Load average always exactly 1.0 jstrope Using Fedora 0 3rd March 2008 08:50 PM
High Load Average Rijkaard Servers & Networking 3 1st January 2007 08:43 PM


Current GMT-time: 00:34 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat