Re: [PATCH 2/5] x86,smp: proportional backoff for ticket spinlocks

2013-01-09 Thread Rafael Aquini
On Tue, Jan 08, 2013 at 05:32:41PM -0500, Rik van Riel wrote: > Subject: x86,smp: proportional backoff for ticket spinlocks > > Simple fixed value proportional backoff for ticket spinlocks. > By pounding on the cacheline with the spin lock less often, > bus traffic is reduced. In cases of a data

Re: [PATCH 2/5] x86,smp: proportional backoff for ticket spinlocks

2013-01-09 Thread Rafael Aquini
On Tue, Jan 08, 2013 at 05:32:41PM -0500, Rik van Riel wrote: Subject: x86,smp: proportional backoff for ticket spinlocks Simple fixed value proportional backoff for ticket spinlocks. By pounding on the cacheline with the spin lock less often, bus traffic is reduced. In cases of a data

Re: [PATCH 2/5] x86,smp: proportional backoff for ticket spinlocks

2013-01-08 Thread Rik van Riel
On 01/08/2013 05:50 PM, Eric Dumazet wrote: On Tue, 2013-01-08 at 17:32 -0500, Rik van Riel wrote: Subject: x86,smp: proportional backoff for ticket spinlocks Simple fixed value proportional backoff for ticket spinlocks. By pounding on the cacheline with the spin lock less often, bus traffic

Re: [PATCH 2/5] x86,smp: proportional backoff for ticket spinlocks

2013-01-08 Thread Eric Dumazet
On Tue, 2013-01-08 at 17:32 -0500, Rik van Riel wrote: > Subject: x86,smp: proportional backoff for ticket spinlocks > > Simple fixed value proportional backoff for ticket spinlocks. > By pounding on the cacheline with the spin lock less often, > bus traffic is reduced. In cases of a data

[PATCH 2/5] x86,smp: proportional backoff for ticket spinlocks

2013-01-08 Thread Rik van Riel
Subject: x86,smp: proportional backoff for ticket spinlocks Simple fixed value proportional backoff for ticket spinlocks. By pounding on the cacheline with the spin lock less often, bus traffic is reduced. In cases of a data structure with embedded spinlock, the lock holder has a better chance of

[PATCH 2/5] x86,smp: proportional backoff for ticket spinlocks

2013-01-08 Thread Rik van Riel
Subject: x86,smp: proportional backoff for ticket spinlocks Simple fixed value proportional backoff for ticket spinlocks. By pounding on the cacheline with the spin lock less often, bus traffic is reduced. In cases of a data structure with embedded spinlock, the lock holder has a better chance of

Re: [PATCH 2/5] x86,smp: proportional backoff for ticket spinlocks

2013-01-08 Thread Eric Dumazet
On Tue, 2013-01-08 at 17:32 -0500, Rik van Riel wrote: Subject: x86,smp: proportional backoff for ticket spinlocks Simple fixed value proportional backoff for ticket spinlocks. By pounding on the cacheline with the spin lock less often, bus traffic is reduced. In cases of a data structure

Re: [PATCH 2/5] x86,smp: proportional backoff for ticket spinlocks

2013-01-08 Thread Rik van Riel
On 01/08/2013 05:50 PM, Eric Dumazet wrote: On Tue, 2013-01-08 at 17:32 -0500, Rik van Riel wrote: Subject: x86,smp: proportional backoff for ticket spinlocks Simple fixed value proportional backoff for ticket spinlocks. By pounding on the cacheline with the spin lock less often, bus traffic

Re: [RFC PATCH 2/5] x86,smp: proportional backoff for ticket spinlocks

2013-01-03 Thread Raghavendra K T
On 01/03/2013 05:12 PM, Michel Lespinasse wrote: On Thu, Jan 3, 2013 at 3:35 AM, Raghavendra KT wrote: [Ccing IBM id] On Thu, Jan 3, 2013 at 10:52 AM, Rik van Riel wrote: Simple fixed value proportional backoff for ticket spinlocks. By pounding on the cacheline with the spin lock less often,

Re: [RFC PATCH 2/5] x86,smp: proportional backoff for ticket spinlocks

2013-01-03 Thread Michel Lespinasse
On Thu, Jan 3, 2013 at 3:35 AM, Raghavendra KT wrote: > [Ccing IBM id] > On Thu, Jan 3, 2013 at 10:52 AM, Rik van Riel wrote: >> Simple fixed value proportional backoff for ticket spinlocks. >> By pounding on the cacheline with the spin lock less often, >> bus traffic is reduced. In cases of a

Re: [RFC PATCH 2/5] x86,smp: proportional backoff for ticket spinlocks

2013-01-03 Thread Raghavendra KT
[Ccing IBM id] On Thu, Jan 3, 2013 at 10:52 AM, Rik van Riel wrote: > Simple fixed value proportional backoff for ticket spinlocks. > By pounding on the cacheline with the spin lock less often, > bus traffic is reduced. In cases of a data structure with > embedded spinlock, the lock holder has a

Re: [RFC PATCH 2/5] x86,smp: proportional backoff for ticket spinlocks

2013-01-03 Thread Raghavendra KT
[Ccing IBM id] On Thu, Jan 3, 2013 at 10:52 AM, Rik van Riel r...@redhat.com wrote: Simple fixed value proportional backoff for ticket spinlocks. By pounding on the cacheline with the spin lock less often, bus traffic is reduced. In cases of a data structure with embedded spinlock, the lock

Re: [RFC PATCH 2/5] x86,smp: proportional backoff for ticket spinlocks

2013-01-03 Thread Michel Lespinasse
On Thu, Jan 3, 2013 at 3:35 AM, Raghavendra KT raghavendra.kt.li...@gmail.com wrote: [Ccing IBM id] On Thu, Jan 3, 2013 at 10:52 AM, Rik van Riel r...@redhat.com wrote: Simple fixed value proportional backoff for ticket spinlocks. By pounding on the cacheline with the spin lock less often,

Re: [RFC PATCH 2/5] x86,smp: proportional backoff for ticket spinlocks

2013-01-03 Thread Raghavendra K T
On 01/03/2013 05:12 PM, Michel Lespinasse wrote: On Thu, Jan 3, 2013 at 3:35 AM, Raghavendra KT raghavendra.kt.li...@gmail.com wrote: [Ccing IBM id] On Thu, Jan 3, 2013 at 10:52 AM, Rik van Riel r...@redhat.com wrote: Simple fixed value proportional backoff for ticket spinlocks. By pounding on

[RFC PATCH 2/5] x86,smp: proportional backoff for ticket spinlocks

2013-01-02 Thread Rik van Riel
Simple fixed value proportional backoff for ticket spinlocks. By pounding on the cacheline with the spin lock less often, bus traffic is reduced. In cases of a data structure with embedded spinlock, the lock holder has a better chance of making progress. If we are next in line behind the current

[RFC PATCH 2/5] x86,smp: proportional backoff for ticket spinlocks

2013-01-02 Thread Rik van Riel
Simple fixed value proportional backoff for ticket spinlocks. By pounding on the cacheline with the spin lock less often, bus traffic is reduced. In cases of a data structure with embedded spinlock, the lock holder has a better chance of making progress. If we are next in line behind the current