Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1262266

Re: Improve spinlock performance by moving work to one core

From Ling Ma <ling.ma.program@gmail.com>
Newsgroups linux.kernel
Subject Re: Improve spinlock performance by moving work to one core
Date 2015-11-04 13:50 +0100
Message-ID <qr5FM-tl-17@gated-at.bofh.it> (permalink)
References <qr5FM-tl-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi All,

(send again for linux-kernel@vger.kernel.org)

Spinlock caused cache line ping-pong between cores,
we have to spend lots of time to get serialized execution.
However if we present the serialized work to one core,
it will help us save much time.

In the attachment we changed code based on queued spinlock
The data tell us the spinlock performance can be improved by over 2X on 68cores
over 3X on 2 cores (Intel 2699v3 2 sockets, COD off, HT on)

In the following time we will try to send out the formal patch

Appreciate your comments.

Thanks

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: Improve spinlock performance by moving work to one core Ling Ma <ling.ma.program@gmail.com> - 2015-11-04 13:50 +0100

csiph-web