Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.ibm.pc.hardware.storage > #5556

Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD?

From Arno <me@privacy.net>
Newsgroups alt.comp.periphs.hdd, comp.sys.ibm.pc.hardware.storage, comp.sys.mac.hardware.storage, comp.os.linux.hardware, comp.os.linux.setup
Subject Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD?
Date 2014-06-28 22:08 +0000
Message-ID <c18smnFjg0uU1@mid.individual.net> (permalink)
References <obKdnU708pAllTLOnZ2dnUVZ_rKdnZ2d@earthlink.com>

Cross-posted to 5 groups.

Show all headers | View raw


In comp.sys.ibm.pc.hardware.storage Ant <ant@zimage.comant> wrote:
> Because that wears out the SSD quickly, and it is better to put it on a 
> slow HDD. If so, then how do computer (especially laptop/notebook) users 
> with only a SSD (not hybrids with HDDs) do this? I assume Windows, Mac 
> OS X, and Linux follow this rule?

It depends on your swap-load. With normal swap-load, it should 
not be much of an issue, unless you run the machine for decades. 
However, high swap load can ruin an SSD pretty fast (weeks
to months). 

> Currently, I have a Debian stable box that uses an 115 GB Corsair Force 
> Series F115 SSD since 11/24/2001. It ran almost 24/7. I do have a very 
> old PATA/IDE HDD too, but it is mostly for storage. I'd think it would 
> be too slow for virtual memory (VM) if it was on it. However, my Debian 

All HDDs are "too slow" for virual memory. SSDs are too. Virtual
memory is not there to be "used", it is sort of an attic where 
things can be moved (slowly and painfully) when space gets tight.


> box (2 GB of RAM) doesn't use it much according to top with a VM (512 MB 
> of RAM for an updated Windows XP Pro. SP3):

> $ top - 11:13:23 up 23 days,  4:39,  3 users,  load average: 0.21, 0.11, 
> 0.08
> Tasks: 174 total,   1 running, 172 sleeping,   1 stopped,   0 zombie
> %Cpu(s):  1.1 us,  1.2 sy,  0.0 ni, 97.7 id,  0.0 wa,  0.0 hi,  0.0 si, 
>  0.0 st
> KiB Mem:   2060516 total,  1976072 used,    84444 free,   223096 buffers
> KiB Swap:  3905532 total,    99548 used,  3805984 free,   439456 cached

You know, you can run a modern Linux without swap. That may
be better. If you run into a high swap load situation, you
will have problems anyways. 

Arno


>   PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND
>  4907 ant       20   0 1477m 655m 593m S   0.3 32.6   9:21.44 VirtualBox
>  3231 ant       20   0  326m 135m 4880 S   0.0  6.7   2:06.69 ruby
>  4631 ant       20   0 2955m 104m  36m S   1.3  5.2  15:42.50 
> plasma-desktop
>  4621 ant       20   0 2689m  73m  28m S   1.3  3.6  20:39.79 kwin
> 10202 ant       20   0  389m  41m  27m S   0.0  2.1   0:05.09 kscreenlocker
>  5290 root      20   0  178m  41m  17m S   1.7  2.0 187:13.77 Xorg
>  4835 ant       20   0  589m  39m  20m S   0.0  1.9   0:10.53 VirtualBox
>  4665 ant       20   0  785m  36m  10m S   0.0  1.8   0:07.64 krunner
>  4683 ant       20   0  531m  26m 8876 S   0.0  1.3   0:00.78 kmix
>  4601 ant       20   0  354m  15m  13m S   0.0  0.8   0:00.38 kdeinit4
>  4628 ant       20   0  619m  14m 6644 S   0.0  0.7   0:01.01 knotify4
>  4604 ant       20   0  703m  14m 8100 S   0.0  0.7   0:06.77 kded4
>  4619 ant       20   0  531m  11m 6188 S   0.0  0.6   0:00.37 ksmserver
>  4708 ant       20   0  283m  10m 6148 S   0.0  0.5   0:00.25 klipper
>  4680 ant       20   0  364m  10m 6012 S   0.0  0.5   0:00.16 
> polkit-kde-auth
> 12819 root      20   0 65312  10m 1732 S   0.0  0.5   1:26.60 python
> ...

> Thank you in advance. :)
> -- 
> "Fall in those single lines like army ants..." --unknown
>    /\___/\         Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
>   / /\ /\ \                Ant's Quality Foraged Links: http://aqfl.net
>  | |o   o| |
>     \ _ /        If crediting, then use Ant nickname and AQFL URL/link.
>      ( )         If e-mailing, then axe ANT from its address if needed.
> Ant is currently not listening to any songs on this computer.

