From owner-svn-src-head@freebsd.org Sat Sep 16 11:51:59 2017 Return-Path: Delivered-To: svn-src-head@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 7264AE116BB for ; Sat, 16 Sep 2017 11:51:59 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: from mail-lf0-x230.google.com (mail-lf0-x230.google.com [IPv6:2a00:1450:4010:c07::230]) (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 EB5A5737FB for ; Sat, 16 Sep 2017 11:51:58 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: by mail-lf0-x230.google.com with SMTP id l196so4490515lfl.1 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=IVLrNQa134OKVl2317OY1u3Yec1ZeaQ9CBDMpoakN2HX1rDj7fwdOQaE4l8GMpaa60 7KRY7jPQnUu6+dlSbzFPwMHi8/SCG0P4LoNFo3rbj7JBDNU+FbiKlPKqtcUGL/dsc/UY FCCnZHFPVeyQNmMuIg9pD30opSGTd2ZfIOwJ1BCLMgmVz1OCjB0euUc00iIK6sezV1P/ hLRgGgfGJJ0gQU8G3HT5oHY8Puo3WarQUV5bt564sf4e1NEKbHJ7U6NT22khZwBrgGn2 oSfyNdKymnk+uEFmfhVS1/PjsObs5Bl0UPt0mo/pqAiSFmqaWK8jOVHRg6NsSXL44o/O LkAA== X-Gm-Message-State: AHPjjUiYVbn5eMafqj8GJsdx7oq8wwkGHYa7xHPI4FzrscSY6/i8F6wN 01pWN25h4E7aRhXVqJLRld7X/efxjkJuZ3P05kvYYA== 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-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current 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