Re: Netmap on Linux nm_open() fail when receive ring size is set to 4096

2018-03-28 Thread Vincenzo Maffione
Hi, You need to increase the value of some netmap module parameter. At least ring_size, maybe also buf_num. Then restart your netmap applications. Keep in mind that performance could worsen with more slots, because of increased cache thrashing. Cheers, Vincenzo On Wed, Mar 28, 2018, 3:50 PM

Netmap on Linux nm_open() fail when receive ring size is set to 4096

2018-03-28 Thread Ming Fu
Hi, I was trying netmap on a Linux box with 128G of ram (64G per numa node). If I set ixgbe interface to 4096 ring size, the nm_open will fail with error "Cannot allocate memory". What can I tweak to make the card use larger ring size? The following test was run after fresh reboot. $ ethtool -