Re: [PATCH 1/8] THP: Use real address for NUMA policy
From: Ingo Molnar
Date: Thu Sep 05 2013 - 07:15:22 EST
* Alex Thorlton <athorlton@xxxxxxx> wrote:
> > Robin,
> >
> > I tweaked one of our other tests to behave pretty much exactly as I
> > - malloc a large array
> > - Spawn a specified number of threads
> > - Have each thread touch small, evenly spaced chunks of the array (e.g.
> > for 128 threads, the array is divided into 128 chunks, and each thread
> > touches 1/128th of each chunk, dividing the array into 16,384 pieces)
>
> Forgot to mention that the threads don't touch their chunks of memory
> concurrently, i.e. thread 2 has to wait for thread 1 to finish first.
> This is important to note, since the pages won't all get stuck on the
> first node without this behavior.
Could you post the testcase please?
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/