]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r281860: Make AIO to not allocate pbufs for unmapped I/O like r281825.
authormav <mav@FreeBSD.org>
Wed, 6 May 2015 21:08:16 +0000 (21:08 +0000)
committermav <mav@FreeBSD.org>
Wed, 6 May 2015 21:08:16 +0000 (21:08 +0000)
commit8ef9c9b39e25706df435e6b65e8a992924ecbe2a
treec6e4935336e20215ce67e7b99e2064e56a1c4fe6
parent721a41ae3e0726764b18a361fdd84ffcea5fd609
MFC r281860: Make AIO to not allocate pbufs for unmapped I/O like r281825.

While there, make few more performance optimizations.

On 40-core system doing many 512-byte AIO reads from array of raw SSDs
this change removes lock congestions inside pbuf allocator and devfs,
and bottleneck on single AIO completion taskqueue thread.  It improves
peak AIO performance from ~600K to ~1.3M IOPS.
sys/kern/vfs_aio.c