Re: new memory = more swap?

From: duncan brown (duncanbrown_at_email.com)
Date: 03/25/04

  • Next message: John Thompson: "Re: Samba - Windows 98"
    To: "For users of Fedora Core releases" <fedora-list@redhat.com>
    Date: Thu, 25 Mar 2004 14:27:07 -0500
    
    

    Matt,
      I have heard of systems getting doggedly slow with too much swap enabled. If this is just a work station, I wouldn't go past 256MB of swap. If you're working with huge databases, that's another issue.

    -D

    ----- Original Message -----
    From: Matt Morgan <matt.morgan-fedora-list@brooklynmuseum.org>
    Date: Thu, 25 Mar 2004 14:09:17 -0500
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    Subject: Re: new memory = more swap?

    > On 03/25/2004 01:50 PM, John Thompson wrote:
    >
    > >Craig Thomas wrote:
    > >
    > >>I have 256MB ram and a 502MB swap, and want to increase to 384MB
    > >>ram, [i know, i know it's an old machine]. I've read in the RH
    > >>manual and else where that double the amount of ram is "right". If
    > >>I want more swap but don't have any unpartitioned space left, what
    > >>are my options? (I do, however, have lots of free space on my
    > >>drive).
    > >>
    > >>
    > >The advice that swap=2(RAM) dates from the time when RAM was expensive and few user machines had more than 64MB.
    > >
    > >These days most people have plenty of RAM and thus require less swap space. I have 384MB RAM and a 256MB swap partition that is seldom more than 25% used.
    > >
    > >
    > >
    > Is it still also true, though, that swap should at a minimum = RAM (this
    > is knowledge that dates back to early versions of SCO, which was weird
    > anyway, I know)? If so, then having more swap than RAM may be worthwhile
    > anyway, because you probably have plenty of disk space, and you might
    > add RAM later (and you won't have to repartition at that point if you
    > have extra swap).
    >
    > I realize it's also a lot easier to repartition these days, too. But I
    > still like to avoid it.
    >
    > Can you have too much swap? (Disk space issues aside). If I have 512 Mb
    > of RAM, and set up a 1Gb swap partition, did I make a mistake?
    >
    >
    > --
    > fedora-list mailing list
    > fedora-list@redhat.com
    > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    >

    +( duncan brown
    +( duncanbrown@email.com
    +( http://www.linuxadvocate.net

    she's crashing her car in an intersection
    she did not see the light
    she's walking round and round in a shopping mall
    as if she had no sight
    dreams are only clouds that form and dissipate
    the sky is a highway for metal birds
    and land is real estate
    she does not understand
    her world depends upon a history of lies
    she walks right by all her old high school friends
    for she has dollar signs in her eyes
      - the dead milkmen, "dollar signs in her eyes"

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: John Thompson: "Re: Samba - Windows 98"

    Relevant Pages

    • Re: excessive swap-in time
      ... Trying to do it all with RAM is just inefficient. ... I find that does not work well when the swapping is caused by excessive I/O ... Or you could have 5 TB of swap space. ...
      (comp.os.linux.development.system)
    • SLUB 0:1 SLAB (OOM during massive parallel kernel builds)
      ... 2G of RAM, 1G of swap partition. ... DMA per-cpu: ... kill process 25286 score 188662 or a child ...
      (Linux-Kernel)
    • fork failed cannot allocate memory
      ... I have a Dell 2650, dual Xeon box, 2GB RAM, 6GB swap with PERC Hardware ... feeding the perl processes). ... Every week or two the box will stop allowing new netcool client ...
      (RedHat)
    • 2.6.26-rc5-mm2: OOM with 1G free swap
      ... OOM condition happened with 1G free swap. ... 4G RAM, 1G swap partition, normally LTP survives during much, much higher ... Call Trace: ... 675611 total pagecache pages ...
      (Linux-Kernel)
    • Re: 2.6.0-test9 - poor swap performance on low end machines
      ... >> Well I was considering adding the swap pressure to this algorithm but I ... It wont be as aggressive as setting the swappiness ... > The test compile started in a similar way to the compile when using your ... detriment of other tasks that are on the runqueue and still need ram. ...
      (Linux-Kernel)