Re: async-io

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 23 Apr 2000 23:02:11 +0200

Adrian Chadd wrote:

> Having a modified aiops.c which had the concept of a 'queue' would be
> nice. I ight look into this at a much later date.

???

aiops.c has a queue, and a round-robin scheduler that shedules entries
from the queue on individual threads as they become available.

What should perhaps be changed in that area is that the threads should
probably pick entries from the queue themselves and deliver them to a
single (or small pool of) return queues when done. Stewart was perhaps a
bit too worried about mutex congestion, so currently there is a mutex
per thread rather than for the queue(s).

/Henrik
Received on Sun Apr 23 2000 - 15:06:22 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:23 MST