Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: [SOLVED] Swap Partition? Why?

  1. #1
    Join Date
    Jan 2007
    Location
    ../texas/alamo
    Beans
    117
    Distro
    Ubuntu 10.04 Lucid Lynx

    [SOLVED] Swap Partition? Why?

    I have 4 gigs of ram in my 64bit dual-core machine currently. I rarely use it all. The many times I've installed ubuntu and linux in general I've found that not including a swap partition breaks the network-connection and probably other progams. In fact I've only used about 2mb recently when using Transmission for multiple downloads.

    The minimum I found that the system will allow me is an 8mb swap partition.

    I find this to be anachronistic. Especially when memory is so plentiful and cheap and processors so fast.

    Is there a plan for an option to not have a dependency on a swap partition for network-connections?

    Thanks...

    Just stirring the pot...
    Grasshoppah -snatch the pebberl from my hand... aah... beginah ruck.

  2. #2
    Join Date
    Aug 2007
    Location
    Birmingham, UK
    Beans
    181
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Swap Partition? Why?

    You don't need SWAP unless you have a slower computer. 4GB RAM and a good processor means you don't really need SWAP - it's pointless with that awesome compter ! I have a High-end Gaming machine and I use no swap at all, and everything runs flawlessly.

    Hope this helped
    My Rig:
    [SIZE="1"]Intel Core 2 Quad Extreme QX9770 (12M Cache, 3.20 GHz, 1600 MHz FSB)
    Swiftech H20-220 Apex Ultra+ Water Cooling System 6072 GB RAM
    2TB SATA HD , Nvidia Geforce 8800GTX 512MB

  3. #3
    Join Date
    Jul 2008
    Location
    Birmingham, England
    Beans
    2,400

    Re: Swap Partition? Why?

    Just remember not everyone has a high end machine
    Swap works very well on my laptop but is superfluous on the desktop yet both run Kubuntu hardy

  4. #4
    Join Date
    Nov 2008
    Beans
    38

    Re: Swap Partition? Why?

    I would add at least a small swap partition just to be safe. The swap file is equivalent to the windows page file.

  5. #5
    Join Date
    May 2007
    Beans
    4,513
    Distro
    Ubuntu

    Re: Swap Partition? Why?

    Quote Originally Posted by ncanna1 View Post
    I would add at least a small swap partition just to be safe. The swap file is equivalent to the windows page file.
    Quoted for truth

    I have 4gb ram, but also have a 2gb swap partition (on a 250gb hd, it's fine) just to be safe.

  6. #6
    Join Date
    Jan 2008
    Location
    the space between spaces.
    Beans
    1,654

    Re: Swap Partition? Why?

    I always not only have a swap partition to be safe, but also for hibernation. Hibernating uses the swap partition, which i frequently do, so I always make a swap partition equal to the amount of RAM I have.
    "If a cluttered desk signs a cluttered mind, Of what, then, is an empty desk a sign?" -Albert Einstein.

  7. #7
    Join Date
    Aug 2007
    Location
    Birmingham, UK
    Beans
    181
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Swap Partition? Why?

    If you want to use SWAP with a high-end system, make sure that you do the vm swapiness stuff (the tendency of ubuntu going to swap instead of ram and vice versa). I would recommend a lower number for any system. I didn't know that hibernation on ubuntu needed swap - mine works without it :O!
    My Rig:
    [SIZE="1"]Intel Core 2 Quad Extreme QX9770 (12M Cache, 3.20 GHz, 1600 MHz FSB)
    Swiftech H20-220 Apex Ultra+ Water Cooling System 6072 GB RAM
    2TB SATA HD , Nvidia Geforce 8800GTX 512MB

  8. #8
    Join Date
    May 2007
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Swap Partition? Why?

    Quote Originally Posted by damis648 View Post
    I always not only have a swap partition to be safe, but also for hibernation. Hibernating uses the swap partition, which i frequently do, so I always make a swap partition equal to the amount of RAM I have.
    A big +1
    Swap is needed for hibernation, so I always recommend that users keep around at least as much swap as they have RAM. If you don't typically hibernate your computer, maybe you should consider it - the system is completely powered off in this state, which is a big power saver (like for overnight).

  9. #9
    Join Date
    Jun 2008
    Location
    New York, USA
    Beans
    781

    Re: Swap Partition? Why?

    Quote Originally Posted by radtek View Post
    I have 4 gigs of ram in my 64bit dual-core machine currently. I rarely use it all. The many times I've installed ubuntu and linux in general I've found that not including a swap partition breaks the network-connection and probably other progams. In fact I've only used about 2mb recently when using Transmission for multiple downloads.

    The minimum I found that the system will allow me is an 8mb swap partition.

    I find this to be anachronistic. Especially when memory is so plentiful and cheap and processors so fast.

    Is there a plan for an option to not have a dependency on a swap partition for network-connections?

    Thanks...

    Just stirring the pot...
    Machines with a lot of ram rarely need swap. The reason to have a swap partition (or swap file) is so that *IF* you use up your physical ram, Linux won't start terminating old processes to get some free ram.

    Without swap to fall back on, Linux will start terminating old processes... and it doesn't know if a certain process is ESSENTIAL (either to YOU or to the OS).

    You can end up with random failures or crashes if this happens.

    No matter how much ram you have, you should also have a swap space setup.

    Running without swap is like skydiving without a reserve chute. You probably won't need it, but if you DO.....


    -- Roger
    Gentlemen may prefer Blondes, but Real Men prefer Redheads!

  10. #10
    Join Date
    May 2007
    Beans
    4,513
    Distro
    Ubuntu

    Re: Swap Partition? Why?

    I would not recommend messing with swappiness on a high-end machine. If Ubuntu doesn't need swap, it simply won't use it.

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •