[dpdk-dev] [PATCH 1/2] doc: add guide for debug and troubleshoot
Kovacevic, Marko
marko.kovacevic at intel.com
Thu Nov 8 15:43:24 CET 2018
Two spelling mistakes and tabs used instead of space I made the changes.
Just send the patch up.
Builds fine and pdf looks good.
Acked-by: Marko Kovacevic <marko.kovacevic at intel.com>
> +
> +Debug & Troubleshoot guide via PMD
> +==================================
> +
> +DPDK applications can be designed to run as single thread simple stage
> +to multiple threads with complex pipeline stages. These application can
> +use poll mode devices which helps in offloading CPU cycles. A few
> +models are
> +
> + * single primary
> + * multiple primary
> + * single primary single secondary
> + * single primary multiple secondary
> +
> +In all the above cases, it is a tedious task to isolate, debug and
> +understand odd behaviour which can occurring random or periodic. The
> +goal of guide is to share and explore a few commonly seen patterns and
> +beahviour. Then isolate and identify the root cause via step by step debug
> at various processing stages.
Beahviour/ behaviour
> + RX send rate compared against Receieved rate
> +
Receieved/ Received
> +
> +
> +~~~~~~~~~~~~~~~~~~~~~~~~
> +
Showing up weird characters. For me anyways
Changed it and sent you the patch.
> +How to develop custom code to debug?
> +------------------------------------
> +
> +- For single process – the debug functionality is to be added in same
> + process
> +- For multiple process – the debug functionality can be added to
> + secondary multi process
> +
> +..
> +
> +These can be achieved by Primary’s Debug functions invoked via
> +
> + #. Timer call-back
> + #. Service function under service core
> + #. USR1 or USR2 signal handler
More information about the dev
mailing list