LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 06-07-2005, 08:22 AM   #1
ghostfacedpenguin
LQ Newbie
 
Registered: May 2005
Location: Jersey
Distribution: ubuntu 5.04
Posts: 5

Rep: Reputation: 0
New Swap Partition


Hello everyone,

I have been looking all over for ways to create a bigger swap partition with out having to reinstall the Hoariest of Hedgehogs! I cannot find anything anywhere, might this be my only recourse, to re-install ubuntu so that I can increase the swap size?

Maybe I don't even need more swap, but when I open apps and do a lot of minimizing/ maximizing etc. it takes a while for things to react and when they do, I get ghastly "trails" from things moving, I would suspect that I need a bigger swap partition, but could be wrong. I have about a gig of ram, but my swap partition is a little under 1x the amount of ram I have. Is this not the norm?

Any suggestion on how to improve system performance is well received, as I am about to start my gaming adventures using ubuntu, I do not want to disaapoint myself and think that ubuntu is not the right choice for this linux newb....

Thanks for any sugestions....
 
Old 06-07-2005, 08:28 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
well it's not the swap that matters, but the amount of REAL ram you have, and how it's being used. when you're system is behaving like you describe, run "free" to see the memory usage.
Code:
[root@GBR607SL001 root]# free
             total       used       free     shared    buffers     cached
Mem:        511936     504148       7788          0      13156     243692
-/+ buffers/cache:     247300     264636
Swap:      1052216     177212     875004
here i have 512mb of total memory (ram) 500mb used in some form, the rest unused totally. of that 500mb, 240mb is real data, 260 is older cached data. i also have a gig of swap, 170mb of which is being used, 875mb is totally unused. see how yours breaks down.
 
Old 06-07-2005, 10:35 AM   #3
Hamsjael
Member
 
Registered: Aug 2003
Location: Vejle, Denmark
Distribution: Mainly Debian, some Fedora for the bleeding edge fix
Posts: 92

Rep: Reputation: 15
I dont know if a tool like parttion magic handles reiser or others, but i think it can work with ext2/ext3.

Other then that i think your only option is to install a second harddrive, and make a swap parttion on that (easy).

DONT put another swap partition somewhere else on your disk, as this will kill your performance.
 
Old 06-14-2005, 07:25 PM   #4
horndude
Member
 
Registered: Sep 2003
Posts: 43

Rep: Reputation: 15
make a swapfile instead

use dd to zero out a file to the size you want, turn into swap and turn it on, poof, bigger swap file, have it turned on at boot after the drive gets mounted
 
  


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 partition dismas Slackware 1 10-07-2005 03:09 PM
Swap Partition Terra Niux Slackware 2 12-29-2004 04:48 AM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 08:45 AM
swap partition Xreagan Linux - Newbie 19 08-29-2002 12:47 PM
Should I be using a SWAP partition? Gene126 Linux - General 3 08-14-2002 09:03 PM


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