From owner-svn-src-all@freebsd.org Sat Sep 16 11:51:59 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 461CFE116B9 for ; Sat, 16 Sep 2017 11:51:59 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: from mail-lf0-x22b.google.com (mail-lf0-x22b.google.com [IPv6:2a00:1450:4010:c07::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BA8AB737FA for ; Sat, 16 Sep 2017 11:51:58 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: by mail-lf0-x22b.google.com with SMTP id d4so4506610lfj.7 for ; Sat, 16 Sep 2017 04:51:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuxi-nl.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=EjZwzs9q3qejFXwY07qVCJdlOaaa65yERySyYNIJJi4=; b=EnOc78JOqxXbfz4M7bVfpYW6PzmamcUrvF9VIkva3pM+JzB4JooQUX8rUQuuEhWfNV ZOSSGQxwMUZfVmKEATEXlYqlQmBFWsuhRCFmA3CKHhk9EuDrXaCKaIuuJKTyU2WuWO/P 2DKG6LTFOwSxcNythO/3CsSY+A7zBQvDfivMtUC+DKrtoLrzrgoDzopwzcE1++lgUxFX rL4dKtqR+xsx2P2+PRhIAJNBXKB6IbOIZ/DDHzHWbjf7cJW+hj9SzN5lrHKlBzxmY6QH FDhwcst4I5LOoOKXTPTRy2gYMcUWNofopoXA/vxkD8w84+MWVcZ4po0AHjsT1S/D4E3e 3n8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=EjZwzs9q3qejFXwY07qVCJdlOaaa65yERySyYNIJJi4=; b=KoMeQPNaZojPCzHZQ7vzLsrjQTQNVgtRPngJL/cutJmgJKqo/Z5pUaO+2BuGuPlxw4 3aA5N6DE6EAl8zgq+qRbT09fIVSEg5a2SgDCDSJG85F6ggOB4ZvbefvV17yhVeuO8NDs CRNKpjW3RjrfzMZO1innapSvdYbqWiVoz+htliynpxmmOA75sg26zw2ERWhwYHA8w/Bu XOgxAVLcUfbjdliu1p+/T/DzK616nrRHPD/SrRKpcrYn4cIZH+SgGkvvecF2ij5LlV1b l8QtTC3EeoGFc8na99tTo52TVLNXLLNvhAmlry47y+RA3wRLo0NoaYwKy3inBuhXwam9 nEwQ== X-Gm-Message-State: AHPjjUjehwbjM8Egqf09sjiz9pQdeFwsWwQGZySC+svtY/o3o1OPwYq/ oOvvBYxqUdCdZ5u8xnwrs0f9LHDS8CQ+XrjnPFPGgA== X-Google-Smtp-Source: AOwi7QDghaPMAKvj1pPtvaOL3R2AU+25iTPq3XeI0vBsvdztRF9cEFdT0YkatM9mV+GKnqcA7O9+ko4lxP8N5qF1S4M= X-Received: by 10.25.92.68 with SMTP id q65mr1517680lfb.206.1505562716897; Sat, 16 Sep 2017 04:51:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.142.68 with HTTP; Sat, 16 Sep 2017 04:51:26 -0700 (PDT) In-Reply-To: <20170915115819.GA22099@stack.nl> References: <201709050746.v857kjX9032212@repo.freebsd.org> <20170915115819.GA22099@stack.nl> From: Ed Schouten Date: Sat, 16 Sep 2017 12:51:26 +0100 Message-ID: Subject: Re: svn commit: r323177 - in head: sys/compat/cloudabi sys/contrib/cloudabi usr.bin/truss To: Jilles Tjoelker Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2017 11:51:59 -0000 Hi Jilles, 2017-09-15 12:58 GMT+01:00 Jilles Tjoelker : > Although this is correct from a functionality point of view (S_IFIFO and > S_IFSOCK are probably expected to be different in a POSIX context, but > this is unlikely to break anything that is not already broken), it is a > partial reversal of previous changes to FreeBSD that created separate > implementations for pipes (first unnamed pipes in 1996, later fifos in > 2012 r232055). The main reason for these changes was performance. > > Unfortunately, I do not have concrete benchmarks in the CloudABI > context. That is important to keep in mind indeed. Thanks for pointing this out! When I discussed this with some of the other folks working on CloudABI, we came to the conclusion that this (potential) loss of performance is acceptable in the nearby future. If it would really affect us negatively, it should in theory be possible to reimplement our streaming sockets and pipes with something as simple and fast as FreeBSD's pipes, but still support file descriptor passing, etc. -- Ed Schouten Nuxi, 's-Hertogenbosch, the Netherlands