Re: [Deepspace] Some questions about the deep space IP architecture

Marc Blanchet <marc.blanchet@viagenie.ca> Wed, 17 April 2024 16:24 UTC

Return-Path: <marc.blanchet@viagenie.ca>
X-Original-To: deepspace@ietfa.amsl.com
Delivered-To: deepspace@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4422AC14F602 for <deepspace@ietfa.amsl.com>; Wed, 17 Apr 2024 09:24:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.896
X-Spam-Level:
X-Spam-Status: No, score=-6.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=viagenie-ca.20230601.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E1dJWXY5e-l9 for <deepspace@ietfa.amsl.com>; Wed, 17 Apr 2024 09:24:14 -0700 (PDT)
Received: from mail-qv1-xf2f.google.com (mail-qv1-xf2f.google.com [IPv6:2607:f8b0:4864:20::f2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2843BC14F74E for <deepspace@ietf.org>; Wed, 17 Apr 2024 09:23:10 -0700 (PDT)
Received: by mail-qv1-xf2f.google.com with SMTP id 6a1803df08f44-6a0406438b5so7578126d6.1 for <deepspace@ietf.org>; Wed, 17 Apr 2024 09:23:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=viagenie-ca.20230601.gappssmtp.com; s=20230601; t=1713370989; x=1713975789; darn=ietf.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=51B9XsaWa1CLPvHQuXT1V6XwQ2iED9lwT+gbZPrbcIM=; b=RR8gnI48iRgw6dQcIsaBz8NTW/tj+FrvPAZKI6Sb9vu2Cnk3oc3m/kFHihMaa0osYQ zNqrmDR/WdDlElkk1RFw39+iSKAXBnL5h5ttOLw+gAKfE+OINo1Ez6BpAlxSnZ5IF1Os fhb1zkGEaOZL0cdJ4Om4vqN0BVOP+2IPTuzEJsWPPZP1HgXdA/wWKFMw5gQCV3ead6Tf o7dKMUUIour5kKeXj1aiZ3RWrEWpmCeu+qBb2wHkZydVybv2WLxmjMfreL3Wo9dmm3iD BZrad+Frv1TnsCKWvdbH+eKN7FLY0i+HqIPjbYlaPavNjsRDbCsmpNMrnb1DHpPgv293 eK6w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713370989; x=1713975789; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=51B9XsaWa1CLPvHQuXT1V6XwQ2iED9lwT+gbZPrbcIM=; b=CjwY1TncZvtxA46u+l/LtCZXOiNcJp5wHGOSGYxiIzLdm2qlZZget4Vpxnn8OEUWQz z5onP0HRtS6oT58x+9g2pjEjr6lTPUDxvGtBDecptKu55xHSggvWoB+JEmfltgG6F+v5 QIZto+Fr0ABrt1JQP7ZBO0ZnjiUuAWc6PsJrKR4MG7KxdYdIkX00Fyt8LRWle88VY5L8 aosjmZl/1ppIu06X6veQp5btQ8FYTqrZuVuOIY9mbf721Kcl3uEWBxkJNab3s9DUlZzK jKNRMGZzQP329/3sS3qqnG1BnrAyP2Bt4MFSEF4WESCL7av6EyVbFAica1faU/be/zLl CAJA==
X-Forwarded-Encrypted: i=1; AJvYcCUTxGS4u2UlBzgNoRP+OofMKE+/qNj8AjhqM5FsYDhglZxBPCcyGdKHZVeBRqRIet2UUQSt794rVxZKqT9gdaxTEUA=
X-Gm-Message-State: AOJu0YxRNczxxKaMs4vW1YKQQBnyQxHeEbHnjpcNSWtKMuQBWU5vMNcx l6LhzAPG6qtcZaTMyNkptVcR58xv6bVoSrKCz9aNprkYvOxgLbAMpMlSwTcymXI=
X-Google-Smtp-Source: AGHT+IHfODw6mItkD6Ooc+Falmm3aEolNw3EPFZRyUUTKACGF0F63APdGOUq0r3bekybwOYoHU1UVA==
X-Received: by 2002:a05:6214:133:b0:69b:1ea9:c715 with SMTP id w19-20020a056214013300b0069b1ea9c715mr15777991qvs.26.1713370988517; Wed, 17 Apr 2024 09:23:08 -0700 (PDT)
Received: from smtpclient.apple (modemcable108.66-162-184.mc.videotron.ca. [184.162.66.108]) by smtp.gmail.com with ESMTPSA id db5-20020a056214170500b0069b1eafac58sm8421055qvb.118.2024.04.17.09.23.07 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Apr 2024 09:23:07 -0700 (PDT)
From: Marc Blanchet <marc.blanchet@viagenie.ca>
Message-Id: <B1C4A508-5BDF-40A8-90AE-C66A3D0EA5EA@viagenie.ca>
Content-Type: multipart/alternative; boundary="Apple-Mail=_00B102C0-6CE5-4DE4-8CE5-F7DEE257AE01"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\))
Date: Wed, 17 Apr 2024 12:22:56 -0400
In-Reply-To: <015f01da90d8$519054c0$f4b0fe40$@gmail.com>
Cc: 朱亦涵 <13961673777@139.com>, deepspace@ietf.org
To: Scott Burleigh <sburleig.sb@gmail.com>
References: <2afe661fc86f9d6-00001.Richmail.03034505473366877874@139.com> <0152963E-FDC1-4FFF-8233-0EA8C732563A@viagenie.ca> <015f01da90d8$519054c0$f4b0fe40$@gmail.com>
X-Mailer: Apple Mail (2.3774.500.171.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/deepspace/x2iCTtAqIH6Lxgy3C7rfABhIA-g>
Subject: Re: [Deepspace] Some questions about the deep space IP architecture
X-BeenThere: deepspace@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IP protocol stack in deep space <deepspace.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/deepspace>, <mailto:deepspace-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/deepspace/>
List-Post: <mailto:deepspace@ietf.org>
List-Help: <mailto:deepspace-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/deepspace>, <mailto:deepspace-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Apr 2024 16:24:18 -0000

Comments using <MB></MB>

Marc.

> Le 17 avr. 2024 à 11:02, sburleig.sb@gmail.com a écrit :
> 
> A few remarks in-line below.
>  
> Scott
>  
> From: Deepspace <deepspace-bounces@ietf.org <mailto:deepspace-bounces@ietf.org>> On Behalf Of Marc Blanchet
> Sent: Wednesday, April 17, 2024 7:19 AM
> To: 朱亦涵 <13961673777@139.com <mailto:13961673777@139.com>>
> Cc: deepspace@ietf.org <mailto:deepspace@ietf.org>
> Subject: Re: [Deepspace] Some questions about the deep space IP architecture
>  
>  
>> Le 17 avr. 2024 à 09:02, 朱亦涵 <13961673777@139.com <mailto:13961673777@139.com>> a écrit :
>>  
>> Hi,
>>  
>> I am very interested in the deep space IP architecture proposed in the mailing list 
>  
> Great!
>  
>> and am currently conducting some research on it. However, I still have some points that are unclear to me:
>>  
>> (1) Does the QUIC layer need to handle intermittent connectivity specifically? 
>  
> Currently, we don’t think so. It is handled at the IP forwarding layer. For QUIC, it is “just” more delay.
>  
> [SB]        “Just” more delay, of variable and non-recurring length.  How is this not a problem in retransmission timeout interval calculation?

<MB>retransmission is the same problem whatever the network layer you use. Here we suggest that IP forwarding is taking care of the interruptions. QUIC is managing the transport semantics. A different approach.

>  
> As described in draft-many-deepspace-ip-assessment and also discussed on this mailing list, one may also look at a proxy-based deployment where proxies are on the space edge and maybe those are “more aware” of delays and intermittent connectivity. But I’m not aware of someone who tested it.
> 
> 
>> Considering three nodes h1-s1-h2, within the first minute, only h1-s1 is connected; in the second minute, neither is connected; in the third minute, only s1-h2 is connected; or even in more extreme scenarios, is there a possibility that QUIC cannot establish a connection at all?
>  
> If you set the proper timer for the QUIC connection, then this is well handled. See my presentation at the last IETF meeting where we describe which QUIC parameters were set. https://deepspaceip.github.io/meetings/ietf119/ietf119-brisbane-deepspaceip-whatis-update-testbed.pdf page 9
> 
> [SB]     But the proper timer for the QUIC connection may be changing constantly.

<MB>QUIC is a transport, so it has the necessary mechanisms for handing packets and their related issues. For example, it has a pretty efficient way to do acknowledgements. The timer is set to whatever value is best for the mission/application/… Acknowledgements tells you what is missing. Similarly in BP, one has to rely on acknowledgements to know if a bundle has arrived properly to the destination and some timers to know what to do when the timer expires.</MB>

>   Do you build some bolt-on stuff that continuously updates those round-trip times, for all nodes in the network?

<MB>nope</MB>

>>  
>> (2) Even though we have implemented store-and-forward at the IP layer,
>  
> Great! Which technique have you used? Would be great if you present it at the next deepspace IP meeting. 
> 
> 
>> we are faced with a problem: if two nodes are transmitting data for the first time, we might need one RTT to establish a connection and then transmit data,
>  
> Yes. 
> 
> 
>> a process not required in the DTN architecture.
>  
> Of course, because there is no connection semantics in the bundle protocol. Therefore all those connection semantics have to be implemented within each application.
>  
> [SB]     Why do any connection semantics need to be implemented at all?  We have such a thing as asynchronous communication, e.g., you subscribe to information and when it becomes available you get a copy.  Connection semantics are a luxury, made possible by insignificant round-trip times, that we have gotten used to on Earth but cannot sustain over deep space distances.  Delay-tolerant applications don’t have to implement connection semantics; non-delay-tolerant applications will not be successful over interplanetary links.

<MB>I think you are confusing TCP and QUIC. A QUIC connection is established in one RTT and then it is a state in each peer. Thereafter, all trafic, such as HTTP Request/Responses, media, … goes into streams within the established QUIC connection. The benefits of connections semantics at the transport layer (above IP) is that it relieves the application layer to have to take care of that. Applications are way more easier to develop reliably.  
On the other hand, TCP (and protocols using TCP) is not working in deep space, as you and others have written in RFC4838. None of this deep space IP work is using TCP.</MB>

>  
> If one is using IP with a connection-aware transport such as QUIC, then all this work is done by the transport and free up the application layer (and developer) to make mistakes and to handle complex cases such as loss, reorder, duplicates. And in fact, a reliable Bundle protocol application would probably have to do an RTT anyway to establish a ‘virtual’ connection between the two peers.
>  
> [SB]        That’s not even remotely true.  There are no connections, virtual or otherwise, in Bundle Protocol.

<MB>Okay, I was trying to say that the application layer has to do some work, that is not needed if the transport is connection aware. </MB>

>  
> One possible deployment scenario is to establish the connection before the spacecraft leaves Earth since one would need to “talk” to the spacecraft on his way to the destination. Therefore, in fact, the connection will be established way before going to space. With QUIC, you can have a connection lifetime almost infinite with almost zero penalty, therefore you can keep that initial connection opened.  In the case of connection loss for whatever reason, the cost is one RTT.
> 
> [SB]     Another way of saying this is that you lose one RTT of communication opportunity every time you lose your connection.  Connections in the luxuriantly resourced terrestrial Internet are lost fairly often.  Are you suggesting that connections will be easier to sustain among spacecraft communicating over interplanetary distances?

<MB>Again, we are talking about QUIC, not TCP.  See above. </MB>

>> However, I believe that for subsequent connections, this process is not needed in QUIC either and it directly transmits data, consistent with the DTN architecture.
>  
> I think we should rephrase this. DTN means Delay (and disruption)-tolerant networking. This is the use case. It does not indicate the networking stack. Now, we can achieve DTN architecture using either BP or IP.
>  
> [SB]        DTN is a term of art.  It has not yet been demonstrated that IP can achieve DTN architecture, originally articulated in RFC 4838.
>>  
>> (3) Regarding the issue of intermittent connectivity, would the application layer also be affected, even if we use existing QUIC-based applications? Are these applications incompatible with QUIC in deep space and the deep space environment?
>  
> Look again at the slides above. Application layer, as with bundle protocol, has to be asynchronous in design and have appropriate (large) timeouts. Application layer does not see any interruptions, it just sees delays.
>  
> [SB]        Here you are correct.  Delay-tolerant network protocols don’t erase delay; applications must be delay-tolerant as well.
>  
> An overarching design consideration with the IP stack is the layered approach: each layer is responsible for its own “business”. Therefore, a layer below taking care of an issue makes the layers above agnostic and not taking care of that issue. IP forwarding is taking care of interruptions. QUIC is taking care of delays (both real and induced by interruptions). Applications need to ajust timers and be asynchronous.
>  
> [SB]        Applications that expect Internet-like network behavior over deep space links to be preserved if they merely adjust their timers are doomed to disappointment.

<MB>Well, the more we test this, the more it is showing that it works. I know we disagree, but as we are getting more results, we will show them.</MB>

Marc.
>> 
>> My understanding of the deep space IP architecture may not be very deep yet. These are some doubts I have in my research process.
>  
> No issue. Please continue sending questions.
>  
> Regards, Marc.
> 
> 
>>  
>> Cheers
>> 
>> Kathy
>> 
>> 
>> 朱亦涵
>> 13961673777@139.com <mailto:13961673777@139.com>	
>> 
>> 扫一扫,
>> 快速添加名片到手机
>> -- 
>> Deepspace mailing list
>> Deepspace@ietf.org <mailto:Deepspace@ietf.org>
>> https://www.ietf.org/mailman/listinfo/deepspace