From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id AF37C5A7C for ; Thu, 29 Jan 2015 14:25:30 +0100 (CET) Received: from hmsreliant.think-freely.org ([2001:470:8:a08:7aac:c0ff:fec2:933b] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YGp63-0007j2-VY; Thu, 29 Jan 2015 08:25:29 -0500 Date: Thu, 29 Jan 2015 08:25:22 -0500 From: Neil Horman To: Pawel Wodkowski Message-ID: <20150129132522.GA1999@hmsreliant.think-freely.org> References: <1422532206-10662-1-git-send-email-pawelx.wodkowski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1422532206-10662-1-git-send-email-pawelx.wodkowski@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) X-Spam-Status: No Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 0/2] 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: Thu, 29 Jan 2015 13:25:31 -0000 On Thu, Jan 29, 2015 at 12:50:04PM +0100, Pawel Wodkowski wrote: > Hi community, > I would like to introduce library for measuring load of some arbitrary jobs. It > can be used to profile every kind of job sets on any arbitrary execution unit. > In provided l2fwd-headroom example I demonstrate how to use this library to > profile packet forwarding (job set is froward, flush and stats) on LCores > (execution unit). This example does no limit possible schemes on which this > library can be used. > > Pawel Wodkowski (2): > librte_headroom: New library for checking core/system/app load > examples: introduce new l2fwd-headroom example > > config/common_bsdapp | 6 + > config/common_linuxapp | 6 + > examples/Makefile | 1 + > examples/l2fwd-headroom/Makefile | 51 +++ > examples/l2fwd-headroom/main.c | 875 ++++++++++++++++++++++++++++++++++++ > lib/Makefile | 1 + > lib/librte_headroom/Makefile | 50 +++ > lib/librte_headroom/rte_headroom.c | 368 +++++++++++++++ > lib/librte_headroom/rte_headroom.h | 481 ++++++++++++++++++++ > mk/rte.app.mk | 4 + > 10 files changed, 1843 insertions(+) > create mode 100644 examples/l2fwd-headroom/Makefile > create mode 100644 examples/l2fwd-headroom/main.c > create mode 100644 lib/librte_headroom/Makefile > create mode 100644 lib/librte_headroom/rte_headroom.c > create mode 100644 lib/librte_headroom/rte_headroom.h > > -- > 1.7.9.5 > > Whats the advantage of this library over the other tools to preform the same function. Perf can provide all the information in this library, and do so without having to directly modify the source for the execution unit under test Neil