Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761315AbXHESKk (ORCPT ); Sun, 5 Aug 2007 14:10:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757263AbXHESKO (ORCPT ); Sun, 5 Aug 2007 14:10:14 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:51185 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756204AbXHESKM (ORCPT ); Sun, 5 Aug 2007 14:10:12 -0400 Subject: Re: [PATCH 00/23] per device dirty throttling -v8 From: Arjan van de Ven To: Theodore Tso Cc: Alan Cox , Claudio Martins , Jeff Garzik , Ingo Molnar , =?ISO-8859-1?Q?J=F6rn?= Engel , Linus Torvalds , Peter Zijlstra , linux-mm@kvack.org, Linux Kernel Mailing List , miklos@szeredi.hu, akpm@linux-foundation.org, neilb@suse.de, dgc@sgi.com, tomoki.sekiyama.qu@hitachi.com, nikita@clusterfs.com, trond.myklebust@fys.uio.no, yingchao.zhou@gmail.com, richard@rsk.demon.co.uk, david@lang.hm In-Reply-To: <20070805144645.GA28263@thunk.org> References: <20070803123712.987126000@chello.nl> <46B4E161.9080100@garzik.org> <20070804224706.617500a0@the-village.bc.nu> <200708050051.40758.ctpm@ist.utl.pt> <20070805014926.400d0608@the-village.bc.nu> <20070805144645.GA28263@thunk.org> Content-Type: text/plain Organization: Intel International BV Date: Sun, 05 Aug 2007 11:08:19 -0700 Message-Id: <1186337299.2777.19.camel@laptopd505.fenrus.org> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-2.fc7) Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1718 Lines: 34 > > In addition, big server boxes are usually not reading a huge *number* > of files per second. The place where you see this as a problem is (a) > compilation, thanks to huge /usr/include hierarchies (and here things > have gotten worse over time as include files have gotten much more > complex than in the early Unix days), and (b) silly desktop apps that > want to scan huge numbers of XML files or who want to read every > single image file on the desktop or in an open file browser window to > show c00l icons. Oh, and I guess I should include Maildir setups. > > If you are always reading from the same small set of files (i.e., a > database workload), then those inodes only get updated every 5 seconds > (the traditional/default metadata update sync time, as well as the > default ext3 journal update time), it's no big deal. Or if you are > running a mail server, most of the time the mail queue files are > getting updated anyway as you process them, and usually the mail is > delivered before 5 seconds is up anyway. it's just one of those things that get compounded with journaling filesystems though..... a single async write that happens "sometime in the future" is one thing... having a full transaction (which acts as barrier and synchronisation point) is something totally worse. -- if you want to mail me at work (you don't), use arjan (at) linux.intel.com Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org - 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/