Re: [RFC v2] eal: provide option to use compiler memcpy instead of RTE

2024-06-02 Thread Mattias Rönnblom
On 2024-05-31 18:50, Stephen Hemminger wrote: On Fri, 31 May 2024 07:19:41 +0200 Mattias Rönnblom wrote: On 2024-05-28 17:09, Bruce Richardson wrote: On Tue, May 28, 2024 at 07:59:36AM -0700, Stephen Hemminger wrote: On Tue, 28 May 2024 10:19:15 +0200 Mattias Rönnblom wrote: I'v

Re: [RFC v2] eal: provide option to use compiler memcpy instead of RTE

2024-05-31 Thread Stephen Hemminger
On Fri, 31 May 2024 07:19:41 +0200 Mattias Rönnblom wrote: > On 2024-05-28 17:09, Bruce Richardson wrote: > > On Tue, May 28, 2024 at 07:59:36AM -0700, Stephen Hemminger wrote: > >> On Tue, 28 May 2024 10:19:15 +0200 > >> Mattias Rönnblom wrote: > >> > > >>> > >>> I've tested this

Re: [RFC v2] eal: provide option to use compiler memcpy instead of RTE

2024-05-30 Thread Mattias Rönnblom
On 2024-05-28 17:09, Bruce Richardson wrote: On Tue, May 28, 2024 at 07:59:36AM -0700, Stephen Hemminger wrote: On Tue, 28 May 2024 10:19:15 +0200 Mattias Rönnblom wrote: I've tested this patch some with DSW micro benchmarks, and the result is a 2.5% reduction of the DSW+testapp overhead

Re: [RFC v2] eal: provide option to use compiler memcpy instead of RTE

2024-05-28 Thread Mattias Rönnblom
On 2024-05-28 11:07, Morten Brørup wrote: From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] Sent: Tuesday, 28 May 2024 11.00 On 2024-05-28 10:27, Bruce Richardson wrote: On Tue, May 28, 2024 at 10:19:15AM +0200, Mattias Rönnblom wrote: On 2024-05-28 09:43, Mattias Rönnblom wrote: Provide

Re: [RFC v2] eal: provide option to use compiler memcpy instead of RTE

2024-05-28 Thread Mattias Rönnblom
On 2024-05-28 16:59, Stephen Hemminger wrote: On Tue, 28 May 2024 10:19:15 +0200 Mattias Rönnblom wrote: I've tested this patch some with DSW micro benchmarks, and the result is a 2.5% reduction of the DSW+testapp overhead with cc/libc memcpy. GCC 11.4. We've also run characteristic test

Re: [RFC v2] eal: provide option to use compiler memcpy instead of RTE

2024-05-28 Thread Bruce Richardson
On Tue, May 28, 2024 at 07:59:36AM -0700, Stephen Hemminger wrote: > On Tue, 28 May 2024 10:19:15 +0200 > Mattias Rönnblom wrote: > > > > > > > > I've tested this patch some with DSW micro benchmarks, and the result is > > a 2.5% reduction of the DSW+testapp overhead with cc/libc memcpy. GCC

RE: [RFC v2] eal: provide option to use compiler memcpy instead of RTE

2024-05-28 Thread Morten Brørup
> From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] > Sent: Tuesday, 28 May 2024 11.00 > > On 2024-05-28 10:27, Bruce Richardson wrote: > > On Tue, May 28, 2024 at 10:19:15AM +0200, Mattias Rönnblom wrote: > >> On 2024-05-28 09:43, Mattias Rönnblom wrote: > >>> Provide build option to have fun

Re: [RFC v2] eal: provide option to use compiler memcpy instead of RTE

2024-05-28 Thread Mattias Rönnblom
On 2024-05-28 10:27, Bruce Richardson wrote: On Tue, May 28, 2024 at 10:19:15AM +0200, Mattias Rönnblom wrote: On 2024-05-28 09:43, Mattias Rönnblom wrote: Provide build option to have functions in delegate to the standard compiler/libc memcpy(), instead of using the various traditional, handc

Re: [RFC v2] eal: provide option to use compiler memcpy instead of RTE

2024-05-28 Thread Bruce Richardson
On Tue, May 28, 2024 at 10:19:15AM +0200, Mattias Rönnblom wrote: > On 2024-05-28 09:43, Mattias Rönnblom wrote: > > Provide build option to have functions in delegate to > > the standard compiler/libc memcpy(), instead of using the various > > traditional, handcrafted, per-architecture rte_memcpy

Re: [RFC v2] eal: provide option to use compiler memcpy instead of RTE

2024-05-28 Thread Bruce Richardson
On Tue, May 28, 2024 at 09:43:54AM +0200, Mattias Rönnblom wrote: > Provide build option to have functions in delegate to > the standard compiler/libc memcpy(), instead of using the various > traditional, handcrafted, per-architecture rte_memcpy() > implementations. > > A new meson build option '

Re: [RFC v2] eal: provide option to use compiler memcpy instead of RTE

2024-05-28 Thread Mattias Rönnblom
On 2024-05-28 09:43, Mattias Rönnblom wrote: Provide build option to have functions in delegate to the standard compiler/libc memcpy(), instead of using the various traditional, handcrafted, per-architecture rte_memcpy() implementations. A new meson build option 'use_cc_memcpy' is added. The de