Skip to content

Commit

Permalink
page_bench02: some adjustment before collecting stats for MM-summit 2017
Browse files Browse the repository at this point in the history
  • Loading branch information
netoptimizer committed Mar 8, 2017
1 parent cb61a1e commit c311f18
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions kernel/mm/bench/page_bench02.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ static int parallel_cpus = 2;
module_param(parallel_cpus, uint, 0);
MODULE_PARM_DESC(parallel_cpus, "Parameter for number of parallel CPUs");

static int parallel_outstanding = 128;
static int parallel_outstanding = 64;
module_param(parallel_outstanding, uint, 0);
MODULE_PARM_DESC(parallel_outstanding,
"Number of outstanding pagee in parallel test");
"Number of outstanding pages in parallel test");


/* Most simple case for comparison */
Expand Down Expand Up @@ -235,10 +235,14 @@ void noinline run_bench_bench_outstanding(uint32_t loops)
time_alloc_pages_outstanding);
time_bench_loop(loops, 128, "step_outstanding_pages", NULL,
time_alloc_pages_outstanding);
time_bench_loop(loops, 256, "step_outstanding_pages", NULL,
time_alloc_pages_outstanding);
time_bench_loop(loops, 512, "step_outstanding_pages", NULL,
time_alloc_pages_outstanding);
time_bench_loop(loops, 1024, "step_outstanding_pages", NULL,
time_alloc_pages_outstanding);
time_bench_loop(loops, 2048, "step_outstanding_pages", NULL,
time_alloc_pages_outstanding);
time_bench_loop(loops, 4096, "step_outstanding_pages", NULL,
time_alloc_pages_outstanding);
time_bench_loop(loops, 8192, "step_outstanding_pages", NULL,
Expand Down

0 comments on commit c311f18

Please sign in to comment.