Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2656990rwd; Fri, 26 May 2023 09:19:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6F3Hz8u4JgmUZrlA3NpHxog4lOiRDLU0ImkBd825l0m7tHUk10jbkpBn399G5URxngErHa X-Received: by 2002:a17:902:ec81:b0:1ae:2b95:7125 with SMTP id x1-20020a170902ec8100b001ae2b957125mr3039827plg.63.1685117956572; Fri, 26 May 2023 09:19:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685117956; cv=none; d=google.com; s=arc-20160816; b=SRCd7/tr6ft+EAnlzJNUKpnn6+6PrwwZk8g+wxp275Bq/0c90ldAe1Ssk2ERhPCHXr OTVWNMP5SGHh0oPeLT0M63NTM4I7b7VE/AzCCmiJTrCf9/wmiWdmEd8jQoqsfohV9Hfo wWD4NplvgakQsXZbPZd34lmum5YwUkLw6cOB9geXO/adEsZsstaofa5zaAB7HJrfX87J YO3nGQMhvq8O+zdtzYSSr9H+uCywOvMjXOFahcgtOvnVKA008XSGs6sf6nEH3hcKsk3w CFLOP0SQUQWJ5r4j7rcTKHjGVgJXjuGFlbbkV4cxpdgLwVKa6pVM7zkT7RRS7FTFE2sF fNMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=NSRKBuS/oKd5fjIjvvaHlAtUo48fy4uJTXs+lCoN1vw=; b=LVSEyd67X6rgpLr1NvHmkHZANE3VBeh7N/AWcwVwv3IlcTOXXsBfXpl6vUYhG+jJIZ 9+iGC1gR+iwWss0L+lpAv50HRuTu+jj4SEonIlHlCjithkhmH/xPjRLRruLynyeXvuB9 INPZAnST+8sYhc/IgB64K/JxY+7R8JlK8v2JEBLupYNNQd8caO9mnWwpo8Ib+33wA9fg L5Wsz4zGgC9xFtfXo2aIdYwwKMo1VEqmbf6AoKCciwUHRUiKttDftCOWRqDopc23jcw3 mV13S6ixJzLXVetAhvV5l7UIu7FvyRUQjywxOsAZJyWV5BQTNWO72PMur9lhZfWTbHau uhPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bitbyteword.org header.s=google header.b="f2sBZne/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q23-20020a170902bd9700b001ab13c7505asi1756453pls.125.2023.05.26.09.19.00; Fri, 26 May 2023 09:19:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bitbyteword.org header.s=google header.b="f2sBZne/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244238AbjEZP7G (ORCPT + 99 others); Fri, 26 May 2023 11:59:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244228AbjEZP7E (ORCPT ); Fri, 26 May 2023 11:59:04 -0400 Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FF9B13D for ; Fri, 26 May 2023 08:59:01 -0700 (PDT) Received: by mail-ot1-x329.google.com with SMTP id 46e09a7af769-6b0d38ce700so245001a34.2 for ; Fri, 26 May 2023 08:59:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bitbyteword.org; s=google; t=1685116740; x=1687708740; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=NSRKBuS/oKd5fjIjvvaHlAtUo48fy4uJTXs+lCoN1vw=; b=f2sBZne/vKtkK/lk4t0/gRtIMivIWl2baIqJVKH3a4vlR5gImoHRlGZ5G4JQYE3Dih 7nRNGmGkc9D8WsRBS+VyytzQmcV29mlOW9BIqa99N9baI+L3MPQCFI82HqV82+7+I1hx yANj0IJ5arSptM8ldKylACvtHKX6OCVnrBmk27xyWyIhGnD5hIGk2/4WrIS4qXkvDKZ2 nLN7uYlvWNX9KMzNFsR0r2fwh/dhYKY2LmzQQsMcShmpJRZRWn76SeC2nShazTA5ostL fzi3mb1bCqNjIMJXBizkLV8x+yuWpThkNRgOlKjAAd2TszLG3h+EkuW7yGOXHxxthQiG +atg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685116740; x=1687708740; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NSRKBuS/oKd5fjIjvvaHlAtUo48fy4uJTXs+lCoN1vw=; b=dFVLDxmqAh3Gjz/+qgDkt1Ros4LAGlTKtY1oQxlEJiU8AmMqQlWp1NM6cTufryAFTU +ELPJdvgcrbFgq1Mda3z9EHfA4PDieURbACJaba9S+7D8wPl+27AGSo2TRv627vIhIjL pXO6GivNKZOjjrZJeaEophCxlG1bqQ+qe4HqH+wDbRu6exPX4SNLpGwihq37C7zStm4z xrs3So/dZKhDQ7s7+4FD9brh5RhjnVRfnBxmS0kfzhUZ9p6C5Uyd6SHxvlOqBjRNYkig GVqSjGrJtjQyEeY2qSR7S83oykWDv3evLg/qu35rP2LSHhxQ1hXrdPA0XuXzPf0I+lXZ GvXQ== X-Gm-Message-State: AC+VfDxAGC8wXRb8fl+Pw5kQXbHdYDJINxZRb6JUBRwkdmQAd4n+n2yz u8fT10VpOhwh7GXwOvC5VcnANvHE45tBrCwMc5R1UQ== X-Received: by 2002:a05:6808:1405:b0:38d:fdf2:962e with SMTP id w5-20020a056808140500b0038dfdf2962emr1562135oiv.23.1685116740735; Fri, 26 May 2023 08:59:00 -0700 (PDT) MIME-Version: 1.0 References: <20230526145519.2282062-1-vineeth@bitbyteword.org> <20230526172959.5440b9dd@nowhere> In-Reply-To: From: Vineeth Remanan Pillai Date: Fri, 26 May 2023 11:58:50 -0400 Message-ID: Subject: Re: [PATCH v4 1/2] sched/deadline: Fix bandwidth reclaim equation in GRUB To: luca abeni Cc: Juri Lelli , Daniel Bristot de Oliveira , Peter Zijlstra , Ingo Molnar , Vincent Guittot , Steven Rostedt , Joel Fernandes , youssefesmat@google.com, Dietmar Eggemann , Ben Segall , Mel Gorman , Valentin Schneider , Jonathan Corbet , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Luca, > > On Fri, May 26, 2023 at 11:30=E2=80=AFAM luca abeni wrote: > > [...] > > > + * but as "dq =3D -(max{u, (1 - Uinact - Uextra)} / Umax) dt", > > > > ...But I think this is wrong (should be "Umax - ...", not "1 - ..."). > > I think patch 2/2 has the same issue. > > > Oops sorry, I missed this. Will send the fixed patch as a > reply to the original v4. > On looking again, I think the description is correct. That line mentions the actual m-GRUB equation from the paper. And then the comment explains why we use Umax(because of limiting the bandwidth to RT capacity). Does it seem correct to you? Thanks, Vineeth