From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4FD4CC433E0 for ; Mon, 3 Aug 2020 11:42:36 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1A94720738 for ; Mon, 3 Aug 2020 11:42:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fb1Ircwz"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jzMX2BcU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1A94720738 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xmHtj1wFRjzH0mcnSCIccAcU4bSiadhu+tFHDo92btU=; b=fb1Ircwz+jLdyozY8dFWodNp6 gRGqBOIWwoawRyKpnc/GAUVe7PTVqH/qCakOdJ1of+gMnhAKaVpqmjIulGADsERQ+sJwtnqj6G6xW y5MJ6rL4LrTIVqlzAP8jJulOrzvwmw7Vl0OthxpS1KalHttvbTWgg0aP6CGTgz1of+5VLBSr4IArI 11EojbFOpNiYZWZg8IdSol+BbHIeMzyBPVtupFRJ6bej/o6LH87Fw3vOyppHLYXjX32LWNrMaQ7Ot /I5NgbR2DuysGjG2H4P9nYFauJUJJLNYpPd0ukY41bV4Huvjf8VyLJDMWIPWLQCFLRfCpdW1n2+nK MkxZU+oRg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2YqF-0007h8-QF; Mon, 03 Aug 2020 11:41:19 +0000 Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2YqC-0007gB-KS for linux-arm-kernel@lists.infradead.org; Mon, 03 Aug 2020 11:41:17 +0000 Received: by mail-ej1-x643.google.com with SMTP id o18so38250829eje.7 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=Cy9SIyha8NUvUC7e6h80b22xkTc9jSp76XFdGPwSIawo5OZX70Z4MSOGKSFmn0iSV7 XoRB+cWW3hl9xzivVhtAfujVy3DHrshJaKlzmW3yldlpqt70YlIoY1PJY397tG/YylB/ eRw63PWicYH1cPqoEQtK6kUQua7Hnp5wvcChK00lCQoDzsc0AkUndst1ZxXgyliEQCSR S3gkd7OXsHcb6NH4KS3CiC1SYdqPIJyGNZUGoUmXVhEs14J8UocmS57eKfbly1RzKMqM 1ZsxtueIisuPSFYEc+rUWX2T8TWWtIhp7G2AJoDhQQlecCGy7/O0oPmI71vugfHIgv1Q Dnkg== X-Gm-Message-State: AOAM531rXlQGSp8XHvfPxGCahOf+ZQ3MvWmad6evaz70r1d78cCKBTr+ WsqSl0sDicr5+v+nXzrApGE= X-Google-Smtp-Source: ABdhPJzJkwmJEmCwN333UYXomgbiIRREmBIPLG34327fzVLIHjLggxQ94KTrrbw/uHE/S0NcN5chQg== 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 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-Disposition: inline In-Reply-To: <87lfiwm2bj.fsf@nanos.tec.linutronix.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200803_074116_690121_C6F44666 X-CRM114-Status: GOOD ( 18.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: paulmck@kernel.org, Anna-Maria Gleixner , catalin.marinas@arm.com, Alison Wang , linux-kernel@vger.kernel.org, leoyang.li@nxp.com, Peter Zijlstra , vladimir.oltean@nxp.com, Kurt Kanzenbach , mw@semihalf.com, will@kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel