From owner-freebsd-hackers Wed Nov 3 15: 4:56 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mailer.syr.edu (mailer.syr.edu [128.230.18.29]) by hub.freebsd.org (Postfix) with ESMTP id DFD0F1557D for ; Wed, 3 Nov 1999 15:04:19 -0800 (PST) (envelope-from cmsedore@mailbox.syr.edu) Received: from rodan.syr.edu by mailer.syr.edu (LSMTP for Windows NT v1.1a) with SMTP id <0.B791BBD0@mailer.syr.edu>; Wed, 3 Nov 1999 18:03:22 -0500 Received: from localhost (cmsedore@localhost) by rodan.syr.edu (8.8.7/8.8.7) with ESMTP id SAA01522; Wed, 3 Nov 1999 18:03:04 -0500 (EST) X-Authentication-Warning: rodan.syr.edu: cmsedore owned process doing -bs Date: Wed, 3 Nov 1999 18:03:03 -0500 (EST) From: Christopher Sedore X-Sender: cmsedore@rodan.syr.edu To: Ricardo Bernardini Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: aio Functions In-Reply-To: <19991102174927.31991.qmail@hotmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 2 Nov 1999, Ricardo Bernardini wrote: > Hello list! > > I'm starting with aio functions (aio_read, aio_return, etc.), I've made them > work with disk file I/O, now I'm trying with TCP sockets not with the same > success. Does anyone know if it is posible to do what I'm trying? Or where > to find more info about this function group? I'just read the man pages about > them. Which version of FreeBSD are you using? Its best to be using -current from my experience. TCP sockets should work, but they'll be pretty crippled for certain kinds of uses (like trying to have an outstanding read on more than a couple dozen sockets, etc). I've got a set of patches that fix this and the fact that signals don't get issued for completion on certain types of requests. I'm hoping to get it committed, but feel free to contact me for the latest stuff until then. I just finished updating and consolidating my patches so they cleanly apply to -current of a week ago. Testing thus far appears promising--I'm balancing more than a few sockets and pushing 10MB/sec through them (disk to socket and the inverse). I killed the last bug I knew of this week (occasionally paniced under some wierd process shutdown conditions). I hope to try 1000 descriptors soon. -Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message