Hugepage migration

2023-05-28 Thread Baruch Even
if anyone else hit this issue and what mitigations are available? We are currently looking at using a kernel driver to pin the pages but I expect that this issue will affect others and that a more general approach is needed. Thanks, Baruch -- Baruch Even Platform Technical Lead, WEKA E

Re: Hugepage migration

2023-05-30 Thread Baruch Even
I have tested the MAP_LOCKED, it doesn't help in this case. I do intend to report to the kernel but was wondering if others have hit upon this first. On Tue, May 30, 2023 at 4:35 AM Stephen Hemminger < step...@networkplumber.org> wrote: > On Sun, 28 May 2023 23:07:40 +0300 > B

Re: Hugepage migration

2023-05-30 Thread Baruch Even
On Tue, May 30, 2023 at 11:04 AM Bruce Richardson < bruce.richard...@intel.com> wrote: > On Sun, May 28, 2023 at 11:07:40PM +0300, Baruch Even wrote: > >Hi, > >We found an issue with newer kernels (5.13+) that are found on newer > >OSes (Ubuntu22, Rocky9

[dpdk-dev] Compiling without crypto support fails in librte_port

2018-11-20 Thread Baruch Even
h/dev/dpdk/lib/librte_port/rte_port_sym_crypto.h:23:10: fatal error: rte_cryptodev.h: No such file or directory #include It would be nice if I could compile it without crypto support that I don't need. Thanks, Baruch -- *Baruch Even, Software Developer E bar...@weka.io www.wek

Re: [dpdk-dev] NTT TechnoCross roadmap for 21.02

2020-11-29 Thread Baruch Even
One of our intermediate pipeline stages (which not is not receiving or > transmitting packets, only processing them) uses ca. 150 cycles for a burst > of one packet, and down to ca. 110 cycles for a burst of many packets. > > > > > Nevertheless, your suggested API might be usable

Re: [PATCH v26 00/15] Log subsystem improvements

2024-10-20 Thread Baruch Even
> lib/log/meson.build | 12 +- > lib/log/version.map | 5 +- > 27 files changed, 1197 insertions(+), 380 deletions(-) > create mode 100644 lib/log/log_color.c > delete mode 100644 lib/log/log_freebsd.c > create mode

Re: [PATCH v28 11/13] log: add support for systemd journal

2024-10-25 Thread Baruch Even
{ > const char *name; > int value; > @@ -48,6 +52,11 @@ eal_log_syslog(const char *name) > { > unsigned int i; > > + if (name == NULL) { > + log_facility = LOG_DAEMON; > + return 0; > + } > + > for

Re: [PATCH v27 13/14] log: colorize log output

2024-10-25 Thread Baruch Even
;, tsbuf); > + > + ret += color_fmt_msg(out + ret, sizeof(out) - ret, format, ap); > + if (fputs(out, f) < 0) > + return -1; > + > + return ret; > +} > diff --git a/lib/log/log_internal.h b/lib/log/log_internal.h > index 82fdc21ac2..bba7041ea