Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752589AbXBDWzn (ORCPT ); Sun, 4 Feb 2007 17:55:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752591AbXBDWzn (ORCPT ); Sun, 4 Feb 2007 17:55:43 -0500 Received: from outpost.ds9a.nl ([213.244.168.210]:59469 "EHLO outpost.ds9a.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752589AbXBDWzm (ORCPT ); Sun, 4 Feb 2007 17:55:42 -0500 Date: Sun, 4 Feb 2007 23:55:41 +0100 From: bert hubert To: Zach Brown Cc: Benjamin LaHaise , Ingo Molnar , linux-kernel@vger.kernel.org, linux-aio@kvack.org, Suparna Bhattacharya , Linus Torvalds Subject: regarding generic AIO, async syscalls precedent + some benchmarks by lighttpd Message-ID: <20070204225541.GA18359@outpost.ds9a.nl> Mail-Followup-To: bert hubert , Zach Brown , Benjamin LaHaise , Ingo Molnar , linux-kernel@vger.kernel.org, linux-aio@kvack.org, Suparna Bhattacharya , Linus Torvalds Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1390 Lines: 32 >From two comments posted to my "blog" http://blog.netherlabs.nl/articles/2007/02/04/a-synchronous-programming Excerpted from the diary of Dragonfly BSD, http://www.dragonflybsd.org/status/diary.shtml Remove the asynchronous syscall interface. It was an idea before its time. However, keep the formalization of the syscall arguments structures. The original async syscall interface was committed in http://leaf.dragonflybsd.org/mailarchive/commits/2004-08/msg00067.html Comment by Jan Kneschke, lighttpd developer, noting the lack of and need for aio_stat(): Reading this article feels like reading the code I wrote in the last days for lighttpd. Even if the network-io was async since the start (non-blocking), the file-io wasn't. Worst of all was the stat() syscall which doesn't have a async interface even in POSIX AIO. So it had to be implemented with threads on our own. At http://www.lighttpd.net/benchmark/ you can see the impact of async vs. blocking syscalls. Perhaps relevant. -- http://www.PowerDNS.com Open source, database driven DNS Software http://netherlabs.nl Open and Closed source services - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/