Date: Mon, 30 Apr 2001 06:31:01 -0700 From: Alfred Perlstein <bright@wintelcom.net> To: =?iso-8859-1?Q?=AAL=AD^=B6W?= <r88074@csie.ntu.edu.tw> Cc: Freebsd-Hackers <freebsd-hackers@FreeBSD.ORG> Subject: Re: write() vs aio_write() Message-ID: <20010430063101.Z18676@fw.wintelcom.net> In-Reply-To: <200104301316.VAA24962@cslab.csie.ntu.edu.tw>; from r88074@csie.ntu.edu.tw on Mon, Apr 30, 2001 at 09:15:25PM %2B0800 References: <200104301316.VAA24962@cslab.csie.ntu.edu.tw>
next in thread | previous in thread | raw e-mail | index | archive | help
* ªL^¶W <r88074@csie.ntu.edu.tw> [010430 06:17] wrote: > Dear all: > > Because write() use buffer cache, I want to know whether aio_write() is > better than write() in FreeBSD 4.1 . Is aio_write() > > outperform write() ? Or any related performance comparison between the two > system call ???? aio_write is for doing async aio. meaning you can ask the kernel to move data for you from a memory location to a file descriptor while you proceed on with doing other work. if you don't have any other work to do then aio is probably just going to slow you down. -- -Alfred Perlstein - [alfred@freebsd.org] Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010430063101.Z18676>