Re: cache thrashing question

2023-08-25 Thread Bruce Richardson
On Fri, Aug 25, 2023 at 11:06:01AM +0200, Morten Brørup wrote: > +CC mempool maintainers > > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Friday, 25 August 2023 10.23 > > > > On Fri, Aug 25, 2023 at 08:45:12AM +0200, Morten Brørup wrote: > > > Bruce, > > > > > > With thi

RE: cache thrashing question

2023-08-25 Thread Morten Brørup
+CC mempool maintainers > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Friday, 25 August 2023 10.23 > > On Fri, Aug 25, 2023 at 08:45:12AM +0200, Morten Brørup wrote: > > Bruce, > > > > With this patch [1], it is noted that the ring producer and consumer data > should not be

Re: cache thrashing question

2023-08-25 Thread Bruce Richardson
On Fri, Aug 25, 2023 at 08:45:12AM +0200, Morten Brørup wrote: > Bruce, > > With this patch [1], it is noted that the ring producer and consumer data > should not be on adjacent cache lines, for performance reasons. > > [1]: > https://git.dpdk.org/dpdk/commit/lib/librte_ring/rte_ring.h?id=d9f0d

cache thrashing question

2023-08-24 Thread Morten Brørup
Bruce, With this patch [1], it is noted that the ring producer and consumer data should not be on adjacent cache lines, for performance reasons. [1]: https://git.dpdk.org/dpdk/commit/lib/librte_ring/rte_ring.h?id=d9f0d3a1ffd4b66e75485cc8b63b9aedfbdfe8b0 (It's obvious that they cannot share the