Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 31

Thread: Life expectancy of a Flash drive being used for Swap/ReadyBoost?

  1. #21
    Join Date
    Sep 2011
    Location
    Pennsylvania, U.S.A.
    Beans
    1,892
    Distro
    Ubuntu Development Release

    Re: Life expectancy of a Flash drive being used for Swap/ReadyBoost?

    Quote Originally Posted by DawnLight View Post
    I used an SSD, not a USB flash drive. And there's a difference between swap and filesystem caching. ReadyBoost is filesystem caching. Ideally, you'd want to never use swap. Filesystem caching, however, is very useful.
    You need swap and on a separate partition if you want to use hibernate (AKA suspend to disk).

  2. #22
    Join Date
    Jul 2008
    Location
    Ra'anana, Israel
    Beans
    55
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Life expectancy of a Flash drive being used for Swap/ReadyBoost?

    Yes, you are right, kurt18947, but Hibernation has been disabled by default since precise and I don't need it anyway. Besides, it still is true that you'd never want to use swap in the common sense that you never want to run out of memory. Sure - you want to set up swap just for hibernating - go ahead.

  3. #23
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    4,265
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Life expectancy of a Flash drive being used for Swap/ReadyBoost?

    I once tried using a USB stick for this purpose, and it lasted about six months. After it failed, I realised that my system was no slower without it anyway! (That was with USB 2; I don't know how USB 3 would affect the system.)

    Your best bet, if you can afford it, is to upgrade your RAM from your current 1Gb. If you have 64-bit Ubuntu, I recommend 4Gb or more for performance.
    Problems with WINE?
    Full Circle Magazine :: Confused "allot"? :: Cheap Linux stickers
    In my day, we had outdoors in which to run, play, and socialise. Now we have computers to do those.

  4. #24
    Join Date
    Jul 2008
    Location
    Ra'anana, Israel
    Beans
    55
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Life expectancy of a Flash drive being used for Swap/ReadyBoost?

    Quote Originally Posted by Paddy Landau View Post
    I once tried using a USB stick for this purpose, and it lasted about six months. After it failed, I realised that my system was no slower without it anyway! (That was with USB 2; I don't know how USB 3 would affect the system.)

    Your best bet, if you can afford it, is to upgrade your RAM from your current 1Gb. If you have 64-bit Ubuntu, I recommend 4Gb or more for performance.
    32 bit Ubuntu handles 4GB of RAM or more. It is called PAE.

  5. #25
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    4,265
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Life expectancy of a Flash drive being used for Swap/ReadyBoost?

    Quote Originally Posted by DawnLight View Post
    32 bit Ubuntu handles 4GB of RAM or more. It is called PAE.
    Yes, I'm aware. It's just that 64-bit performs better with a bit more RAM than with 32-bit.
    Problems with WINE?
    Full Circle Magazine :: Confused "allot"? :: Cheap Linux stickers
    In my day, we had outdoors in which to run, play, and socialise. Now we have computers to do those.

  6. #26
    Join Date
    Jun 2011
    Beans
    76

    Re: Life expectancy of a Flash drive being used for Swap/ReadyBoost?

    Quote Originally Posted by Paddy Landau View Post
    Yes, I'm aware. It's just that 64-bit performs better with a bit more RAM than with 32-bit.

    does it ?

  7. #27
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    4,265
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Life expectancy of a Flash drive being used for Swap/ReadyBoost?

    Quote Originally Posted by mJayk View Post
    does it ?
    I've been told that 64-bit needs a bit more RAM than 32-bit for the same performance. I could be wrong. Anyway, that's beside the point for the OP — upgrading his RAM by even 1Gb (if he can afford it) will do more for his performance than a USB stick, especially if it's USB 2.
    Problems with WINE?
    Full Circle Magazine :: Confused "allot"? :: Cheap Linux stickers
    In my day, we had outdoors in which to run, play, and socialise. Now we have computers to do those.

  8. #28
    Join Date
    Jan 2007
    Beans
    6,542
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Life expectancy of a Flash drive being used for Swap/ReadyBoost?

    Quote Originally Posted by MasterNetra View Post
    I was thinking of using the 4GB as a Swap drive to further my system's performance capabilities for like gaming
    If you're looking for improved game performance, you don't want to be swapping over USB. It'd be slooooooooowwwwww. As others have mentioned, you'd be much better off using your hard drive.

    If you find your machine is chewing through RAM, you can increase the size of your internal swap. It's possible to permanently expand your existing swap partition, add new swap partitions, or add swap files, which can be done on the fly or on a temporary basis if you want.

    More info here.

    Obviously adding more swap runs a very, very distant second place to adding more RAM. However, that will depend on your hardware. Adding more RAM to a desktop is easy, adding it to laptops can range from easy to difficult to impossible. Modern RAM is pretty cheap, but some of the older stuff can be quite expensive. Second hand is good, try Ebay.
    Last edited by Paqman; March 4th, 2013 at 12:41 PM.

  9. #29
    Join Date
    Jan 2007
    Beans
    6,542
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Life expectancy of a Flash drive being used for Swap/ReadyBoost?

    Quote Originally Posted by del_diablo View Post
    If you have 8k of ram, you could "cheat" and setup a ramdisk as swap.
    So perhaps you have 7 gigs of ram, and 1 gig of ram as "Fake cache".
    ?!?

    Why would you reserve some RAM for use when you ran out of RAM? Just use the RAM as RAM, using it as swap is a bit mental. You can reduce the swappiness of your machine so that it hardly touches swap, the default is way too conservative IMO. With 8GB RAM and swappiness=0 you'd be unlikely to ever need any swap at all. You could get by with a little bitty swapfile as a backup.

  10. #30
    Join Date
    Sep 2011
    Location
    Pennsylvania, U.S.A.
    Beans
    1,892
    Distro
    Ubuntu Development Release

    Re: Life expectancy of a Flash drive being used for Swap/ReadyBoost?

    Quote Originally Posted by Paddy Landau View Post
    I've been told that 64-bit needs a bit more RAM than 32-bit for the same performance. I could be wrong. Anyway, that's beside the point for the OP — upgrading his RAM by even 1Gb (if he can afford it) will do more for his performance than a USB stick, especially if it's USB 2.
    My experience is that the system with a 64 bit O.S. will use about 100 MB. more RAM just in an idle state than with a 32 bit O.S. That said, I'm on a Core 2 duo with 2 GB. RAM no swap and for casual/office use have never had a low RAM issue running a 64 bit O.S. Right now System Monitor says I'm using 583 MB. RAM just running system monitor and firefox. This is 13.04 64 bit. I don't have 13.04 32 bit for an apples to apples comparison but based on past experience, I'd expect a 32 bit install to be using 250-300 MB. RAM.

Page 3 of 4 FirstFirst 1234 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
  •