From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 25 Jul 2007 01:07:25 -0700 (PDT) From: david@lang.hm Subject: Re: -mm merge plans for 2.6.23 In-Reply-To: <46A7031D.5080300@gmail.com> Message-ID: References: <20070710013152.ef2cd200.akpm@linux-foundation.org> <200707102015.44004.kernel@kolivas.org> <9a8748490707231608h453eefffx68b9c391897aba70@mail.gmail.com> <46A57068.3070701@yahoo.com.au> <2c0942db0707232153j3670ef31kae3907dff1a24cb7@mail.gmail.com> <46A58B49.3050508@yahoo.com.au> <2c0942db0707240915h56e007e3l9110e24a065f2e73@mail.gmail.com> <46A7031D.5080300@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; FORMAT=flowed Content-ID: Sender: owner-linux-mm@kvack.org Return-Path: To: Rene Herman Cc: Ray Lee , Nick Piggin , Jesper Juhl , Andrew Morton , ck list , Ingo Molnar , Paul Jackson , linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: On Wed, 25 Jul 2007, Rene Herman wrote: > On 07/25/2007 06:46 AM, david@lang.hm wrote: > >> you could make a synthetic test by writing a memory hog that allocates 3/4 >> of your ram then pauses waiting for input and then randomly accesses the >> memory for a while (say randomly accessing 2x # of pages allocated) and >> then pausing again before repeating > > Something like this? > >> run two of these, alternating which one is running at any one time. time >> how long it takes to do the random accesses. >> >> the difference in this time should be a fair example of how much it would >> impact the user. > > Notenotenote, not sure what you're going to show with it (times are simply as > horrendous as I'd expect) but thought I'd try to inject something other than > steaming cups of 4-letter beverages. when the swap readahead is enabled does it make a significant difference in the time to do the random access? if it does that should show a direct benifit of the patch in a simulation of a relativly common workflow (startup a memory hog like openoffice then try and go back to your prior work) David Lang -- 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