aio in GENERIC?

Adrian Chadd adrian at freebsd.org
Fri Jul 20 07:27:53 UTC 2012


On 19 July 2012 09:07, Matthew Jacob <mj at feral.com> wrote:
> On 7/19/2012 8:58 AM, Adrian Chadd wrote:
>>
>> .. the API supports the avoidance of copyin/copyout?
>>
>>
> okay, I'll buy that, although I'm not certain of the utility in general of
> that.
>
> The reason I asked was that I have rarely, if ever, run into an AIO
> implementation that was more trouble than it was worth. It certainly has
> caused major grief in FreeBSD when used with CAM target mode.

Because the userland code was wrong, or because supporting it in the
kernel for CAM target mode is hard?

I used posix AIO for Squid servers. It dropped CPU use quite noticably.



Adrian


More information about the freebsd-arch mailing list