Re: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-03-05 Thread Konstantin Ananyev
Add support for programming PMU counters and reading their values in runtime bypassing kernel completely. This is especially useful in cases where CPU cores are isolated i.e run dedicated tasks. In such cases one cannot use standard perf utility without sacrificing latency and performance.

RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-02-28 Thread Morten Brørup
> From: Morten Brørup > Sent: Tuesday, 28 February 2023 14.16 > > > From: Konstantin Ananyev [mailto:konstantin.anan...@huawei.com] > > Sent: Tuesday, 28 February 2023 13.05 > > > > > > > >> Add support for programming PMU counters and reading their values > in > > > > > >> runtime bypassing kerne

RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-02-28 Thread Morten Brørup
> From: Konstantin Ananyev [mailto:konstantin.anan...@huawei.com] > Sent: Tuesday, 28 February 2023 13.05 > > > > > >> Add support for programming PMU counters and reading their values in > > > > >> runtime bypassing kernel completely. > > > > >> > > > > >> This is especially useful in cases where

RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-02-28 Thread Konstantin Ananyev
> > > >> Add support for programming PMU counters and reading their values in > > > >> runtime bypassing kernel completely. > > > >> > > > >> This is especially useful in cases where CPU cores are isolated i.e > > > >> run dedicated tasks. In such cases one cannot use standard perf > > > >> utilit

RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-02-28 Thread Konstantin Ananyev
> >> >> Add support for programming PMU counters and reading their values > >> >> in runtime bypassing kernel completely. > >> >> > >> >> This is especially useful in cases where CPU cores are isolated i.e > >> >> run dedicated tasks. In such cases one cannot use standard perf > >> >> utility wit

RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-02-28 Thread Konstantin Ananyev
> >> diff --git a/lib/pmu/rte_pmu.h b/lib/pmu/rte_pmu.h new file > >> mode > >> 100644 index 00..6b664c3336 > >> --- /dev/null > >> +++ b/lib/pmu/rte_pmu.h > >> @@ -0,0 +1,212 @@ > >> +/* SPDX-License-Identifier: BSD-3-Clause > >

RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-02-28 Thread Tomasz Duszynski
>-Original Message- >From: Konstantin Ananyev >Sent: Monday, February 27, 2023 9:53 PM >To: Tomasz Duszynski ; Konstantin Ananyev >; >dev@dpdk.org >Subject: RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading >PMU events > > > >

RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-02-28 Thread Morten Brørup
> From: Konstantin Ananyev [mailto:konstantin.anan...@huawei.com] > Sent: Monday, 27 February 2023 21.53 > > > >> Add support for programming PMU counters and reading their values in > > >> runtime bypassing kernel completely. > > >> > > >> This is especially useful in cases where CPU cores are is

RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-02-27 Thread Konstantin Ananyev
> >> Add support for programming PMU counters and reading their values in > >> runtime bypassing kernel completely. > >> > >> This is especially useful in cases where CPU cores are isolated i.e > >> run dedicated tasks. In such cases one cannot use standard perf > >> utility without sacrificing l

RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-02-27 Thread Tomasz Duszynski
>-Original Message- >From: Konstantin Ananyev >Sent: Tuesday, February 21, 2023 3:17 AM >To: dev@dpdk.org >Subject: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU >events

RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-02-27 Thread Tomasz Duszynski
>-Original Message- >From: Konstantin Ananyev >Sent: Tuesday, February 21, 2023 1:48 AM >To: Tomasz Duszynski ; Konstantin Ananyev >; >dev@dpdk.org >Subject: Re: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading >PMU events > > >>>&

RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-02-21 Thread Konstantin Ananyev
> >> diff --git a/lib/pmu/rte_pmu.c b/lib/pmu/rte_pmu.c new file mode > >> 100644 index 00..950f999cb7 > >> --- /dev/null > >> +++ b/lib/pmu/rte_pmu.c > >> @@ -0,0 +1,460 @@ > >> +/* SPDX-License-Identifier: BSD-3-Clause > >> + * Copyright(C) 2023 Marvell International Ltd. > >> + */ > >>

Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-02-20 Thread Konstantin Ananyev
Add support for programming PMU counters and reading their values in runtime bypassing kernel completely. This is especially useful in cases where CPU cores are isolated i.e run dedicated tasks. In such cases one cannot use standard perf utility without sacrificing latency and performance. Si

