Return-Path: Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mail.saout.de (Postfix) with ESMTP for ; Wed, 16 Sep 2009 19:40:50 +0200 (CEST) Received: by ey-out-2122.google.com with SMTP id 22so1076241eye.3 for ; Wed, 16 Sep 2009 10:40:50 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20090916081108.GB8804@tansi.org> References: <20090916081108.GB8804@tansi.org> Date: Wed, 16 Sep 2009 19:40:50 +0200 Message-ID: From: Christian Pernegger Content-Type: text/plain; charset=UTF-8 Subject: Re: [dm-crypt] md-raid5+lvm+dm-crypt+kvm: one streaming write starves all reads List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de > So, possibly no connection to dm-crypt, just the > buffer-cache having badly tuned parameters for > this type of operation. Quite possible. Normally the block devices kvm provides for guests are backed by the host's cache, which results in native I/O throughput (100MiB/s read and write on encrypted partitions) in the guests but has a major starvation problem when dm-crypt is part of the mix. Forcing kvm to go directly to the disks bypassing the host's cache (using drive=...,cache=none) fixes the starvation issue completely but limits throughput to an appaling 25MB/s read and 15MB/s write ... Any idea why this setup would behave as it does? How can I check if flushes really are the problem? Thanks, Chris