Re: [PATCH v4 09/11] hw/9pfs/9p-synth: avoid n-square issue in synth_readdir()

2020-01-23 Thread Christian Schoenebeck
On Donnerstag, 23. Januar 2020 12:13:51 CET Greg Kurz wrote: > Honestly it doesn't seem to change anything significant for me. > Mean time calculated over 100 runs: > > Without this patch: > > [greg@bahia qemu-9p]$ (cd .mbuild-$(stg branch)/obj ; export > QTEST_QEMU_BINARY='x86_64-softmmu/qemu-sy

Re: [PATCH v4 09/11] hw/9pfs/9p-synth: avoid n-square issue in synth_readdir()

2020-01-23 Thread Greg Kurz
On Tue, 21 Jan 2020 01:26:15 +0100 Christian Schoenebeck wrote: > This patch is just a temporary benchmark hack, not intended > to be merged! > > 9pfs synth driver's readdir() implementation has a severe > n-square performance problem. This patch is a quick and dirty > hack to prevent that perfo

[PATCH v4 09/11] hw/9pfs/9p-synth: avoid n-square issue in synth_readdir()

2020-01-20 Thread Christian Schoenebeck
This patch is just a temporary benchmark hack, not intended to be merged! 9pfs synth driver's readdir() implementation has a severe n-square performance problem. This patch is a quick and dirty hack to prevent that performance problem from tainting the readdir() benchmark results. In its current f