From owner-svn-src-head@freebsd.org Wed Jun 14 22:50:40 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 7680CBF53F4; Wed, 14 Jun 2017 22:50:40 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-qt0-x22a.google.com (mail-qt0-x22a.google.com [IPv6:2607:f8b0:400d:c0d::22a]) (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 2E1CA7B4E2; Wed, 14 Jun 2017 22:50:40 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-qt0-x22a.google.com with SMTP id u12so19402107qth.0; Wed, 14 Jun 2017 15:50:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=HUbm6bOMUDqnarQYlYKbwDMSqYXH2CVi13i/Eyi8pF0=; b=U5pSaRz02gLYGMGygtKj35U+lu5Sosz8tjRwCXViLoTUrAKNzIdSmnKCk2p4AjX+rg i6PlAxmxDlftYmEfTCJhKnZicWOiHbM1qo/pceRJhL7izZrd+JwLqWyE5ajRI793tnXR Y8eEb4niXOQB4bKMqi02/GHBfoVS4su0LDm6a+eUrx0QLlt2nkajcLeOLq6M7eLsRuNo cw9ipFbTk5h/+cSS1fYlJ2/Dlh8y+2D6T1nwx7d8sqrDjNEw3dudH0xeO9c1QKrp7Vxf +vJ0qWM56oVniFnzCG4ivms7e8ikZhyJktNMRDTW9Rnhpi8s/yFYOh1cNvVnUrMf8D0q Oisg== 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=HUbm6bOMUDqnarQYlYKbwDMSqYXH2CVi13i/Eyi8pF0=; b=b/PN1Fd9Q0MGjRvRCPnS9XOI2AwH0beqOF6i6mSx46QGzYMjzDIIVFdRX2uzCkBNGA ZiH4qg3MDai94aSwKx7WmBYpbXymIqjXKZtdXI9qJ1pZW1gUQUwDxudBqAAPO/ttR8RA Csp3sWA4ZbpTDl9jvwbRw74ZTlz+68zoBq5TF0PNr9AtMuqdrz+8/42rzsnQ5CvDiAlP oEe1K3w2aAlgE+G3h88vuqSDTQGwG7ZCi+f3KXf++xtS+MzD6om41IK7yh8WyrmF/8QW eWlxhwF1wD2St9NctRK9oPvoYyG9tLB+mm9VzMVsQ/ykdQ6bjqoiTyLVsE31ksMxsWSv Iyfw== X-Gm-Message-State: AKS2vOzl454uUpZ8iMSPH0KpDw9q/DKPO9vZuWolNNwH0IWpys9JxDVC cU+b4kJootU9QUe8AfN4ll3GEcPqTY0/ X-Received: by 10.55.76.140 with SMTP id z134mr2966441qka.35.1497480639020; Wed, 14 Jun 2017 15:50:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.92.214 with HTTP; Wed, 14 Jun 2017 15:50:38 -0700 (PDT) In-Reply-To: <59cc8b64-0cba-70c7-68c8-53f48a3c1471@FreeBSD.org> References: <201706131235.v5DCZ1aR077437@repo.freebsd.org> <59cc8b64-0cba-70c7-68c8-53f48a3c1471@FreeBSD.org> From: Ngie Cooper Date: Wed, 14 Jun 2017 15:50:38 -0700 Message-ID: Subject: Re: svn commit: r319897 - head/usr.bin/yes To: Bryan Drewery Cc: Justin Hibbits , 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: Wed, 14 Jun 2017 22:50:40 -0000 On Wed, Jun 14, 2017 at 7:27 AM, Bryan Drewery wrote: ... > The code has become more complex. I think capsicum does make sense now > in case there is an unseen overflow in the new optimized code. Can we add SCTP support to it? I think we could totally make this into a performant network service, e.g., an echo server that always says, "yes". I don't think TCP would be performant enough, and I think UDP's unreliable'ness doesn't have enough protocol guarantees to make sure the sender-receiver pairs can submit streams of infinite "yes"'es. -Ngie