Re: [PATCH v3] Perf Bench: Locking Microbenchmark

2014-12-17 Thread Tuan Bui
On Thu, 2014-12-11 at 18:12 -0300, Arnaldo Carvalho de Melo wrote: > > +struct timeval start, end, total; > > +static unsigned int start_nr = 100; > > +static unsigned int end_nr = 1100; > > +static unsigned int increment_by = 100; > > +static int bench_dur = NOTSET; > > +static int num_jobs =

Re: [PATCH v3] Perf Bench: Locking Microbenchmark

2014-12-17 Thread Tuan Bui
On Thu, 2014-12-11 at 18:12 -0300, Arnaldo Carvalho de Melo wrote: +struct timeval start, end, total; +static unsigned int start_nr = 100; +static unsigned int end_nr = 1100; +static unsigned int increment_by = 100; +static int bench_dur = NOTSET; +static int num_jobs = NOTSET;

Re: [PATCH v3] Perf Bench: Locking Microbenchmark

2014-12-11 Thread Davidlohr Bueso
On Tue, 2014-12-09 at 14:54 -0800, Tuan Bui wrote: > [root@u64 ~]# perf bench locking vfs > # Running 'locking/vfs' benchmark: > >100 processes: throughput = 342506 average opts/sec all processes >100 processes: throughput = 3425 average opts/sec per process > >200 processes:

Re: [PATCH v3] Perf Bench: Locking Microbenchmark

2014-12-11 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 09, 2014 at 02:54:53PM -0800, Tuan Bui escreveu: > Subject: [PATCH] Perf Bench: Locking Microbenchmark > > In response to this thread https://lkml.org/lkml/2014/2/11/93, this is > a micro benchmark that stresses locking contention in the kernel with > creat(2) system call by spawning

Re: [PATCH v3] Perf Bench: Locking Microbenchmark

2014-12-11 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 09, 2014 at 02:54:53PM -0800, Tuan Bui escreveu: Subject: [PATCH] Perf Bench: Locking Microbenchmark In response to this thread https://lkml.org/lkml/2014/2/11/93, this is a micro benchmark that stresses locking contention in the kernel with creat(2) system call by spawning

Re: [PATCH v3] Perf Bench: Locking Microbenchmark

2014-12-11 Thread Davidlohr Bueso
On Tue, 2014-12-09 at 14:54 -0800, Tuan Bui wrote: [root@u64 ~]# perf bench locking vfs # Running 'locking/vfs' benchmark: 100 processes: throughput = 342506 average opts/sec all processes 100 processes: throughput = 3425 average opts/sec per process 200 processes: throughput =

Re: [PATCH v3] Perf Bench: Locking Microbenchmark

2014-12-10 Thread Ingo Molnar
* Tuan Bui wrote: > Subject: [PATCH] Perf Bench: Locking Microbenchmark Acked-by: Ingo Molnar Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v3] Perf Bench: Locking Microbenchmark

2014-12-10 Thread Ingo Molnar
* Tuan Bui tuan.d@hp.com wrote: Subject: [PATCH] Perf Bench: Locking Microbenchmark Acked-by: Ingo Molnar mi...@kernel.org Thanks, Ingo -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

[PATCH v3] Perf Bench: Locking Microbenchmark

2014-12-09 Thread Tuan Bui
Subject: [PATCH] Perf Bench: Locking Microbenchmark In response to this thread https://lkml.org/lkml/2014/2/11/93, this is a micro benchmark that stresses locking contention in the kernel with creat(2) system call by spawning multiple processes to spam this system call. This workload generate

[PATCH v3] Perf Bench: Locking Microbenchmark

2014-12-09 Thread Tuan Bui
Subject: [PATCH] Perf Bench: Locking Microbenchmark In response to this thread https://lkml.org/lkml/2014/2/11/93, this is a micro benchmark that stresses locking contention in the kernel with creat(2) system call by spawning multiple processes to spam this system call. This workload generate