Re: [dpdk-dev] [PATCH v6 6/7] vhost: allocate all data on same node as virtqueue

2021-06-25 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Friday, June 18, 2021 10:04 PM > To: dev@dpdk.org; david.march...@redhat.com; Xia, Chenbo > > Cc: Maxime Coquelin > Subject: [PATCH v6 6/7] vhost: allocate all data on same node as virtqueue > > This patch saves the NUMA node the vir

[dpdk-dev] [PATCH v6 6/7] vhost: allocate all data on same node as virtqueue

2021-06-18 Thread Maxime Coquelin
This patch saves the NUMA node the virtqueue is allocated on at init time, in order to allocate all other data on the same node. While most of the data are allocated before numa_realloc() is called and so the data will be reallocated properly, some data like the log cache are most likely allocated