From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DE7DDA04D6; Mon, 21 Sep 2020 16:49:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7324E1DA81; Mon, 21 Sep 2020 16:49:43 +0200 (CEST) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id E48171D8F7 for ; Mon, 21 Sep 2020 16:49:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600699781; 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=DuF5avZw4oNwWkLTZTAO1TZwYIWWOi88eqz5OYErE2A=; b=XVZFBlJjVLEbe3/jB2ABsh8QYUoALqNhef0Vk0P54L1swkFMmdOluIMumhwQpgA5zA2Nn6 9NlYkMpldDaA5MwZv64texYYfwefcI5jZoE7D2QfzVfNtNnW2Wqg7IrhO95XRGZq8xY/m7 Ti78u4J2IUKiBYaaLm/028wFzVx/pHI= Received: from mail-ua1-f71.google.com (mail-ua1-f71.google.com [209.85.222.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-304-HjM2JmoCMiaMpq4f0N5xIA-1; Mon, 21 Sep 2020 10:49:39 -0400 X-MC-Unique: HjM2JmoCMiaMpq4f0N5xIA-1 Received: by mail-ua1-f71.google.com with SMTP id 48so2139392uai.2 for ; Mon, 21 Sep 2020 07:49:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DuF5avZw4oNwWkLTZTAO1TZwYIWWOi88eqz5OYErE2A=; b=UPoougZLNgIThjqavRggPRsRaXli5pVcLTNpKcWEzEdDCqOBwnzdxprOuNoAkzbAVB ONMpLkR6D4tU4yt7ZhsEaZrcX+nACpJBcMNnrLKF/veYr5+tUdtf0xy+TxEQBUVyNmex L7etIHK5cpo2IZahAn56U+wXSpf0eObkEO5z8Os4F9kc+K4+fOYLNJjxOBhz9h4TGRI/ 8faviRzapyRzFL0nw94YsSoCkW1snuV/M/z4ND+8YLQPYfG2DIjcPWq63Vqn1ezPRG6V IRDV3yBoxNKo4LtvbgFIPBpXOd7eOCzOcOybW3prHbEcrODR9Fo4BXzZsfvGJHL/JFz4 L1dg== X-Gm-Message-State: AOAM53150sqLgTNpTaTP1LCj5Rg5+tsxfcItfB2E5/9Y1Mt0+g3t0ppo eR6tfTR50D59C5tcwb9qpEWRxfy7tdvk5vWazv5NNTmPSWfGo9LWKaoG+wzXWpajtWD6/kXA0UY m2O2qq6riIk4lf290iJY= X-Received: by 2002:a1f:1303:: with SMTP id 3mr371306vkt.9.1600699778872; Mon, 21 Sep 2020 07:49:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZwq6MGGOBfIn2ouCe3/sPBwxE8WvRpLWha9f75C7z2YYxcYyC6vWE7m4xpKECbzBIROKrLnT4xdcKUx5faBo= X-Received: by 2002:a1f:1303:: with SMTP id 3mr371297vkt.9.1600699778666; Mon, 21 Sep 2020 07:49:38 -0700 (PDT) MIME-Version: 1.0 References: <20200907162149.31454-1-harry.van.haaren@intel.com> <20200914143732.87907-1-harry.van.haaren@intel.com> In-Reply-To: <20200914143732.87907-1-harry.van.haaren@intel.com> From: David Marchand Date: Mon, 21 Sep 2020 16:49:27 +0200 Message-ID: To: Harry van Haaren Cc: dev , Lukasz Wojciechowski , Honnappa Nagarahalli Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2 1/2] service: add component useful work attribute X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hello Harry, On Mon, Sep 14, 2020 at 4:36 PM Harry van Haaren wrote: > > This commit adds a new attribute which allows the service to indicate > if the previous iteration of work was "useful". Useful work here implies > forward progress was made. > > Exposing this information via an attribute to the application allows > tracking of CPU cycles as being useful or not-useful, and a CPU load > estimate can be deduced from that information. > > Signed-off-by: Harry van Haaren This is missing a unit test. Getting others' opinion on this addition would be good too. Thanks. -- David Marchand