Re: [PATCH v2] usertools: add telemetry exporter

2024-04-22 Thread Anthony Harivel
self.sock.connect(path) FileNotFoundError: [Errno 2] No such file or directory You get the Traceback of Python which is a bit useless for the user but at least you have at the first line the root cause: "telemetry socket not available" which is IMO the most important. Thanks for you

[RFC PATCH] usertools: add telemetry exporter

2024-03-27 Thread Anthony Harivel
Hi Robin, Thanks for this patch. I did test it and it works as expected. Nonetheless, maybe we can improve on some parts. In 'class TelemetrySocket', there is: ... self.sock.connect(path) data = json.loads(self.sock.recv(1024).decode()) ... Maybe we can improve with something like:

Re: [PATCH 2/2] app/testpmd: add testpmd based sleeping

2023-03-17 Thread Anthony Harivel
Ferruh Yigit, Mar 16, 2023 at 18:05: > Hi Anthony, > > What is the motivation here? Hi Ferruh, AFAIK testpmd is the reference tool used for CI and tests whether it is for functional or performance tests and I think it would be in everyone's interest to consume less CPU during them. Moreover, all

[PATCH 2/2] app/testpmd: add testpmd based sleeping

2023-03-16 Thread Anthony Harivel
= == max_sleep 0 500 1000 --- - -- max latency 14 560 1260 min latency5 5 6 Avg latency7 305617 === = == link: https://www.github.com/torvalds/linux/tree/master/tools/power/x86/turbostat Signed-off-by: Anthony

[PATCH 1/2] app/testpmd: fwd engines report processed packets

2023-03-16 Thread Anthony Harivel
Change packet_fwd_t to return the number of processed packets instead of a boolean. This will be used in the next commit to determine the load ratio of an lcore and adjust the sleep duration accordingly Signed-off-by: Anthony Harivel --- .mailmap | 1 + app/test-pmd