Re: Thread implementations...

MOLNAR Ingo (mingo@valerie.inf.elte.hu)
Fri, 26 Jun 1998 06:55:12 +0200 (MET DST)


On Fri, 26 Jun 1998, Richard Gooch wrote:

> > it might be that the implementation does not scale well. Unless there is
> > something fundamentally broken about the aio_...() interface (API) itself,
> > why reimplement the wheel? It's a standard interface.
>
> OK, fine. Under Linux (and possibly other OSes) that implement aio_*()
> using threads, it does not scale very well. [...]

the _current_ implementation. There is nothing that says you cannot
implement aio_*() with a pool of threads and your 'slice up the select
space into small pieces and make pieces migrate to get better balance'
concept ...

i was just suggesting this, nothing else. Please use an existing interface
(unless that interface is broken). Especially as the hard work of
integrating it and getting it to work has already been done ...

your migrating fd scheme does seem to fit well into the aio_*() API at
first sight. [same is true for the fcntl() driven RT signal stuff]

-- mingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu