[dpdk-dev] [PATCH 0/2] new headroom stats library and example application

Neil Horman nhorman at tuxdriver.com
Thu Jan 29 14:25:22 CET 2015


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



More information about the dev mailing list