From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Chinner Subject: Re: [PATCH] mm: disallow direct reclaim page writeback Date: Thu, 15 Apr 2010 16:58:58 +1000 Message-ID: <20100415065858.GS2493@dastard> References: <20100415133332.D183.A69D9226@jp.fujitsu.com> <20100415063219.GR2493@dastard> <20100415154328.D18F.A69D9226@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Mel Gorman , Chris Mason , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org To: KOSAKI Motohiro Return-path: Content-Disposition: inline In-Reply-To: <20100415154328.D18F.A69D9226@jp.fujitsu.com> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Apr 15, 2010 at 03:44:50PM +0900, KOSAKI Motohiro wrote: > > > Now, kernel compile and/or backup operation seems keep nr_vmscan_write==0. > > > Dave, can you please try to run your pageout annoying workload? > > > > It's just as easy for you to run and observe the effects. Start with a VM > > with 1GB RAM and a 10GB scratch block device: > > > > # mkfs.xfs -f /dev/ > > # mount -o logbsize=262144,nobarrier /dev/ /mnt/scratch > > > > in one shell: > > > > # while [ 1 ]; do dd if=/dev/zero of=/mnt/scratch/foo bs=1024k ; done > > > > in another shell, if you have fs_mark installed, run: > > > > # ./fs_mark -S0 -n 100000 -F -s 0 -d /mnt/scratch/0 -d /mnt/scratch/1 -d /mnt/scratch/3 -d /mnt/scratch/2 & > > > > otherwise run a couple of these in parallel on different directories: > > > > # for i in `seq 1 1 100000`; do echo > /mnt/scratch/0/foo.$i ; done > > Thanks. > > Unfortunately, I don't have unused disks. So, I'll try it at (probably) > next week. A filesystem on a loopback device will work just as well ;) Cheers, Dave. -- Dave Chinner david@fromorbit.com -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org