Back to comp.sys.ibm.pc.hardware.storage | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Is it true that it is a bad idea to put a swap/pagefile on a SSD? Ant <ant@zimage.comANT> - 2014-06-28 11:25 -0700
  Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? nospam <nospam@nospam.invalid> - 2014-06-28 15:11 -0400
    Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? floyd@apaflo.com (Floyd L. Davidson) - 2014-06-28 11:25 -0800
      Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? "Rod Speed" <rod.speed.aaa@gmail.com> - 2014-06-29 05:38 +1000
      Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? nospam <nospam@nospam.invalid> - 2014-06-28 15:55 -0400
        Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? floyd@apaflo.com (Floyd L. Davidson) - 2014-06-28 12:59 -0800
          Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? nospam <nospam@nospam.invalid> - 2014-06-28 18:02 -0400
            Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? floyd@apaflo.com (Floyd L. Davidson) - 2014-06-28 17:11 -0800
              Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? nospam <nospam@nospam.invalid> - 2014-06-28 23:39 -0400
                Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? floyd@apaflo.com (Floyd L. Davidson) - 2014-06-28 21:29 -0800
                Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? nospam <nospam@nospam.invalid> - 2014-06-29 02:21 -0400
        Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2014-06-29 15:23 -0400
          Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? Ant <ant@zimage.comANT> - 2014-06-29 15:12 -0700
            Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2014-06-29 17:36 -0600
            Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? Mike Tomlinson <mike@jasper.org.uk> - 2014-07-01 10:37 +0100
              Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? Jolly Roger <jollyroger@pobox.com> - 2014-07-01 16:14 +0000
              Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? Ant <ant@zimage.comANT> - 2014-07-02 23:13 -0700
        Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? Yousuf Khan <bbbl67@spammenot.yahoo.com> - 2014-07-03 02:13 -0400
  Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? Arno <me@privacy.net> - 2014-06-28 22:08 +0000
    Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? nospam <nospam@nospam.invalid> - 2014-06-28 19:42 -0400
      Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? Mike Tomlinson <mike@jasper.org.uk> - 2014-07-01 10:41 +0100
        Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? Lusotec <nomail@nomail.not> - 2014-07-01 11:31 +0100
  Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? Kevin McMurtrie <mcmurtrie@pixelmemory.us> - 2014-06-28 23:31 -0700
    Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? "Rod Speed" <rod.speed.aaa@gmail.com> - 2014-06-30 06:30 +1000
  Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? Andreas Rutishauser <andreas@macandreas.ch> - 2014-06-29 08:39 +0100
    Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? Ant <ant@zimage.comANT> - 2014-06-29 12:01 -0700
      Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? nospam <nospam@nospam.invalid> - 2014-06-29 16:53 -0400
        Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? Ant <ant@zimage.comANT> - 2014-06-29 15:13 -0700
          Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? nospam <nospam@nospam.invalid> - 2014-06-29 21:30 -0400
    Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? hal-usenet@ip-64-139-1-69.sjc.megapath.net (Hal Murray) - 2014-07-01 02:54 -0500
      Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? Poutnik <Poutnik@privacy.net> - 2014-07-01 10:39 +0200
      Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? "Rod Speed" <rod.speed.aaa@gmail.com> - 2014-07-02 09:49 +1000
      Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? Andreas Rutishauser <andreas@macandreas.ch> - 2014-07-02 08:18 +0100
        Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? Ant <ant@zimage.comANT> - 2014-07-02 23:16 -0700
  Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? Michael Black <et472@ncf.ca> - 2014-06-29 12:36 -0400
    Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? nospam <nospam@nospam.invalid> - 2014-06-29 14:06 -0400
  Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? Yousuf Khan <bbbl67@spammenot.yahoo.com> - 2014-07-03 02:16 -0400
    Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? Ant <ant@zimage.comANT> - 2014-07-02 23:19 -0700
    Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? Your Name <YourName@YourISP.com> - 2014-07-03 18:55 +1200
    Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2014-07-03 12:46 +0000
      Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? nospam <nospam@nospam.invalid> - 2014-07-03 14:31 -0400
        Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? The Natural Philosopher <tnp@invalid.invalid> - 2014-07-03 19:57 +0100
          Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? "whacker james" <wj852@gmail.com> - 2014-07-04 09:02 +1000
            Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? The Natural Philosopher <tnp@invalid.invalid> - 2014-07-04 00:23 +0100
              Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? Måns Rullgård <mans@mansr.com> - 2014-07-04 00:29 +0100
                Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? The Natural Philosopher <tnp@invalid.invalid> - 2014-07-04 00:47 +0100
              Re: Is it true that it is a bad idea to put a swap/pagefile on a SSD? "whacker james" <wj852@gmail.com> - 2014-07-04 17:54 +1000

csiph-web