public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Swap performance
Date: Wed, 25 May 2011 22:07:46 +0200	[thread overview]
Message-ID: <201105252207.47238.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <5430211.xniV3AiSOY@localhost>

Apparently, though unproven, at 18:53 on Wednesday 25 May 2011, Volker Armin 
Hemmann did opine thusly:

> On Wednesday 25 May 2011 16:20:58 Alex Schuster wrote:
> > So, 27 minutes to put 885MB of swap back into RAM, with the double amount
> > of that being free RAM.  I monitored with iotop, and the transfer rate
> > started around 60-100 K/s, later it went higher. But the average
> > transfer rate is 550K/s. Shouldn't swap be, like, a little faster?
> 
> no, sounds about right. Swap in linux is brain damaging slow. If you think
> about it your gall bladder might explode. That slow.

For years now I've considered only two possible uses for linux swap:

- a teeny small one just for wiggle room to try and hold that POS called the 
oom killer at bay

- a bigger one the same size as total RAM, as a place to put the suspend image


Every other usage makes no sense at all (RAM being so cheap and all). In fact, 
I've banned swap on all company servers except databases.

I'd be interested to hear any current use cases where swap delivers a provable 
benefit.

-- 
alan dot mckinnon at gmail dot com



  reply	other threads:[~2011-05-25 20:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-25 14:20 [gentoo-user] Swap performance Alex Schuster
2011-05-25 15:31 ` Paul Hartman
2011-05-25 16:58   ` Volker Armin Hemmann
2011-05-25 19:34     ` Paul Hartman
2011-05-25 20:03     ` Alan McKinnon
2011-05-25 20:38       ` Alex Schuster
2011-05-25 22:40   ` Alex Schuster
2011-05-26 16:30     ` Volker Armin Hemmann
2011-05-25 16:49 ` Alan McKinnon
2011-05-26 20:49   ` Mick
2011-05-25 16:53 ` Volker Armin Hemmann
2011-05-25 20:07   ` Alan McKinnon [this message]
2011-05-26 13:32     ` Sebastian Beßler
2011-05-25 22:18   ` Alex Schuster
  -- strict thread matches above, loose matches on Subject: below --
2011-05-26 17:26 Alex Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201105252207.47238.alan.mckinnon@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox