Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932430Ab0BENYL (ORCPT ); Fri, 5 Feb 2010 08:24:11 -0500 Received: from borg.medozas.de ([188.40.89.202]:34197 "EHLO borg.medozas.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932309Ab0BENYJ (ORCPT ); Fri, 5 Feb 2010 08:24:09 -0500 Date: Fri, 5 Feb 2010 14:24:08 +0100 (CET) From: Jan Engelhardt To: Jens Axboe cc: Linux Kernel Mailing List Subject: Re: kswapd continuously active In-Reply-To: <20100205131220.GK1025@kernel.dk> Message-ID: References: <20100125130627.GO13771@kernel.dk> <20100205130002.GI1025@kernel.dk> <20100205131220.GK1025@kernel.dk> User-Agent: Alpine 2.01 (LSU 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1296 Lines: 30 On Friday 2010-02-05 14:12, Jens Axboe wrote: >> >> Today this happened again. So I looked at /proc/meminfo to paste today's >> >> values next to those from January. That is when I noticed the "Dirty" >> >> value - and thus I ran >> >> >> >> watch -d -n 1 'grep Dirty /proc/meminfo' >> >> >> >> What I see is that the dirty amount - a sync is currently running - >> >> only decreases with at most 400 KB/sec, often less than that. >> > >> >I'm guessing the barriers and commits are what is killing your >> >performance. What happens with barrier=0? >> >> The ext4 filesystem is already mounted with barrier=0. If there >> is any block-level barriers I also can turn off, what would be >> the command? > >barrier=0 is enough. I do wonder why your writeback rate is that slow, >then. The disk has write back caching enabled? Yes, that seems to be the case at least. In fact the box is all fluffy when nobody runs sync(1), which is what makes it so strange. sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/