From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id C178B7EE25 for ; Fri, 18 Oct 2013 19:23:49 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of pelzlpj@gmail.com) identity=pra; client-ip=209.85.160.41; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="pelzlpj@gmail.com"; x-sender="pelzlpj@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of pelzlpj@gmail.com designates 209.85.160.41 as permitted sender) identity=mailfrom; client-ip=209.85.160.41; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="pelzlpj@gmail.com"; x-sender="pelzlpj@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-pb0-f41.google.com) identity=helo; client-ip=209.85.160.41; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="pelzlpj@gmail.com"; x-sender="postmaster@mail-pb0-f41.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtkBAHluYVLRVaApm2dsb2JhbABagz9SgmS7QIEZCBYOAQEBAQEGCwsJFCiCJQEBBUABGx4DDAYFCw0uIQEBEQEFARwGE4dzAQMPDKJnjFWDCoQTChknDWSJAQEFDIxaGYJehCkDiT+MX4FrjFCDSxgphG0e X-IPAS-Result: AtkBAHluYVLRVaApm2dsb2JhbABagz9SgmS7QIEZCBYOAQEBAQEGCwsJFCiCJQEBBUABGx4DDAYFCw0uIQEBEQEFARwGE4dzAQMPDKJnjFWDCoQTChknDWSJAQEFDIxaGYJehCkDiT+MX4FrjFCDSxgphG0e X-IronPort-AV: E=Sophos;i="4.93,523,1378850400"; d="scan'208";a="37700038" Received: from mail-pb0-f41.google.com ([209.85.160.41]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 18 Oct 2013 19:23:36 +0200 Received: by mail-pb0-f41.google.com with SMTP id rp16so4119558pbb.14 for ; Fri, 18 Oct 2013 10:23:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=cF/rXgoLKC+DmFEr8xbpK6Hei/X2sm43OklI/YW8p2Q=; b=MdqS1PSGSMUwhjUiQnuEXGBh2NWkiKpFG4msvGFR/98y5Wfx5p5lJOOrVS+nb0x1Ks uZdh+90+GldZQWn6aQRUMkl3fOz1vX3XAIJalEgHBOInjrBwm1GQR0uAnobLiHrbghtY 2hdrLdxbB7KFoRkfD7uIsZQyqKrKzJ4Q1x2Z6Y/7oi+nztY1IMQZqU7QyDGaGNAZPeg7 LINCcmFvkpG/BuSG9K8xSDetu4SM/UL9R53SY3djCNQs+ycGfH6kXdPxv/gfmXE/+Roz jwVsq6YfUH485puhVMPrWe19eZn5wDLW4sK3JRGpz7KRLvZT6r5hm82Atx99lrkv3rsS r62w== MIME-Version: 1.0 X-Received: by 10.67.30.164 with SMTP id kf4mr4550161pad.13.1382117015931; Fri, 18 Oct 2013 10:23:35 -0700 (PDT) Received: by 10.66.154.194 with HTTP; Fri, 18 Oct 2013 10:23:35 -0700 (PDT) In-Reply-To: References: <20131018115553.GA28679@ombreroze.happyleptic.org> <20131018115955.GG25839@dark.recoil.org> <20131018121612.GB28679@ombreroze.happyleptic.org> <20131018122018.GJ25839@dark.recoil.org> Date: Fri, 18 Oct 2013 12:23:35 -0500 Message-ID: From: Paul Pelzl To: OCaml Mailing List Content-Type: text/plain; charset=ISO-8859-1 X-Validation-by: pelzlpj@gmail.com Subject: Re: [Caml-list] IPv6 packet parsing On Fri, Oct 18, 2013 at 9:20 AM, Markus Mottl wrote: > It may also be of interest to investigate the use of "splice" and > "tee" on Linux to avoid frequent switches between user- and kernel > mode and to duplicate I/O streams without having to copy the data > (zero copy). There is an implementation in > Core_extended.Extended_Linux in the core_extended OPAM package. Before investigating too far and getting disappointed by mediocre performance, it's worth pointing out that SPLICE_F_MOVE support got pulled from the kernel quite some time ago [1] and still hasn't returned [2]. It does look like someone is actively working on it, however [3]. Paul [1] https://lkml.org/lkml/2008/9/23/115 [2] http://lxr.free-electrons.com/ident?v=3.11;i=SPLICE_F_MOVE [3] https://lkml.org/lkml/2013/10/7/532