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


Groups > comp.os.linux.hardware > #2465

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

Newsgroups 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?
References <obKdnU708pAllTLOnZ2dnUVZ_rKdnZ2d@earthlink.com> <280620141511008709%nospam@nospam.invalid> <874mz496r6.fld@barrow.com> <280620141555147959%nospam@nospam.invalid> <lonkft$lof$1@speranza.aioe.org>
From floyd@apaflo.com (Floyd L. Davidson)
Organization __________
Date 2014-06-28 17:03 -0800
Message-ID <87k3807ci0.fld@barrow.com> (permalink)

Cross-posted to 2 groups.

Show all headers | View raw


Larry Blanchard <lblanch@fastmail.fm> wrote:
>On Sat, 28 Jun 2014 15:55:14 -0400, nospam wrote:
>
>>> "Even" with swap?  Swapping is something that should be relatively
>>> rare.
>>
>> nonsense. swapping happens as a matter of course on any desktop/laptop
>> system because physical memory is always limited.
>>
>>> It's there to prevent a major disaster on the odd occasion when there
>>> isn't enough memory.
>>
>> odd occasion?? there is never enough physical memory unless you don't do
>> much of anything with the computer.
>
>I usually show little or no swap used.  I have 2G of memory and 5
>workspaces.  If I download a particularly overbusy web page I might show
>a little, or if I'm running a fractal just for fun.

Compare that with the server I use for image editing.
It runs a 64 bit Linux, with 8 CPUs, has 32GB of RAM,
and commonly the load average can be well into double
digits and I've seen it go to 3 digits.

It has never swapped out a running program.  It shows
just under 100k of swap space being used, all of which
is code used to boot the system and then forever more is
idle.

At the moment it shows 20 GB of RAM used for disk
buffers.  Which is very nice when all 8 CPUs are
chugging away full blast at disk i/o while processing
images that are more than 100 MB in size.

This is not an uncommon configuration for this type of
work.

nospam has it backwards!  The little personal machines
are the ones that don't do much, and they are likely to
have limited RAM and may actually see swapping.  It is
larger systems with seriously large work loads that are
configured not to need swap space, because it is just
too expensive in terms of wasted CPU time to let a
system swap.  And really, an 8 CPU system with only 32
GB of RAM is not exactly a large system.

-- 
Floyd L. Davidson                         http://www.apaflo.com/
Ukpeagvik (Barrow, Alaska)                      floyd@apaflo.com

Back to comp.os.linux.hardware | 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? Larry Blanchard <lblanch@fastmail.fm> - 2014-06-28 23:55 +0000
              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:20 -0800
                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-28 20:26 -0600
                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:17 -0800
            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? Larry Blanchard <lblanch@fastmail.fm> - 2014-06-28 23:52 +0000
          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:03 -0800
        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