Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Mar 1998 07:56:12 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        dyson@FreeBSD.ORG
Cc:        tom@uniserve.com, current@FreeBSD.ORG
Subject:   Re: 3.0-RELEASE?
Message-ID:  <199803030756.AAA17826@usr05.primenet.com>
In-Reply-To: <199803030601.BAA00325@dyson.iquest.net> from "John S. Dyson" at Mar 3, 98 01:01:13 am

next in thread | previous in thread | raw e-mail | index | archive | help
> >   It is kinda of interesting that Solidtech ported their Solid server to
> > FreeBSD 2.2, but performance is so-so because of lack of threading.
>
> That does not surprise me.  Oracle is the same way (whoops!!!), because
> the current FreeBSD port doesn't use AIO.  (The port was done a long time
> ago.)  It is mostly used in the NC server, and doesn't really need high
> perf.
> 
> Actually, AIO should help databases alot.

Yes.  I was going to point out that user space threading actually
works up to Draft 4 requirements now, and there is very little
difference between thre and draft 10.

The main difference in using AIO or kernel threads is that you can
interleave read operations (write operations are interleaved anyway).
There's a bit of argument possible here; for example, when you make a
read with O_NONBLOCK, and it returns EWOULDBLOCK, it's probably a
good thing to trigger a read-ahead.  This would allow the current user
space implementation to interleave I/O as effectively as a kernel
threads implementation, and with an additional NULL system call overhead
relative to each read call.

An AIO may or may not be able to cluster waits in the average case,
so this may be a wash.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803030756.AAA17826>