vhost: Fix and improve NUMA reallocation
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest7 patches 9 repliesIn review
- v67 patches 12 repliesSuperseded
- v54 patches 1 replySuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 7 patches | 9 replies | Superseded | |
| v2 | 6 patches | 3 replies | Superseded | |
| v1 | 6 patches | 0 replies | Superseded |
Changes in v7 from the cover letter
==============
- Fix missing free() to rte_free() conversion (Chenbo)
- Add R-by's
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | vhost: fix missing memory table NUMA realloclib/ | +17 | 0 replies | |
| 2/7 | vhost: fix missing guest pages table NUMA realloclib/ | +13 | 0 replies | |
| 3/7 | vhost: fix missing cache logging NUMA realloclib/ | +10 | 1 reply | |
| 4/7 | vhost: fix NUMA reallocation with multiqueuelib/ | +10 | 3 replies | |
| 5/7 | vhost: improve NUMA reallocationlib/ | +81 | 0 replies | |
| 6/7 | vhost: allocate all data on same node as virtqueuelib/ lib/ lib/ | +45 | 0 replies | |
| 7/7 | vhost: convert inflight data to DPDK allocation APIlib/ lib/ | +60 | 3 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Chenbo Xia |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [dpdk-dev] [PATCH v7 0/7] vhost: Fix and improve NUMA reallocation
This patch series first fixes missing reallocations of some Virtqueue and device metadata.
Then, it improves the numa_realloc function by using rte_realloc_socket API that takes care of the memcpy & freeing. The VQs NUMA IDs are also saved in the VQ metadata and used for every allocations so that all allocations before NUMA realloc are on the same VQ, later ones are allocated on the proper one.
Finally inflight feature metada are converted from calloc() to rte_zmalloc_socket() and their reallocation is handled in numa_realloc().
Changes in v7:
==============
- Fix missing free() to rte_free() conversion (Chenbo)
- Add R-by's
Changes in v6:
==============
- Send the complete series
Changes in v5:
==============
- Do not reallocate if VS is ready (Chenbo)
- Fix typos & cosmetics (Chenbo)
- Improve numa_realloc() comment (Chenbo)
Changes in v4:
==============
- Check Vhose device numa node to avoid rte_realloc_socket to realloc even if already right node/size/align.
Changes in v3:
==============
- Fix copy/paste issues (David)
- Ad new patch to fix multiqueue reallocation
Changes in v2:
==============
- Add missing NUMA realloc in patch 6
Maxime Coquelin (7):
vhost: fix missing memory table NUMA realloc
vhost: fix missing guest pages table NUMA realloc
vhost: fix missing cache logging NUMA realloc
vhost: fix NUMA reallocation with multiqueue
vhost: improve NUMA reallocation
vhost: allocate all data on same node as virtqueue
vhost: convert inflight data to DPDK allocation API
lib/vhost/vhost.c | 38 +++--- lib/vhost/vhost.h | 1 + lib/vhost/vhost_user.c | 278 ++++++++++++++++++++++++++--------------- 3 files changed, 198 insertions(+), 119 deletions(-)
Signature · 1 line
2.31.1