On Wed, Jan 19, 2022 at 11:09:11PM +0200, Dmitry Kozlyuk wrote: > This patchset is a new design and implementation of [1]. > > v2: > * Fix hugepage file removal when they are no longer used. > Disable removal with --huge-unlink=never as intended. > Document this behavior difference. (Bruce) > * Improve documentation, commit messages, and naming. (Thomas) > Thanks for the v2, I now see the promised perf improvements when running some quick tests with testpmd. Some quick numbers below, summary version is that for testpmd with default mempool size startup/exit time drops from 1.7s to 1.4s, and when I increase mempool size to 4M mbufs, time drops from 7.6s to 3.9s.
/Bruce cmd: "time echo "quit" | sudo ./build/app/dpdk-testpmd -c F --no-pci -- -i" Baseline (no patches) - 1.7 sec Baseline (with patches) - 1.7 sec Huge-unlink=never - 1.4 sec Adding --total-num-mbufs=4096000 Baseline (with patches) - 7.6 sec Huge-unlink=never - 3.9 sec