From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BC30B232429 for ; Tue, 14 Jan 2025 14:02:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736863348; cv=none; b=nQljC9FEeKQ9n+xgcYD0Oy+aoilVhPKNpwwwZ9DRCgnOPpP2FXojMyBs7jIVHglHYaZPQCcRoth/8gUa+M4tjYAMzFEZs1w9+zXqahsmi5JLFxgXn4nQbHRlj2lmKVdjEhS1yyRn2ZeRIQJ/Iriy/oDiGIbd1F0qlogPT2zh064= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736863348; c=relaxed/simple; bh=Wwaqhu3BS83hIwdm2jCNfJB9XVk8B4R5hwS28BYn3kU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HLxndfWb/16mZCK1SQn8UA0chunfgL4HcjjhrhM3nwOnVuxzltNm17HRV80ZWgLvfxfR0bU+Icro9ungr+GFWQlbxxlaUJOhuUHet35tWbzYYvOvdR5cnNb/D83KdkNDk55ZXw1Qm4HXNn3BO2qJCzslH4xiko8JJOqYBRJwQ7g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=L2/8TLzA; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="L2/8TLzA" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1736863345; 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=XZ2stY1d0j5tFV9hzbqgrrllt/9ieviJhnDGzEJo1Rw=; b=L2/8TLzA6VqLsYOKgHCPBtf7Jykmtr5LTHusyTgK0xMzpddzFx2EFXyP1lFUnCQkzGxmFr MR8T0+yCu9cPuxnc5uGfrbpfDIgXkxMjXcarFoxdQeC7cQAlJ9pLWeBPRo3oQcA+pQi162 JMGICt9t8krNb4F1Wrc8K5qFRIaQ4Yg= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-589-FA_aOcVmOZyRD0VEI9ipng-1; Tue, 14 Jan 2025 09:02:23 -0500 X-MC-Unique: FA_aOcVmOZyRD0VEI9ipng-1 X-Mimecast-MFC-AGG-ID: FA_aOcVmOZyRD0VEI9ipng Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-436723db6c4so37833095e9.3 for ; Tue, 14 Jan 2025 06:02:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736863342; x=1737468142; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=XZ2stY1d0j5tFV9hzbqgrrllt/9ieviJhnDGzEJo1Rw=; b=PAprJvm5eN2sztpr8KEzGchi6vwrzN/ts0XCHr6jfpuyIEkVHNFbrIkMKT5E1mkQQ1 MWYr9ymacOqLkyAnIZAD+XMHcvQGGOhubYDSOdpcp9OWPaJ3i5Cn6R824Ri4jNwTWaLH CQowhIkTV4MCEl3iwo67rlulvadIGt7cEjxQI+braouxblzgzyO5s2LKC2/xp5WtMMGg t17Zg8lNYS9HG7QZyQyLcb+rRwWE+mXMuKgs1Kx9PKsrm+brio1nAs74it5gzCDM5vU6 rpr7MaU9D4svxXGoU0AX83/P2ghWbn9mG0sKYpTCcVUbaHK+5YuR3ZC1BGcciLRiosJE NAbg== X-Forwarded-Encrypted: i=1; AJvYcCVJZ0ssiaNO5T2tgDF7P+CG9MVNQkT3UqCFa/s6OFr/Mmhgn3lsaDN7gz2FP4pWLdbYPfSWWrPRSSUk6vg=@vger.kernel.org X-Gm-Message-State: AOJu0Yyix80UNFg+zo09T84isWz/f0lUZKD4YLesTT/JRpqt7EejfBat 2p0St9rqYFHeHgEovdEnBIeqnS8CzSKRxJWRmYPiSoG0e2kpbkJ4ExCFY2eAsOQH5/66WLvA4Uy ObuMGsJeTdEFTfPfcIoT9cBba6xutMt2aiwD/faGx16aZJchoCdXtFtthzVPFMg== X-Gm-Gg: ASbGncttQF+Xh2ObqQWMcAKMHrncHXxhIczyYQDeewVl9CdUxIB26c73R3bPFBvt3vT fUsyn6TJpR4h6y7zReCaPN8YJ4PZAzFd8aFszCaMQav5F/eaQ42gLHGuHM8IyjyC3S/Ftgc4Z56 o9Yv+Kz80Mu8WXXUYyjaeN6EY7nff8ega4Ku0yRzE7LFCf/smBizhLtsYYQeeiz0LW1gv7sfmzF GxM8/oe/nnsdMuIxXke9Y1PAwEOOvGjvb4nydBU2qouKYATbmOuvnilXDPFjbmTe0sevzIj3V3V gEVRYj+VRg== X-Received: by 2002:a05:600c:3152:b0:434:f9e1:5cf8 with SMTP id 5b1f17b1804b1-436e271d3a2mr232038115e9.31.1736863342127; Tue, 14 Jan 2025 06:02:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IF6SqwrvvdK2Vn+2bLJW+Tuv+cb4ueUK0LuboeZtC3lmAh3e45fHn6HxH0eXGu0MJCRfRdu2g== X-Received: by 2002:a05:600c:3152:b0:434:f9e1:5cf8 with SMTP id 5b1f17b1804b1-436e271d3a2mr232037215e9.31.1736863341385; Tue, 14 Jan 2025 06:02:21 -0800 (PST) Received: from jlelli-thinkpadt14gen4.remote.csb ([151.29.92.51]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436e9e37d46sm175300585e9.25.2025.01.14.06.02.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jan 2025 06:02:20 -0800 (PST) Date: Tue, 14 Jan 2025 15:02:17 +0100 From: Juri Lelli To: Jon Hunter Cc: Thierry Reding , Waiman Long , Tejun Heo , Johannes Weiner , Michal Koutny , Ingo Molnar , Peter Zijlstra , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Valentin Schneider , Phil Auld , Qais Yousef , Sebastian Andrzej Siewior , "Joel Fernandes (Google)" , Suleiman Souhlal , Aashish Sharma , Shin Kawamura , Vineeth Remanan Pillai , linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, "linux-tegra@vger.kernel.org" Subject: Re: [PATCH v2 3/2] sched/deadline: Check bandwidth overflow earlier for hotplug Message-ID: References: <20241114142810.794657-1-juri.lelli@redhat.com> <5d7e5c02-00ee-4891-a8cf-09abe3e089e1@nvidia.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On 14/01/25 13:52, Jon Hunter wrote: > > On 13/01/2025 09:32, Juri Lelli wrote: > > On 10/01/25 18:40, Jon Hunter wrote: > > > > ... > > > > > With the above I see the following ... > > > > > > [ 53.919672] dl_bw_manage: cpu=5 cap=3072 fair_server_bw=52428 total_bw=209712 dl_bw_cpus=4 > > > [ 53.930608] dl_bw_manage: cpu=4 cap=2048 fair_server_bw=52428 total_bw=157284 dl_bw_cpus=3 > > > [ 53.941601] dl_bw_manage: cpu=3 cap=1024 fair_server_bw=52428 total_bw=104856 dl_bw_cpus=2 > > > > So far so good. > > > > > [ 53.952186] dl_bw_manage: cpu=2 cap=1024 fair_server_bw=52428 total_bw=576708 dl_bw_cpus=2 > > > > But, this above doesn't sound right. > > > > > [ 53.962938] dl_bw_manage: cpu=1 cap=0 fair_server_bw=52428 total_bw=576708 dl_bw_cpus=1 > > > [ 53.971068] Error taking CPU1 down: -16 > > > [ 53.974912] Non-boot CPUs are not disabled > > > > What is the topology of your board? > > > > Are you using any cpuset configuration for partitioning CPUs? > > > I just noticed that by default we do boot this board with 'isolcpus=1-2'. I > see that this is a deprecated cmdline argument now and I must admit I don't > know the history of this for this specific board. It is quite old now. > > Thierry, I am curious if you have this set for Tegra186 or not? Looks like > our BSP (r35 based) sets this by default. > > I did try removing this and that does appear to fix it. OK, good. > Juri, let me know your thoughts. Thanks for the additional info. I guess I could now try to repro using isolcpus at boot on systems I have access to (to possibly understand what the underlying problem is). Best, Juri