🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #38272

Re: Asychronous I/O (was: Submitting to Freenix)

#38272
From: Chris Sedore
Date: Sat, 26 Jun 1999 00:00
33 lines
2218 bytes
Russ Allbery wrote in message ...
>Joe Greco <jgreco@ns.sol.net> writes:
>
>> This is interesting.  I wonder how it would fare in an SMP environment.
>> FreeBSD's SMP support has some drawbacks (can you say "big giant lock")
>> and I suspect aio is subject to this.  However, it is at least a step in
>> a useful direction, and opens up the floor to speculation about how it
>> would compare to a threaded model.
>
>Does anyone know if there are plans of adding this to Linux and Solaris?
>Linux's SMP environment is pretty good as of the latest 2.3, from what
>I've heard, and Solaris's should be quite solid.


Solaris 7 has the aio routines.  I've been working (to the extent time
allows) to make the code run on Solaris.  Solaris has a more complete
implementation, so the code needs more abstraction in the core io loop, and
then there are the BSD vs SYS V details (didn't quite realize how much
BSDisms had taken over in my head :).

Anyway, I probably have all of 30 hours into this little project, so its not
too hard to experiment (well that's not to fair since I borrowed a few
pieces from NNTPRelay and Tortoise).  I expect to turn this into open source
in the not very distant future as it is not very likely that I am going to
have time to dot all the i's and cross all the t's.  Its a shame to waste
not-bad code that might be otherwise useful, if only as an example.

-Chris



Technical Details
Message-ID: <9303902322053107203-1@dp-news.maxwell.syr.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <7g24e7$ckh$1@info.cs.uofs.edu> <ylg13gyawh.fsf@windlord.stanford.edu> <3773780d$0$374@news.execpc.com> <9303290311991906734-1@dp-news.maxwell.syr.edu> <3774636e$0$374@news.execpc.com> <ylwvwrs9b2.fsf_-_@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <9303902322053107203-1@dp-news.maxwell.syr.edu>
Subject: Re: Asychronous I/O (was: Submitting to Freenix)
Date: Sat, 26 Jun 1999 00:00:00 +0000
From: "Chris Sedore" <cmsedore@maxwell.syr.edu>
References: <7g24e7$ckh$1@info.cs.uofs.edu> <ylg13gyawh.fsf@windlord.stanford.edu> <3773780d$0$374@news.execpc.com> <9303290311991906734-1@dp-news.maxwell.syr.edu> <3774636e$0$374@news.execpc.com> <ylwvwrs9b2.fsf_-_@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 494087199
X-Mimeole: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: news.software.nntp