From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 30AB0BC37 for ; Thu, 29 Oct 2009 21:40:13 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuYDAAGb6UrUCb2ngWdsb2JhbACbSAEBFiTDc4Q9BA X-IronPort-AV: E=Sophos;i="4.44,648,1249250400"; d="scan'208";a="37228564" Received: from mail.enyo.de ([212.9.189.167]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/AES256-SHA; 29 Oct 2009 21:40:08 +0100 Received: from deneb.vpn.enyo.de ([212.9.189.177] helo=deneb.enyo.de) by mail.enyo.de with esmtp id 1N3bmv-00060s-KC; Thu, 29 Oct 2009 21:40:05 +0100 Received: from fw by deneb.enyo.de with local (Exim 4.69) (envelope-from ) id 1N3bmv-0003DW-2I; Thu, 29 Oct 2009 21:40:05 +0100 From: Florian Weimer To: Goswin von Brederlow Cc: caml-list@inria.fr Subject: Re: [Caml-list] Re: How to read different ints from a Bigarray? References: <87eiond3of.fsf@frosties.localdomain> <87639zd0m9.fsf@frosties.localdomain> Date: Thu, 29 Oct 2009 21:40:05 +0100 In-Reply-To: <87639zd0m9.fsf@frosties.localdomain> (Goswin von Brederlow's message of "Wed, 28 Oct 2009 16:00:46 +0100") Message-ID: <87639yue6y.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam: no; 0.00; bigarray:01 aligned:01 afaik:01 ints:01 caml-list:01 data:02 rarely:02 florian:03 asynchronous:03 long:06 linux:07 does:14 von:84 use:16 trouble:17 * Goswin von Brederlow: > - The data is passed to libaio and needs to be kept alive and unmoved > as long as libaio knows it. It also has to be aligned to a 512-byte boundary, so you can use O_DIRECT. Linux does not support truely asynchronous I/O without O_DIRECT AFAIK, which rarely makes it worth the trouble.