From: Heinz Diehl <htd@fancy-poultry.org>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] dm-crypt flush-to-disk freezes
Date: Wed, 18 Aug 2010 10:31:00 +0200 [thread overview]
Message-ID: <20100818083100.GB8462@fancy-poultry.org> (raw)
In-Reply-To: <20100817184635.GA17921@tansi.org>
On 17.08.2010, Arno Wagner wrote:
> What is the current take on this problem? Any fix
> known or expected for the near future?
I don't know, and I'm not a VM proff either. That said,
does it improve things when you write e.g. the following in your
sysctl.conf:
vm.dirty_ratio = 10
vm.dirty_background_ratio = 5
Or you could go even lower using
vm.dirty_background_bytes = 134217728
vm.dirty_bytes = 268435456
(but then without setting vm.dirty_ratio and vm.dirty_background).
It causes pdflush to write data more frequently and in smaller amounts,
thus reducing blocking via disk i/o.
next prev parent reply other threads:[~2010-08-18 8:31 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-17 18:46 [dm-crypt] dm-crypt flush-to-disk freezes Arno Wagner
2010-08-18 8:31 ` Heinz Diehl [this message]
2010-08-18 11:09 ` Rick Moritz
2010-08-18 11:43 ` Milan Broz
2010-08-18 13:18 ` Heinz Diehl
2010-08-18 14:36 ` Milan Broz
2010-08-18 13:22 ` Heinz Diehl
2010-08-18 14:12 ` Arno Wagner
2010-08-18 14:47 ` Milan Broz
2010-08-18 15:44 ` Arno Wagner
2010-08-22 19:52 ` Arno Wagner
2010-08-22 21:42 ` Christoph Anton Mitterer
2010-08-22 21:51 ` Arno Wagner
2010-08-22 21:58 ` Christoph Anton Mitterer
2010-08-22 22:01 ` Christoph Anton Mitterer
2010-08-23 6:24 ` Heinz Diehl
2010-08-23 0:47 ` Arno Wagner
2010-08-23 7:13 ` Milan Broz
2010-08-25 2:40 ` Arno Wagner
2010-08-25 14:13 ` Heinz Diehl
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=20100818083100.GB8462@fancy-poultry.org \
--to=htd@fancy-poultry.org \
--cc=dm-crypt@saout.de \
/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