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.133.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 01D9623393F for ; Mon, 13 Jan 2025 09:32:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736760750; cv=none; b=pF5zR9kMqp8mX2JTBCw09njeniVg2whq+l+ziYvTj05ZwZcwxlymOzVlFSRtA5z/pDJJtBbraHUT84baUa4z0tyhLc1MEGxnCIzphygDLH9MwcgKGjnFyLnjovkgLZQb43BJtv9emwz8mM/fFBfftNGTBV6R9X424pqaqRcYJzg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736760750; c=relaxed/simple; bh=31hLsytzJKpvZoOPTzwC/Esrx+8DvHDdHkwkvmkRTak=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CDJQCuET5dGWfvpwKa7TsBki/qfuaDV6jSPlwEPegk3GyEXhSZlOavwfr0KM8hYB8LGKDrIumEuSlZ5PSXQrZXISNpX48MEimcndPkodo5Sp3TjB0J3/ncITS1yWTRAx7RUS/YACHEMGLUya8Lqlttfz6aHcFIBazhhPmNU5M4Y= 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=cy3mxBY5; arc=none smtp.client-ip=170.10.133.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="cy3mxBY5" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1736760747; 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=cjqo1VApqjL/yItsfmoIoADm/NcbIFI9nHGNJVw656c=; b=cy3mxBY5Tfa6Uhz68bLK3T5kdx6VwgdiwOtQi6wKZ5366CVI9bZGIvUMyb8smvnkYevYf3 VT3KGrlxIlUQgHMgzyHqbRaPUqnlGyZfGDLebTY38KlNq+5TTQJKVDV1Gmfmd+ADnOtcmQ gpUxexOHav9cKnJjUYzRImlkgc62OpU= Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-144-pJaHPl8MMNSGeqAyZEt4vQ-1; Mon, 13 Jan 2025 04:32:25 -0500 X-MC-Unique: pJaHPl8MMNSGeqAyZEt4vQ-1 X-Mimecast-MFC-AGG-ID: pJaHPl8MMNSGeqAyZEt4vQ Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-7b6f482362aso657356285a.1 for ; Mon, 13 Jan 2025 01:32:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736760745; x=1737365545; 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=cjqo1VApqjL/yItsfmoIoADm/NcbIFI9nHGNJVw656c=; b=DMTa9IPdDj3fThxwmdQxIWQKCAPrgIZNFbtc0xWU7vLjh6OBrN0NiiCvlqGomIfVbZ f7AxpSjsROF8i//pwAgBjSD/pF2Xoq4nBVjmBKSVGPkrpIN88qahJF3QMaQs5Rtdk6VB cdEbcoxTs6IKmqiD7GvnZo6rBCFRnXU8MWLyl306/lg111T/DhmXksdsuYE0NWmTebiJ 953yQ+x/lKqfC9DCanLda5X9qQfPfb+GiQGUXWqaFBX2WgxegKj20m+JvsvsNlyb9AfK NobajBqWuGq71hXd3esug0/wtGDdF9PUtfyDHsV0aM3Uah7WTaJqrV8264khtTjqp6m4 L0Jg== X-Forwarded-Encrypted: i=1; AJvYcCUrtSozVcyxszEl1jofz/uEV6ENJ3pxiX6OIWDIVOyCBK3jQZjmfujoWwQL9Q4gwI33dL04Yy9zENlPsIw=@vger.kernel.org X-Gm-Message-State: AOJu0Yz0ZgApG+AB31fAxUIYcbhyJeAcI6KPAPYutwth/vJ56J76OnJM FfP8FIvrpABV+HFLyDuHBMqkgIxZVjofZ21eHpKqAhzpxuFPC2CiPy3uD23xHOzBRmjp0IGk0UF 66SnhFNAeuTafHaho+2AHbPriPPxww6wZYB35LQtsrt0P+0SuU3u5X0ayOhHbEQ== X-Gm-Gg: ASbGncvjWbhYLpQNQHMSYf4YjuL6lI7976T5npUv/Y8P4ZKsF14eGepEMHF/lUNmkPA AaSc6iVqUm6yoGu7z17ApJMYcISFGldA1oKmD19vpMLMVZD4bU0gVKNst0rdKmHaSWQHlCKj97g EX5+XsnPpSNFYwwobhAGyOUT7aiOAnXLYVr0T0rO2Tt7H8CA133XhirfG7yaPttrP4ZWq8NAZvA Ne2g2roPnXZ+hGDYePtzKa4Gg+tAFJ9GD1AU/ucQ8zbK3BHj7JZVij1yppyiznOOsdgMrsmSC0D kdBviyWxNg== X-Received: by 2002:a05:620a:4252:b0:7b6:785e:ce1a with SMTP id af79cd13be357-7bcd96fa05dmr3084194185a.4.1736760745429; Mon, 13 Jan 2025 01:32:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IFusOnC6/+c2FKWev6IjOhBZ6YLrjBdOdPyFdiH6zdtW9g05I6pCK1ZZdqZfFobXd6xBn6sLw== X-Received: by 2002:a05:620a:4252:b0:7b6:785e:ce1a with SMTP id af79cd13be357-7bcd96fa05dmr3084190685a.4.1736760745103; Mon, 13 Jan 2025 01:32:25 -0800 (PST) Received: from jlelli-thinkpadt14gen4.remote.csb ([151.29.92.51]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7bce3516193sm468126185a.117.2025.01.13.01.32.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jan 2025 01:32:24 -0800 (PST) Date: Mon, 13 Jan 2025 10:32:17 +0100 From: Juri Lelli To: Jon Hunter Cc: 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: <5d7e5c02-00ee-4891-a8cf-09abe3e089e1@nvidia.com> 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? Also, could you please add sched_debug to the kernel cmdline and enable CONFIG_SCHED_DEBUG (if not enabled already)? That should print additional information about scheduling domains in case they get reconfigured for some reason. Thanks! Juri