Re: Small size of core QUIC library to replace TCP for embedded system

Lars Eggert <lars@eggert.org> Wed, 22 July 2020 06:10 UTC

Return-Path: <lars@eggert.org>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 105A73A0E23 for <quic@ietfa.amsl.com>; Tue, 21 Jul 2020 23:10:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=eggert.org
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Shf0Pjas-_R4 for <quic@ietfa.amsl.com>; Tue, 21 Jul 2020 23:10:50 -0700 (PDT)
Received: from mail.eggert.org (mail.eggert.org [91.190.195.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 168443A0E24 for <quic@ietf.org>; Tue, 21 Jul 2020 23:10:50 -0700 (PDT)
Received: from [IPv6:2a00:ac00:0:35:b1a0:61d5:fc38:9118] (unknown [IPv6:2a00:ac00:0:35:b1a0:61d5:fc38:9118]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.eggert.org (Postfix) with ESMTPSA id 842F46503FD; Wed, 22 Jul 2020 09:10:44 +0300 (EEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eggert.org; s=dkim; t=1595398244; bh=JbufiifmCWt6FkW9eAruXcMh4F8BY2DPNZYZypjCtcM=; h=From:Subject:Date:In-Reply-To:Cc:To:References; b=tgjzMkeS96wNCFkmj9fM6gFPC8iUnxglEzWc2g68B7T+u5Elh1cftpQvip+bO6fnv vL54eBs1hZXdcjZrsMqXUca9proKFrSJLhTR/kjeap+4CTYlzxnKtFqPLF9WINctEJ BW8TD7A0OLoLPXdBp2el07Kjc1TVQvJ3gqVexuAs=
From: Lars Eggert <lars@eggert.org>
Message-Id: <FA2F8CAC-60D8-405D-8FB1-984675AF953A@eggert.org>
Content-Type: multipart/signed; boundary="Apple-Mail=_471EF00E-72E4-4F05-AFA0-FA3AC40EE3BC"; protocol="application/pgp-signature"; micalg="pgp-sha512"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\))
Subject: Re: Small size of core QUIC library to replace TCP for embedded system
Date: Wed, 22 Jul 2020 09:10:44 +0300
In-Reply-To: <CAA=hcWQ60GH2TnjvqBEGvVQ1whxNYwEWjQ+b9FW948GKvN570Q@mail.gmail.com>
Cc: quic <quic@ietf.org>
To: Jupiter <jupiter.hce@gmail.com>
References: <CAA=hcWS0V8ipsoAEFK3ejdA++Vzi+czth37=ntP4mnt8d=mtRg@mail.gmail.com> <1C514B96-9AAA-40B3-93EC-3DCDFAF72A93@eggert.org> <CAA=hcWTP7mVo1yyr8wQrgNuA40Tr5=XcrqJiebtVa7Km=2sLzw@mail.gmail.com> <F384B33C-70F8-45EF-AB5C-30D0A145659A@eggert.org> <CAA=hcWQ60GH2TnjvqBEGvVQ1whxNYwEWjQ+b9FW948GKvN570Q@mail.gmail.com>
X-MailScanner-ID: 842F46503FD.A36C9
X-MailScanner: Found to be clean
X-MailScanner-From: lars@eggert.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/DOfrEgKZ3iSuRvf44_MZOIRhPSI>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Jul 2020 06:10:52 -0000

Hi,

On 2020-7-21, at 13:56, Jupiter <jupiter.hce@gmail.com> wrote:
> Good to know, fair to say your git source is for RTOS statically on
> bare metal, I was there a long time before :-).

actually, it's not. I *ported* quant to embedded OSs, which was pretty doable since the packet I/O stuff was already factored out into warpcore. But quant as a QUIC stack runs fine on POSIX.

(Warpcore is a kernel bypass IP/UDP stack with a focus on datacenter usage, not IoT. But it has a POSIX backend as well as kernel-bypass support.)

Lars