Re: kvm aio wishlist

From: Ingo Molnar
Date: Tue Nov 25 2008 - 10:00:35 EST



* Avi Kivity <avi@xxxxxxxxxx> wrote:

> Perhaps a variant of syslet, that is kernel-only, and does:
>
> - always allocate a new kernel stack at io_submit() time, but not a
> new thread

such a N:M threading design is a loss - sooner or later we arrive to a
point where people actually start using it and then we want to
load-balance and schedule these entities.

So i'd suggest the kthread based async engine i wrote for syslets. It
worked well and for kernel-only entities it schedules super-fast - it
can do up to 20 million events per second on a 16-way box i'm testing
on. The objections about syslets were not related to the scheduling of
it but were mostly about the userspace API/ABI: you dont have to use
that.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/