HomeFreeBSD

Make AIO to not allocate pbufs for unmapped I/O like r281825.

Description

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.

MFC after: 2 weeks

Details

Provenance
mavAuthored on
Parents
rS281859: Fix the SDHCI clock frequency for RPI2, the default clock (for the newer
Branches
Unknown
Tags
Unknown