From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boaz Harrosh Subject: Re: [LFS/VM TOPIC] Stable pages while IO (was Wrong DIF guard tag on ext2 write) Date: Mon, 07 Jun 2010 11:30:12 +0300 Message-ID: <4C0CAE14.1020205@panasas.com> References: <20100531112817.GA16260@schmichrtp.mainz.de.ibm.com> <4C07D3D0.8010500@panasas.com> <20100604162332.GF3414@quack.suse.cz> <4C0B6BC7.8070803@panasas.com> <20100606233753.GC3302@quack.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Christof Schmitt , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, lsf10-pc@lists.linuxfoundation.org, Nick Piggin , Al Viro , Chris Mason , James Bottomley , "Martin K. Petersen" , Ric Wheeler , Matthew Wilcox , Vladislav Bolkhovitin , Christoph Hellwig To: Jan Kara Return-path: In-Reply-To: <20100606233753.GC3302@quack.suse.cz> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On 06/07/2010 02:37 AM, Jan Kara wrote: >> With other none checksum fixtures, like RAID5/MIRROR this is not always >> > an option and it becomes keep-constant vs copy. (That is complete >> > workload copy). So for these setups the option is clear. No? > > Is it? You can have enough CPU / memory bandwidth to do the copying while > you need not be comfortable with a thread blocking until IO is finished > when it tries to do a rewrite... > >> I'm glad that you think it is easy/doable to implement. And I'll surly >> test your above receipt. Do you think it would be acceptable as a generic >> per-sb tunable. So for instance an ext3 over RAID5 could turn this on >> and eliminate the data copy? > > Yes, that would be useful. At least so that one can get real performance > numbers... > > Honza Thanks Jan. You have helped me tremendously. I think I can begin to understand now what I need to do. With the workloads I need (HPC), every cycle/memory counts and that the app waits for a rewrite is a good thing, which reminds me that I would want to trace that case so applications could be fixed, tuned. I do understand that for a desktop, that might be just the opposite, so testing is important. Perhaps I'll need help in instrumenting all this. Thanks Boaz