Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1990946pxa; Mon, 3 Aug 2020 04:48:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxK0dI7Cuwqr4iGnpvaChlfCco2MfzTOr1y1BAA1hVpEAoL+/q+M9sy7+e9ZVXDCBz766qg X-Received: by 2002:aa7:c383:: with SMTP id k3mr7357360edq.164.1596455319647; Mon, 03 Aug 2020 04:48:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596455319; cv=none; d=google.com; s=arc-20160816; b=yG9blSeE18pOWz3jiulC99oHff9iDH7otuWCY9uT2FGyCTwGqqjqQn0bSCPkqX6g8z gtfgF6jdWh+dxON5/h/guLneqi3J39BTlN5Q4smrJP21sCB0UqzQXmuxTbFdIgcBHTz7 4whPOFdEs6oa7W33fvNGz7ym5n5Cje+FOjT9x/yhm5vMJZRFW0A3HWf+NJbVW54Eg1/P TnW3uzDjWlyeFJZBmN2+sQaWu4y3zaVlBFg6Ac8tOmNv3LmgIXJJNmp4DRLETHPjz1C/ R+sTCe78Je2fmwdTzwW3UE5vm8/eofuMpaXOYsNlsjpyRYb8ZwH4xAyQJWNCi8iHqBu3 t7Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=0+NO3ztULAIrGvrz5D9Y/HzaMZX3dT9yOjYO20mJWFE=; b=f0CBz8VUsPnpoXUEDfAkwIDSfAuaGWgm4noMcHDLSElEs4Up1sDLGEnzklg6DbPtDE zvoDSAV9Q3vX47WH/FNUGNhs/2DIwMspQcRdl8AenRA17PfkHzWaW6om5Nbw0tuVgww1 Xt9evKQTEeZwRNe6ZA75wffs3rKZy7icP8crDt4kr0amoXVLyrkIkXw8Jf9ifNT/alNV pbV6qBasozaH58hLJzJA2be92m7p1MXSKH8p/NbopHtWoUwOcUsIBZW46Ud5E5fpLVVs KK7t/eZPHVJgA6zizvGkVQu92k6ovf0S94XMosXEBYOKK6Acgqab1eeIk0GO6SbLPGF7 82Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jzMX2BcU; 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=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s3si10502040edq.125.2020.08.03.04.48.17; Mon, 03 Aug 2020 04:48:39 -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=@gmail.com header.s=20161025 header.b=jzMX2BcU; 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=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726370AbgHCLo4 (ORCPT + 99 others); Mon, 3 Aug 2020 07:44:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726433AbgHCLlX (ORCPT ); Mon, 3 Aug 2020 07:41:23 -0400 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3AF6C06174A for ; Mon, 3 Aug 2020 04:41:16 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id a21so38254505ejj.10 for ; Mon, 03 Aug 2020 04:41:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=0+NO3ztULAIrGvrz5D9Y/HzaMZX3dT9yOjYO20mJWFE=; b=jzMX2BcUcYomvDCitAj65HNQx2dB7wG/CeGganhYRU7W0Sm6ACLMm040YEkm9soXV1 1wZ8ZjKgHe/uNZCoeb5D1nMODexXPlx3ohsylTZZqKqCMOgqmTPHxAEVaPUD7jpVI2Rm DV494Tp8SsExOoAqi+pMyjs8DfMl80Zz7HP42mLmIVmPhlLvSKayu00PtNZDUlvjNow0 KPSfzWT3b9xSsI6Yy6vnyxR8xQ/eDGjC5ZYr2vWR+bNvPHluGZRiFzHuUnofI3u7dJyS 1yJrkXF8Zalcf06YxzMaz91W1RGFU5uVfjmVsZAB+CmREqL88U4yfOS9PWq3QigUc4jl mZ1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=0+NO3ztULAIrGvrz5D9Y/HzaMZX3dT9yOjYO20mJWFE=; b=sVVA1w52MjcM8BSkC+uc4S19vmp3LR2csgYT5OIOtsJUYk2UlI4TZuAzWreyNhMqV/ +4u8/Uo7E/BpobYxqJFgcFSACBIicQaV7AJ3VGc5ZDHVbB5+hwT3SAs/FEp86Ny5NM3y 4OLqmLm2DmD/CfhmMcxvq2RsnQqtXIlhHJRQuhOz+dGt3FWykJbr9y2L0S4gBUX9PT/L rCkbxqtbwC40ViF/m9A4w7nZggyD78c9dvlPpkgNj2k9+0Z0ZXV4seTtDgvP8VMA3myJ V6NoJITz4p6LhHsoPbCKDRjuKcV98ENY452HVZGaCIIfdVwvHmxJikI7L4k6yiC4LauN 1RpQ== X-Gm-Message-State: AOAM532YA/QPIXwNsjW4tEASIrEFV4jxlVpAOk1vONiDvjEYGZ8x3aNC P896v+Wv6G2mqScEgS+O76Y= X-Received: by 2002:a17:906:a2c2:: with SMTP id by2mr15793481ejb.86.1596454875500; Mon, 03 Aug 2020 04:41:15 -0700 (PDT) Received: from skbuf ([188.26.57.97]) by smtp.gmail.com with ESMTPSA id d25sm15916774edr.78.2020.08.03.04.41.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Aug 2020 04:41:14 -0700 (PDT) Date: Mon, 3 Aug 2020 14:41:12 +0300 From: Vladimir Oltean To: Thomas Gleixner 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 Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87lfiwm2bj.fsf@nanos.tec.linutronix.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thomas, On Mon, Aug 03, 2020 at 12:49:36PM +0200, Thomas Gleixner wrote: > Kurt, > > Kurt Kanzenbach writes: > > On Thu Jul 30 2020, Vladimir Oltean wrote: > > OK. I've reproduced it on a Marvell Armada SoC with v5.6 mainline. See > > splats below. Running with irq time accounting enabled, kills the > > machine immediately. However, I'm not getting the possible deadlock > > warnings in 8250 as you did. So that might be unrelated. > > > > Unfortunately I have no idea what to debug here. > > lets look at the facts we have so far. > > 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. > > Thanks, > > tglx > 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 What is this telling us? Thanks, -Vladimir