Re: [PATCH] VM: Implements the swap-out page-clustering technique

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Thursday, September 4, 2008 - 11:58 pm

On Fri, 05 Sep 2008 11:15:07 +0330 "Hamid R. Jahanjou" <hamid.jahanjou@gmail.com> wrote:


Pretty much any and all benchmarks, when there's not enough memory
(boot with mem=).  Kernel compiles, database benchmarks, you name it. 
Basically anything which has a measurable execution time is relevant.

Designing and running these things is a lot of work and thought.  And
it's an integral part of the development process, because some things
are going to get slower and others will show large inter-run variations
and then one needs to get in there and find explanations and hopefully
fixes.

For example, start with small and simple microbenchmarks: run two
processes which concurrently allocate 1*mem, then modify it all
linearly, then read it all linearly.  Build up from there.  Do not
dive into complex benchmarks on day 1, because you'll have no hope of
explaining the results which they produce.

Beware that behaviour on SMP can be very different from behaviour on
uniprocessor because of the relatively large duration of a timeslice. 
Both must be tested.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] VM: Implements the swap-out page-clustering technique, Hamid R. Jahanjou, (Thu Sep 4, 5:04 am)
Re: [PATCH] VM: Implements the swap-out page-clustering te ..., Andrew Morton, (Thu Sep 4, 11:58 pm)
Re: [PATCH] VM: Implements the swap-out page-clustering te ..., Hamid R. Jahanjou, (Fri Sep 5, 12:45 am)
Re: [PATCH] VM: Implements the swap-out page-clustering te ..., hamidreza jahanjou, (Mon Sep 8, 2:51 am)
Re: [PATCH] VM: Implements the swap-out page-clustering te ..., Hamid R. Jahanjou, (Wed Sep 10, 1:16 am)
Re: [PATCH] VM: Implements the swap-out page-clustering te ..., Luiz Fernando N. Cap ..., (Wed Sep 24, 6:56 am)