mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Joseph D. Wagner" <joe@josephdwagner.info>
To: <linux-kernel@vger.kernel.org>
Subject: Excessive Swapping Under Minimal Load
Date: Sun, 12 May 2013 15:27:42 -0700	[thread overview]
Message-ID: <000001ce4f5f$ec7178f0$c5546ad0$@josephdwagner.info> (raw)

I am trying to use duplicity to backup my /home to an external hard drive
(usb 2 interface).  After running for a few minutes, my io slows to a crawl.
My system reports using about 300-400MB of swap, even though only about
600MB / 4GB is in use.

I am trying to isolate the cause.  It may be duplicity in conjunction with
the particulars of my configuration (see below).  I get good performance
under normal circumstances.  I am using fedora 18, which has /tmp mounted
using tmpfs, but duplicity never uses more than 1.0GB - 1.1GB.

First, is this the correct forum for asking for this kind of help?

Second, what information 

The particulars of my configuration:
sda1 -> win7 hidden boot
sda2 -> win7 regular
sda3 -> grub2 boot
sda5 -> luks swap
sda6 -> luks ext4 root
sda7 -> regular ext4 data
sdb1 -> luks userdata1 -> md raid 0 with userdata1 and userdata2-> ext4 home
sdc1 -> luks userdata2 -> md raid 0 with userdata1 and userdata2 -> ext4
home

My thinking in putting md raid on top of luks was that I would be able to
better use multithreading (2 luks, 1 per physical drive), whereas putting
luks on top of md raid might create a choke point (1 luks for 1 virtual
drive).  I'll admit that this might be the problem.  However, it works fine
under normal circumstances.

I was hoping someone could help me either 1) isolate what is causing the
swapping, or 2) tell me what is wrong with my configuration based upon their
knowledge of how the kernel works.

Thanks in advance.

Joseph D. Wagner


                 reply	other threads:[~2013-05-12 23:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='000001ce4f5f$ec7178f0$c5546ad0$@josephdwagner.info' \
    --to=joe@josephdwagner.info \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®