Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2131574pxa; Mon, 3 Aug 2020 08:14:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwt+WI/q3U19q4eHQd/om7cciEoANAfRx12vrQ4QV+X/PnCMJDlJ5c0q+QTr8F2hMIUtyjV X-Received: by 2002:a17:906:3a4c:: with SMTP id a12mr16764123ejf.306.1596467653369; Mon, 03 Aug 2020 08:14:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596467653; cv=none; d=google.com; s=arc-20160816; b=ehzwDV1AmkYygyJlM9pSv2CQJY5uu4T24PJRb0WSzi9HMT5+Az237q0AVRCgcE9nyC KBafgoYpxlE+3nJNj9HMaSy+YsuAH7hVc3rNFhGcaBQ1KSQ3cjA23z0Ybn8aw9YxjKWm KY7vFPobTrUbJc4s6o1CrYNwb9d6BlWWVZno31Xvon6B03tpV4iqiGxmp5wT+sd6Ao4k atLPRi6POF/SRxdltxg/5xbGfecDrTlKSA9Itl0t7y5h+N5TnKSUwQ3HNdnir/iQlN3A AWg2kx4CTjFiTSxd3rJ859KCoZ6vcBMdnqqv56/0ECb0T4WhMV82ISo+B2O3ylsbEozS yZTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=zXGEztBjn4giLdEcSrD148UX+XKQGnk+zqs22R94Q+0=; b=aWhnWdejYv3Ocjv+KUvDGUUBMvUFVKC8MaCh1gqlgImEEkFfI5XEvzie7fK6b6Bdm9 mUkVWmyTAvejoGgiGWpxyr5fklkJNIDSbvc6Bh+jDJvdAvpBPVU7VjnNiJwg7PXHIyfz lgXoKmA4zLkoH0LJqTizR/wWGs43xVMRdjtmmh3R1GbxIV2oyihrKdPoQu+f+jTxESuZ UQQkRhblOMozikkcaMdGWK4i0Pz3T5aVbAXAR1UxDr8PPUMmpeY8AzpGTeBDyrRpc5vL MUcV3W3gfqIA+lyq1RKUrA4qMriFNGV998gI+escAToVCwBBE5F9ewW4jRbp4FmzZLKo jTtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=LBURf5Ja; dkim=neutral (no key) header.i=@vger.kernel.org header.b=DC0RPbpC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cq22si9267766edb.609.2020.08.03.08.13.51; Mon, 03 Aug 2020 08:14:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=LBURf5Ja; dkim=neutral (no key) header.i=@vger.kernel.org header.b=DC0RPbpC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727803AbgHCPNV (ORCPT + 99 others); Mon, 3 Aug 2020 11:13:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725933AbgHCPNV (ORCPT ); Mon, 3 Aug 2020 11:13:21 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49A00C06174A for ; Mon, 3 Aug 2020 08:13:21 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1596467599; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zXGEztBjn4giLdEcSrD148UX+XKQGnk+zqs22R94Q+0=; b=LBURf5Ja6M9Lac4WOtiuJ6bxV3P29YalLePHR73LPtA0WqbI3DEP5PI50sGfEKLrOxsHxk SpZq/CrnkcSwoR5GhLAuMFCxRFIuwknKHC+j2k1XLlJy2dfbZCwoq4hpTrV8+rWguLLEus 6Cb0ASJC/yoHQrrJw5p3WETehitAxGJlOldFGFjwFnKPs+HbOx+h/iROd2tFeWUZ7EsBhG VDwFIAonfMaIKyOmK5k8bevRY5d83pdzgieQQSzIVG+POWhTMuUsspi4MdsrfIgpH7v4pV Ql0+pNsiIgi39OmQmKNAHz48/jKQCCg1HESutm3gcqlHSCNFCdw3ltBQ0/JLoQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1596467599; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zXGEztBjn4giLdEcSrD148UX+XKQGnk+zqs22R94Q+0=; b=DC0RPbpCWyjFYqilNHjgTKCW8agE9XURW0gniTmMsNl7HWZ5w0tXO+jy2OVEX4siXKFtfx HVmiyqaI1kWcTFCQ== To: Vladimir Oltean Cc: Kurt Kanzenbach , Alison Wang , catalin.marinas@arm.com, will@kernel.org, paulmck@kernel.org, mw@semihalf.com, leoyang.li@nxp.com, vladimir.oltean@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Anna-Maria Gleixner , Peter Zijlstra Subject: Re: [RFC PATCH] arm64: defconfig: Disable fine-grained task level IRQ time accounting In-Reply-To: <20200803114112.mrcuupz4ir5uqlp6@skbuf> References: <20200729033934.22349-1-alison.wang@nxp.com> <877dumbtoi.fsf@kurt> <20200729094943.lsmhsqlnl7rlnl6f@skbuf> <87mu3ho48v.fsf@kurt> <20200730082228.r24zgdeiofvwxijm@skbuf> <873654m9zi.fsf@kurt> <87lfiwm2bj.fsf@nanos.tec.linutronix.de> <20200803114112.mrcuupz4ir5uqlp6@skbuf> Date: Mon, 03 Aug 2020 17:13:18 +0200 Message-ID: <87d047n4oh.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Vladimir Oltean writes: >> 1) When irq accounting is disabled, RT throttling kicks in as >> expected. >> >> 2) With irq accounting the RT throttler does not kick in and the RCU >> stall/lockups happen. >> >> Not much, but there is clearly interaction between irq time accounting >> and scheduler accounting. >> >> Can you please reduce /proc/sys/kernel/sched_rt_runtime_us in steps of >> 50000? At least in theory, reduction should bring the throttling back. > > We already know from my original report that reducing > sched_rt_runtime_us to 80% (800000) gives us a stable system. > https://lkml.org/lkml/2020/6/4/1062 Oh. Somehow missed that. Btw, can you please use links in the form of: https://lore.kernel.org/r/$MSGID lkml.org is spotty and having the message id allows to search in the mail client as well. > What is this telling us? It seems that the fine grained irq time accounting affects the runtime accounting in some way which I haven't figured out yet. Thanks, tglx