|
Home > Archive > Linux Debian support > October 2007 > How do I make more swap space.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How do I make more swap space.
|
|
| Tony Peardon 2007-10-24, 7:14 am |
| Hi All, I was wondering how one goes about increasing the size of the
swap partition, and will having a bigger swap file slow down my computer?
sTony
| |
| AHinMaine 2007-10-24, 1:14 pm |
| On Oct 24, 5:55 am, Tony Peardon <TonyPear...@gmail.com> wrote:
> Hi All, I was wondering how one goes about increasing the size of the
> swap partition, and will having a bigger swap file slow down my computer?
>
> sTony
Instead of increasing the size of your swap partition, just create a
swap file and the o/s will use both the swap partition and any extra
swap files you create. Sorry, I'm not sure how to do this on debian,
but it shouldn't be hard to figure out.
*Having* more swap available will not slow down your computer.
*Using* more swap, on the other hand...
--
Andy
| |
| Robert Ma 2007-10-24, 1:14 pm |
| Tony Peardon wrote:
> Hi All, I was wondering how one goes about increasing the size of the
> swap partition, and will having a bigger swap file slow down my computer?
>
> sTony
It is more flexible when you have you swap partition on LVM.
To create another swap.
1. fdisk to create a swap partion.
2. mkswap /dev/[hs]dx
3. swapon /dev/[hs]dx
If you are using LVM2, you can expand the current swap partiton more or less
on the fly.
| |
| jeremy 2007-10-25, 7:14 am |
|
On Wed, 2007-10-24 at 09:55 +0000, Tony Peardon wrote:
> Hi All, I was wondering how one goes about increasing the size of the
> swap partition, and will having a bigger swap file slow down my computer?
>
Are you sure you actually need to do this?
Modern PC's have more memory than most people can use...
A Linux PC will try to use as much memory as possible for file buffers
etc. You will therefore see that "free" memory may be quite small.
It is only when the swap usage starts to get large that you should
consider creating more. Obviously, if you actually need to access swap
space frequently you should expect your machine to slow down a bit.
Try creating a swap file before you try a swap partition.
(You can delete / create a file much more easily).
See http://linux.about.com/od/linux101/l/blnewbie4_2_13.htm
--
Regards,
Jeremy
| |
| Brad Austin 2007-10-30, 7:12 pm |
| Tony Peardon wrote:
> Hi All, I was wondering how one goes about increasing the size of the
> swap partition, and will having a bigger swap file slow down my computer?
>
> sTony
You could download the knoppix livecd iso or the riplinux iso, burn a boot
cd of which ever one that you downloaded. Boot the cd and run gparted which
is similar to windows partition magic. There is a gui gparted on the
knoppix cd not sure about the riplinux.
If I were you I would backup the system to another drive before attempting
this. You can use partimage to run a backup image(s) of all of the
necessary partitions. Partimage is similar to Norton Ghost and is also on
both the knoppix and riplinux cd's.
|
|
|
|
|