Re: [vpp-dev] possible buffer deposit if allocating buffer via CPU on one NUMA and freeing buffer via CPU on another NUMA

2019-03-17 Thread lollita
Hi, Damjan, My concern is even the cache for transmit thread is full, then buffer will be return to the main pool, but the buffer in transmit thread cache will not be freed or allocated any more. So it will be deposit in the transmit thread cache. BR/Lollita Liu From: Damjan Marion

Re: [vpp-dev] possible buffer deposit if allocating buffer via CPU on one NUMA and freeing buffer via CPU on another NUMA

2019-03-15 Thread Damjan Marion via Lists.Fd.Io
-- Damjan On 15 Mar 2019, at 11:42, Lollita Liu mailto:lollita@ericsson.com>> wrote: Hi, Damjan. After reading the buffer management mechanism of master’s latest code, I think there is possibility that some buffers can’t be used anymore. Let me an example to explain the

[vpp-dev] possible buffer deposit if allocating buffer via CPU on one NUMA and freeing buffer via CPU on another NUMA

2019-03-15 Thread lollita
Hi, Damjan. After reading the buffer management mechanism of master's latest code, I think there is possibility that some buffers can't be used anymore. Let me an example to explain the special case: The VPP is running on a server with 2 socket, CPU 0/2 in socket 1 and CPU