From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id E0653B5A1 for ; Thu, 19 Feb 2015 13:20:19 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP; 19 Feb 2015 04:12:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,512,1418112000"; d="scan'208";a="687858420" Received: from unknown (HELO Sent) ([10.217.248.233]) by orsmga002.jf.intel.com with SMTP; 19 Feb 2015 04:20:13 -0800 Received: by Sent (sSMTP sendmail emulation); Thu, 19 Feb 2015 13:18:58 +0100 From: Pawel Wodkowski To: dev@dpdk.org Date: Thu, 19 Feb 2015 13:18:41 +0100 Message-Id: <1424348324-29932-1-git-send-email-pawelx.wodkowski@intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1424191340-26451-1-git-send-email-pawelx.wodkowski@intel.com> References: <1424191340-26451-1-git-send-email-pawelx.wodkowski@intel.com> Subject: [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: Thu, 19 Feb 2015 12:20:20 -0000 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 or tasking library. In provided l2fwd-headroom example I demonstrate how to use this library to select optimal rx burst poll time. Jobs are selected by using existing rte_timer library calls. This example does no limit possible schemes on which this library can be used. PATCH v5 changes: - Fix spelling and checkpatch.pl errors. - Add maintainer claim for library and example app. PATCH v4 changes: - use proper branch for generating patch. PATCH v3 changes: - Fix spelling. PATCH v2 changes: - Remove jobs management/callback from library to not duplicate tasking library behaviour. - Cleenup/remove useless statistics. - Rework example application to use rte_timer library for jobs selection. - Introduce new app parameter '-l' for automatic thousands separating in stats. - More readable statistics format. Pawel Wodkowski (3): librte_headroom: New library for checking core/system/app load examples: introduce new l2fwd-headroom example MAINTAINERS: claim responsibility for headroom library and example app MAINTAINERS | 4 + config/common_bsdapp | 5 + config/common_linuxapp | 5 + examples/Makefile | 1 + examples/l2fwd-headroom/Makefile | 51 ++ examples/l2fwd-headroom/main.c | 1040 ++++++++++++++++++++++++++ lib/Makefile | 1 + lib/librte_headroom/Makefile | 54 ++ lib/librte_headroom/rte_headroom.c | 271 +++++++ lib/librte_headroom/rte_headroom.h | 324 ++++++++ lib/librte_headroom/rte_headroom_version.map | 19 + mk/rte.app.mk | 4 + 12 files changed, 1779 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 create mode 100644 lib/librte_headroom/rte_headroom_version.map -- 1.9.1