From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 9384CADBD for ; Tue, 24 Feb 2015 09:44:46 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 24 Feb 2015 00:44:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,637,1418112000"; d="scan'208";a="656328156" Received: from unknown (HELO [10.217.248.122]) ([10.217.248.122]) by orsmga001.jf.intel.com with ESMTP; 24 Feb 2015 00:44:43 -0800 Message-ID: <54EC39E4.5000105@intel.com> Date: Tue, 24 Feb 2015 09:44:20 +0100 From: Pawel Wodkowski User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Thomas Monjalon , "Jastrzebski, MichalX K" References: <1424191340-26451-1-git-send-email-pawelx.wodkowski@intel.com> <2047616.cJycthpmiM@xps13> <60ABE07DBB3A454EB7FAD707B4BB1582138EBA65@IRSMSX109.ger.corp.intel.com> <3535884.xqQnaaGjuq@xps13> In-Reply-To: <3535884.xqQnaaGjuq@xps13> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v5 0/3] new headroom stats library and example application X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 08:44:47 -0000 On 2015-02-23 17:04, Thomas Monjalon wrote: >>> Do you mean that you plan to add some features to this library? >>> > >Is it going to stay at providing some stats or could you make some actions >>> > >like time-sharing helpers? >> >What do you mean here saying time-sharing? > I mean helpers to stop processing at a defined rate in order to share CPU. > I am not sure if are talking about the same but this is already present by period field in struct rte_headroom_job (or whatever it will be called in next version). This field is a hint for application and allow execute jobs when needed. If application decide that there is no time to execute some jobs it can skip it but it is up to application decision. The job stats + period hint and ability to skip or invoke jobs at any point and even dynamically decide if this part of code is now considered a job is the added value of this library. Every above thing separately have limited usage. -- Pawel