From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mail.saout.de (Postfix) with ESMTP for ; Wed, 18 Aug 2010 13:43:16 +0200 (CEST) Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o7IBhFxc030169 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 18 Aug 2010 07:43:15 -0400 Received: from [10.34.26.53] (tawny.brq.redhat.com [10.34.26.53]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o7IBhEnW019021 for ; Wed, 18 Aug 2010 07:43:14 -0400 Message-ID: <4C6BC751.10506@redhat.com> Date: Wed, 18 Aug 2010 13:43:13 +0200 From: Milan Broz MIME-Version: 1.0 References: <20100817184635.GA17921@tansi.org> In-Reply-To: <20100817184635.GA17921@tansi.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] dm-crypt flush-to-disk freezes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On 08/17/2010 08:46 PM, Arno Wagner wrote: > The set-up is a dm-crypt partition with a Windows XP > VM and the current VMplayer, all with kernel 2.6.34.4 > from kernel.org and current vmware-tools in the VM. Can you be more specific? You have direct partition with LUKS and this is mapped to vmware directly as disk, right? No fs in the middle? Are there other encrypted disks on the same underlying device? Underlying disk is not SSD, right? What is the preemption type set in Linux kernel (Processor type/Preemption model in kernel config)? What is the IO scheduler for the underlying device? (You can try deadline or cfq with some tuning - this is possible to tune online). Probably tuning fs inside vm can help too. If it is massive syncing with lot of data waiting for completion, it is not good. btw I hope that in 2.6.36 we switch to global workqueues per cpu for dm-crypt, unfortunately Alasdair is still waiting with committing it (patches are ready and I am using it myself). (It can help or it can make it worse here. It needs testing.) Milan