Re: [RFC] implement QUEUED spinlocks on powerpc

2017-02-15 Thread panxinhui
在 2017/2/13 下午5:08, panxinhui 写道: > > > 在 2017/2/7 下午2:46, Eric Dumazet 写道: >> On Mon, Feb 6, 2017 at 10:21 PM, panxinhui wrote: >> >>> hi all >>> I do some netperf tests and get some benchmark results. >>> I also attach my test script and netperf-result(Excel) >>> > HI, all > I use lo

Re: [RFC] implement QUEUED spinlocks on powerpc

2017-02-13 Thread panxinhui
在 2017/2/7 下午2:46, Eric Dumazet 写道: > On Mon, Feb 6, 2017 at 10:21 PM, panxinhui wrote: > >> hi all >> I do some netperf tests and get some benchmark results. >> I also attach my test script and netperf-result(Excel) >> HI, all I use loopback interface to run netperf tests, #tc qd add d

Re: [RFC] implement QUEUED spinlocks on powerpc

2017-02-06 Thread panxinhui
在 2017/2/7 下午2:46, Eric Dumazet 写道: On Mon, Feb 6, 2017 at 10:21 PM, panxinhui wrote: hi all I do some netperf tests and get some benchmark results. I also attach my test script and netperf-result(Excel) There are two machine. one runs netserver and the other runs netperf benchmark.

Re: [RFC] implement QUEUED spinlocks on powerpc

2017-02-01 Thread Benjamin Herrenschmidt
On Wed, 2017-02-01 at 20:40 -0800, Eric Dumazet wrote: > A typical benchmark would be to use 200 concurrent netperf -t TCP_RR, > through a single qdisc (protected by a spinlock) > > Non ticket/queued spinlocks behave quite bad in this scenario. > > I can try this next week if you want. That woul

Re: [RFC] implement QUEUED spinlocks on powerpc

2017-02-01 Thread Michael Ellerman
Benjamin Herrenschmidt writes: > On Wed, 2017-02-01 at 09:05 -0800, Eric Dumazet wrote: >> Hi all >> >> Is anybody working on adding QUEUED spinlocks to powerpc 64bit ? >> >> I've seen past attempts with ticket spinlocks >> ( https://patchwork.ozlabs.org/patch/449381/ and other related links >>

Re: [RFC] implement QUEUED spinlocks on powerpc

2017-02-01 Thread Benjamin Herrenschmidt
On Wed, 2017-02-01 at 09:05 -0800, Eric Dumazet wrote: > Hi all > > Is anybody working on adding QUEUED spinlocks to powerpc 64bit ? > > I've seen past attempts with ticket spinlocks > ( https://patchwork.ozlabs.org/patch/449381/ and other related links > ) > > But it looks ticket spinlocks are