Re: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-02-20 Thread Konstantin Ananyev
diff --git a/lib/pmu/rte_pmu.h b/lib/pmu/rte_pmu.h new file mode 100644 index 00..6b664c3336 --- /dev/null +++ b/lib/pmu/rte_pmu.h @@ -0,0 +1,212 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(c) 2023 Marvell */ + +#ifndef _RTE_PMU_H_ +#define _RTE_PMU_H_ + +/** + * @file +

RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-02-20 Thread Tomasz Duszynski
>-Original Message- >From: Konstantin Ananyev >Sent: Monday, February 20, 2023 6:21 PM >To: Tomasz Duszynski ; Konstantin Ananyev >; >dev@dpdk.org >Subject: RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading >PMU events > > >> >&

RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-02-20 Thread Konstantin Ananyev
> >> >> >> diff --git a/lib/pmu/rte_pmu.h b/lib/pmu/rte_pmu.h new file mode > >> >> >> 100644 index 00..6b664c3336 > >> >> >> --- /dev/null > >> >> >> +++ b/lib/pmu/rte_pmu.h > >> >> >> @@ -0,0 +1,212 @@ > >> >> >> +/* SPDX-License-Identifier: BSD-3-Clause > >> >> >> + * Copyright(c) 2023

RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-02-20 Thread Tomasz Duszynski
>-Original Message- >From: Konstantin Ananyev >Sent: Monday, February 20, 2023 3:31 PM >To: Tomasz Duszynski ; Konstantin Ananyev >; >dev@dpdk.org >Subject: RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading >PMU events > >> >>

RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-02-20 Thread Konstantin Ananyev
> >> >> diff --git a/lib/pmu/rte_pmu.h b/lib/pmu/rte_pmu.h new file mode > >> >> 100644 index 00..6b664c3336 > >> >> --- /dev/null > >> >> +++ b/lib/pmu/rte_pmu.h > >> >> @@ -0,0 +1,212 @@ > >> >> +/* SPDX-License-Identifier: BSD-3-Clause > >> >> + * Copyright(c) 2023 Marvell > >> >> + */ >

RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-02-19 Thread Tomasz Duszynski
>-Original Message- >From: Konstantin Ananyev >Sent: Friday, February 17, 2023 11:15 AM >To: Tomasz Duszynski ; Konstantin Ananyev >; >dev@dpdk.org >Subject: RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading >PMU events > > > >>

RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-02-17 Thread Konstantin Ananyev
> >> > >> This is especially useful in cases where CPU cores are isolated i.e > >> run dedicated tasks. In such cases one cannot use standard perf > >> utility without sacrificing latency and performance. > >> > >> Signed-off-by: Tomasz Duszynski > >> Acked-by: Morten Brørup > >> --- > >> MAI

RE: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-02-17 Thread Tomasz Duszynski
>-Original Message- >From: Konstantin Ananyev >Sent: Friday, February 17, 2023 12:51 AM >To: dev@dpdk.org >Subject: [EXT] Re: [PATCH v11 1/4] lib: add generic support for reading PMU >events > >External Email > >

Re: [PATCH v11 1/4] lib: add generic support for reading PMU events

2023-02-16 Thread Konstantin Ananyev
16/02/2023 17:54, Tomasz Duszynski пишет: Add support for programming PMU counters and reading their values in runtime bypassing kernel completely. This is especially useful in cases where CPU cores are isolated i.e run dedicated tasks. In such cases one cannot use standard perf utility without