Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753485AbbEIKvb (ORCPT ); Sat, 9 May 2015 06:51:31 -0400 Received: from mail-am1on0074.outbound.protection.outlook.com ([157.56.112.74]:25600 "EHLO emea01-am1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752202AbbEIKv1 (ORCPT ); Sat, 9 May 2015 06:51:27 -0400 X-Greylist: delayed 1967 seconds by postgrey-1.27 at vger.kernel.org; Sat, 09 May 2015 06:51:26 EDT From: Gilad Ben Yossef To: Mike Galbraith , Ingo Molnar CC: Andrew Morton , Chris Metcalf , Steven Rostedt , Ingo Molnar , Peter Zijlstra , Rik van Riel , Tejun Heo , Frederic Weisbecker , Thomas Gleixner , "Paul E. McKenney" , Christoph Lameter , "Srivatsa S. Bhat" , "linux-doc@vger.kernel.org" , "linux-api@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH 0/6] support "dataplane" mode for nohz_full Thread-Topic: [PATCH 0/6] support "dataplane" mode for nohz_full Thread-Index: AQHQibikViBQ1zKAfk6UGY3weytMPZ1ylZcAgAABDQCAAB51AIAAAjuAgACCVQCAAAPvgIAAFGlg Date: Sat, 9 May 2015 10:18:36 +0000 Message-ID: References: <1431107927-13998-1-git-send-email-cmetcalf@ezchip.com> <20150508141824.797eb0d89d514e39fd30fffe@linux-foundation.org> <20150508172210.559830a9@gandalf.local.home> <554D428E.6020702@ezchip.com> <20150508161909.308d60e21f6b83b897174276@linux-foundation.org> <20150509070538.GA9413@gmail.com> <1431155983.3209.131.camel@gmail.com> In-Reply-To: <1431155983.3209.131.camel@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none; x-originating-ip: [202.111.50.2] x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM2PR02MB0771; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:AM2PR02MB0771;BCL:0;PCL:0;RULEID:;SRVR:AM2PR02MB0771; x-forefront-prvs: 05715BE7FD x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(377424004)(51704005)(479174004)(377454003)(252514010)(61484003)(24454002)(38414003)(19580405001)(122556002)(5001770100001)(19580395003)(189998001)(86362001)(46102003)(66066001)(40100003)(5001960100002)(74316001)(93886004)(54356999)(76176999)(15975445007)(102836002)(92566002)(50986999)(2900100001)(33656002)(2950100001)(76576001)(87936001)(77156002)(106116001)(62966003)(2656002)(18886065003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM2PR02MB0771;H:AM2PR02MB0417.eurprd02.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-OriginatorOrg: ezchip.com X-MS-Exchange-CrossTenant-originalarrivaltime: 09 May 2015 10:18:36.1750 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0fc16e0a-3cd3-4092-8b2f-0a42cff122c3 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR02MB0771 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by nfs id t49AphRD032516 Content-Length: 3728 Lines: 84 > From: Mike Galbraith [mailto:umgwanakikbuti@gmail.com] > Sent: Saturday, May 09, 2015 10:20 AM > To: Ingo Molnar > Cc: Andrew Morton; Chris Metcalf; Steven Rostedt; Gilad Ben Yossef; Ingo > Molnar; Peter Zijlstra; Rik van Riel; Tejun Heo; Frederic Weisbecker; > Thomas Gleixner; Paul E. McKenney; Christoph Lameter; Srivatsa S. Bhat; > linux-doc@vger.kernel.org; linux-api@vger.kernel.org; linux- > kernel@vger.kernel.org > Subject: Re: [PATCH 0/6] support "dataplane" mode for nohz_full > > On Sat, 2015-05-09 at 09:05 +0200, Ingo Molnar wrote: > > * Andrew Morton wrote: > > > > > On Fri, 8 May 2015 19:11:10 -0400 Chris Metcalf > wrote: > > > > > > > On 5/8/2015 5:22 PM, Steven Rostedt wrote: > > > > > On Fri, 8 May 2015 14:18:24 -0700 > > > > > Andrew Morton wrote: > > > > > > > > > >> On Fri, 8 May 2015 13:58:41 -0400 Chris Metcalf > wrote: > > > > >> > > > > >>> A prctl() option (PR_SET_DATAPLANE) is added > > > > >> Dumb question: what does the term "dataplane" mean in this > context? I > > > > >> can't see the relationship between those words and what this > patch > > > > >> does. > > > > > I was thinking the same thing. I haven't gotten around to > searching > > > > > DATAPLANE yet. > > > > > > > > > > I would assume we want a name that is more meaningful for what is > > > > > happening. > > > > > > > > The text in the commit message and the 0/6 cover letter do try to > explain > > > > the concept. The terminology comes, I think, from networking line > cards, > > > > where the "dataplane" is the part of the application that handles > all the > > > > fast path processing of network packets, and the "control plane" is > the part > > > > that handles routing updates, etc., generally slow-path stuff. I've > probably > > > > just been using the terms so long they seem normal to me. > > > > > > > > That said, what would be clearer? NO_HZ_STRICT as a superset of > > > > NO_HZ_FULL? Or move away from the NO_HZ terminology a bit; after > all, > > > > we're talking about no interrupts of any kind, and maybe NO_HZ is > too > > > > limited in scope? So, NO_INTERRUPTS? USERSPACE_ONLY? Or look > > > > to vendors who ship bare-metal runtimes and call it BARE_METAL? > > > > Borrow the Tilera marketing name and call it ZERO_OVERHEAD? > > > > > > > > Maybe BARE_METAL seems most plausible -- after DATAPLANE, to me, > > > > of course :-) > > > > 'baremetal' has uses in virtualization speak, so I think that would be > > confusing. > > > > > I like NO_INTERRUPTS. Simple, direct. > > > > NO_HZ_PURE? > > Hm, coke light, coke zero... OS_LIGHT and OS_ZERO? LOL... you forgot OS_CLASSIC for backwards compatibility :-) How about TASK_SOLO? Yes, you are trying to achieve the least amount of interference but the bigger context is about monopolizing a single CPU for yourself. Anyway it is worth pointing out that while NO_HZ_FULL is very useful in conjunction with this turning the tick off is useful also if you have multiple tasks runnable (e.g. if you know you only need to context switch in 100 ms, why keep a periodic interrupt running?) even though we don't support it *right now*. It might be a good idea not to entangle these concepts too much. Gilad Gilad Ben-Yossef Chief Software Architect EZchip Technologies Ltd. 37 Israel Pollak Ave, Kiryat Gat 82025 ,Israel Tel: +972-4-959-6666 ext. 576, Fax: +972-8-681-1483 Mobile: +972-52-826-0388, US Mobile: +1-973-826-0388 Email: giladb@ezchip.com, Web: http://www.ezchip.com ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?