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


Groups > linux.kernel > #1466991

Re: Context switch latency in tickless isolated CPU

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: Context switch latency in tickless isolated CPU
Date Sun, 21 Aug 2016 17:00:01 +0200
Message-ID <s8Co9-1CP-7@gated-at.bofh.it> (permalink)
References <s72G6-5IV-7@gated-at.bofh.it> <s7mbL-2j1-7@gated-at.bofh.it> <s7mbL-2j1-5@gated-at.bofh.it> <s7RfA-5Cv-7@gated-at.bofh.it> <s8z6W-88W-21@gated-at.bofh.it>
X-Ibm-Helo d03dlp01.boulder.ibm.com
X-Ibm-Mailfrom paulmck@linux.vnet.ibm.com
Reply-To paulmck@linux.vnet.ibm.com
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.21 (2010-09-15)
X-Tm-As-Gconf 00
X-Content-Scanned Fidelis XPS MAILER
X-Cbid 16082114-0020-0000-0000-00000999AB16
X-Ibm-Spammodules-Versions BY=3.00005623; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000183; SDB=6.00747670; UDB=6.00352742; IPR=6.00520295; BA=6.00004671; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00012407; XFM=3.00000011; UTC=2016-08-21 14:52:56
X-Ibm-Av-Detection SAVI=unused REMOTE=unused XFE=unused
X-Cbparentid 16082114-0021-0000-0000-000054C28CEA
X-Proofpoint-Virus-Version vendor=fsecure engine=2.50.10432:,, definitions=2016-08-21_08:,, signatures=0
X-Proofpoint-Spam-Details rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1608210167
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 18
Organization linux.* mail to news gateway
X-Original-Cc Peter Zijlstra <peterz@infradead.org>, Chris Metcalf <cmetcalf@mellanox.com>, Frédéric Weisbecker <fweisbec@gmail.com>, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@kernel.org
X-Original-Date Sun, 21 Aug 2016 07:53:02 -0700
X-Original-Message-ID <20160821145302.GP3482@linux.vnet.ibm.com>
X-Original-References <CANv7uPR+RidX41Jyzy-xpYqYHSPiw3TrBgAm11PzOfNEeP7wJA@mail.gmail.com> <86f3248c-defd-f200-9eb6-bdf420771745@mellanox.com> <CANv7uPSwu=nxYYjWQFABcyj6ZpAemHyXbn4JnZ6WaVJQd3RX4A@mail.gmail.com> <20160819123437.GE10121@twins.programming.kicks-ass.net> <CANv7uPRh4RiSXwpRsOooNAJumMj2TmiRc3Qq5_kwzf9SetE_FA@mail.gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1466991

Show key headers only | View raw


On Sun, Aug 21, 2016 at 07:26:04PM +0800, GeHao Kang wrote:
> On Fri, Aug 19, 2016 at 8:34 PM, Peter Zijlstra <peterz@infradead.org> wrote:
> 
> > Why are you wanting to use nohz_full if you do syscalls?
> 
> We hope to reduce the overhead of the tick while the real time
> applications run,
> and these applications might do some syscalls to operate the I/O devices like
> EtherCAT.

If latency is all you care about, one approach is to map the device
registers into userspace and do the I/O without assistance from the
kernel.

Alternatively, use in-memory mailbox/queuing techniques to hand the
I/O off to some other thread.

							Thanx, Paul

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


Thread

Context switch latency in tickless isolated CPU GeHao Kang <kanghao0928@gmail.com> - 2016-08-17 08:40 +0200
  Re: Context switch latency in tickless isolated CPU GeHao Kang <kanghao0928@gmail.com> - 2016-08-18 05:30 +0200
    Re: Context switch latency in tickless isolated CPU Peter Zijlstra <peterz@infradead.org> - 2016-08-19 14:40 +0200
      Re: Context switch latency in tickless isolated CPU GeHao Kang <kanghao0928@gmail.com> - 2016-08-21 13:30 +0200
        Re: Context switch latency in tickless isolated CPU "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-08-21 17:00 +0200
          Re: Context switch latency in tickless isolated CPU GeHao Kang <kanghao0928@gmail.com> - 2016-08-22 11:50 +0200
            Re: Context switch latency in tickless isolated CPU "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-08-22 16:50 +0200
              Re: Context switch latency in tickless isolated CPU Mark Hounschell <markh@compro.net> - 2016-08-22 17:20 +0200
                Re: Context switch latency in tickless isolated CPU "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-08-22 17:40 +0200
                Re: Context switch latency in tickless isolated CPU Mark Hounschell <markh@compro.net> - 2016-08-22 18:50 +0200

csiph-web