Re: [PATCH 1/5] rcu/rcuperf: Add kfree_rcu() performance Tests

2019-09-03 Thread Joel Fernandes
On Tue, Sep 03, 2019 at 01:08:49PM -0700, Paul E. McKenney wrote: > On Thu, Aug 29, 2019 at 04:56:37PM -0400, Joel Fernandes wrote: > > On Wed, Aug 28, 2019 at 02:12:26PM -0700, Paul E. McKenney wrote: > > [ . . . ] > > > > > +static int > > > > +kfree_perf_thread(void *arg) > > > > +{ > > > > +

Re: [PATCH 1/5] rcu/rcuperf: Add kfree_rcu() performance Tests

2019-09-03 Thread Paul E. McKenney
On Thu, Aug 29, 2019 at 04:56:37PM -0400, Joel Fernandes wrote: > On Wed, Aug 28, 2019 at 02:12:26PM -0700, Paul E. McKenney wrote: [ . . . ] > > > +static int > > > +kfree_perf_thread(void *arg) > > > +{ > > > + int i, loop = 0; > > > + long me = (long)arg; > > > + struct kfree_obj *alloc_ptr; >

Re: [PATCH 1/5] rcu/rcuperf: Add kfree_rcu() performance Tests

2019-08-29 Thread Joel Fernandes
On Wed, Aug 28, 2019 at 02:12:26PM -0700, Paul E. McKenney wrote: > On Tue, Aug 27, 2019 at 03:01:55PM -0400, Joel Fernandes (Google) wrote: > > This test runs kfree_rcu() in a loop to measure performance of the new > > kfree_rcu() batching functionality. > > > > The following table shows results

Re: [PATCH 1/5] rcu/rcuperf: Add kfree_rcu() performance Tests

2019-08-28 Thread Paul E. McKenney
On Tue, Aug 27, 2019 at 03:01:55PM -0400, Joel Fernandes (Google) wrote: > This test runs kfree_rcu() in a loop to measure performance of the new > kfree_rcu() batching functionality. > > The following table shows results when booting with arguments: > rcuperf.kfree_loops=2 rcuperf.kfree_alloc

[PATCH 1/5] rcu/rcuperf: Add kfree_rcu() performance Tests

2019-08-27 Thread Joel Fernandes (Google)
This test runs kfree_rcu() in a loop to measure performance of the new kfree_rcu() batching functionality. The following table shows results when booting with arguments: rcuperf.kfree_loops=2 rcuperf.kfree_alloc_num=8000 rcuperf.kfree_rcu_test=1 In addition, rcuperf.kfree_no_batch is used to