<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
<!ENTITY rfc2119 PUBLIC '' 
  'http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml'>
]>

<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>

<?rfc toc="yes"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc iprnotified="no"?>
<?rfc strict="yes"?>
<?rfc compact="no" ?> 
<?rfc subcompact="no" ?>

<rfc category="info" ipr="trust200902" docName="draft-jiang-cats-usecase-5gedge-00">

<front>
<title abbrev="CATS 5G Edge Enhance">Computing-Aware 5G Edge Enhancement </title>

<author fullname="Tianji Jiang" initials="T." surname="Jiang"> 
<organization>China Mobile </organization> 
<address> 
	<!-- 
  <postal> <street> </street> <code></code> 
		<city>San Jose, CA</city> 
		<country>U.S.</country> 
	</postal> 
  --> 
	<email>tianjijiang@chinamobile.com</email> 
</address> 
</author>



<!-- month and day will be generated automatically by XML2RFC; be sure the year is current.-->
<!-- date month="June" year="2023"/ --> 
<date year="2024"/>
<area>Routing Area</area> 
<workgroup>CATS Working Group</workgroup>

<abstract>
	<t>
	 This draft illustrates a computing-aware use case that is based on the
   study conclusion of the 3GPP 5G enhanced Edge Computing (eEdge). This 
   use case takes into acount both network and computing metrics upon
   selecting edge application server (EAS) and user plane function (UPF).
	</t>
</abstract>
</front>

<middle>
<section title="Introduction">
	<t>
		3GPP 5G Edge Computing &amp; its successive enhancements, i.e., eEdge,
		standardize reference architectures, 
		connectivity models along with edge hosting envivorments (or EHE), etc., 
		so as to enable operator and/or 
		3rd party services to be hosted close to an end device's (i.e., end user or UE) access point of 
		attachment <xref target="TS.23.501"/><xref target="TS.23.548"/>. 
		The eEdge service achieves an efficient service delivery through the reduced 
		end-to-end latency and load on the transport network. Edge application servers, or EAS'es, 
		are deployed in corresponding (edge) domain networks (DNs) that are connected via the
		N6 interface of a (PSA) UPF. A DN may be under the control of either the operator or 3rd parties.
	</t>

  <section title="5G Enhanced Edge Architecture">
	<t>
		A 5GC can select either a UPF according to provided traffic steering rules, 
		or an EAS based on 'holistic better metrics', etc.,
		and then forward traffic to enable the optimal access 
		to the DN via a N6 interface. This may be based on the UE's local settings, the measured or collected
		EAS (or edge application server) runtime information, 
		network policy or other related traffic rules.
		As shown in the <xref target="fig:5gsEdgeArchitecture"/>, either the
		C-PSA UPF or the L-PSA UPF could be optimally selected to foward 
		the UE (uplink) traffic to an EAS with the better (or even the best)
		'holistic' metrics.
	</t>

		<figure anchor="fig:5gsEdgeArchitecture" title="5G Edge-Computing Architecture">
			<artwork><![CDATA[ 
     C-PSA: Central PSA UPF      L-PSA: Local PSA UPF
     DL: Downlink direction      UL: Uplink direction
     ULCL/BP: Uplink Classifier/Branch Point
     EAS: Edge App Server in Data Domain (DN)

     .....................................
     :         [-- 5G Core --]           :    
     :       /  |        |               :   
     :     N1   N2       N4              :
     :    /     |        |               <== DL 
     :   /      |     +-------+  +-----+ :  
     +----+  +-----+  |  UPF  |  | UPF | :    /---------\  
     | UE |--| gNB |--|ULCL/BP|--|C-PSA+(N6)-/    DN or  \  
     +----+  +-----+  +-------+  +-----+ :  |DN:local-part|                           
     :                    |              :  |             |
     :                    |          UL==>  |    EAS      |
     :                 +-----+           :  | (1 or More) |
     :                 | UPF |           :   \           /
     :                 |L-PSA|(N6)-------:----\---------/
     :                 +-----+           :      
     .....................................
	    ]]>
			</artwork>
		</figure>		
		
 </section>

 <section title="Definitions of Terms">
 	<t>
	  <ul spacing="normal">
       <li> EAS: Edge Application Server, a server offering application services and 
                 residing in an edge DN. </li>
       <li> EHE: Edge Hosting Environment, an environment providing support required 
            for EAS's execution. </li>
       <li> UPF: User Plane Function, supporting routing functionalities (similar to
                 an IP-domain router). </li>
    </ul>
        
  </t>
 </section> <!-- End of section 'Term. definition' -->
</section> <!-- End of section 'Introduction' -->


<section title="Computing-aware 5G Enhanced Edge (eEdge)"
				anchor="CATSusecase5GEdge">
  <t> 
    	Recently, the 3GPP 5G Rel-19 <xref target="TR.23.700-49"/>
      studied how to effectively and optimally
    	select (local) UPFs in 5G CN (Core Network) and EAS'es 
    	residing in DN (or edge hosting environment) with the consideration of 
      the N6 (transport) delay between (local) PSA UPFs and EAS'es, and,
      possibly, the computing capabilities, e.g., compute power, memory, runtime load,
      storage, etc., of EAS'es.
	</t>

  <section anchor="5G.EC.EAS.L-UPF.Selection">
  	<name>EAS &amp; Local-UPF Optimized Selection in 5G eEdge</name>
    
    <t>
    	The 5G enhanced Edge (or eEdge) 
      explores to discover one suitable EAS to handle an edge application 
    	that can be served by multiple EAS'es deployed in different sites 
      (i.e., DNs or local DNs).
    	The suitability of an EAS is dependant on both of the following:
        <ol spacing="compact">
         <li> network metrics, such as bandwidth, latency, etc. </li>
         <li> compute metrics or computing capabilities, such as processing power,
              storage capacity, AS load, etc. </li>
        </ol>

      Evidently, the integration of both network
    	&amp; compute metrics conform to the scope of the CATS charter.
    </t>

    <t>
    	The 3GPP 5G eEdge document <xref target="TR.23.700-49"/> provides a couple of 
    	5G specific scenarios to justify the requirement. For example, when some of the
    	available transport links in DNs get congested, a UE moves aways from the original 
    	location (very common in mobile network), or excessive load builds up on EAS(es), 
    	then a previously 'better-optimized' EAS may become less preferable, 
    	and thus a new EAS and/or local-PSA UPF
    	need to be selected based on the weighted optimization of nework and compute
    	metrics. The 5G eEdge emphasizes particularly on considering the EAS load and the
    	end-to-end delay off the N6 interface between a local PSA 
    	and a candidate EAS residing in a (local) DN.
    </t>
		
    <t>
      In the <xref target="fig:5gsEdgeN6delay"/>, the UPF-1 to UPF-m indicate 'm' local
      PSA UPFs, all of which could fulfill an applicaiton service (AppService) 
      to the UE (on the left side of the figure). 
      The AppService is provisioned in multiple EAS'es that reside in remote DN(s)
      or local DN(s), denoted as EAS-1 to EAS-n. The selection of UPF and EAS 
      may depend on both the N6 delay and EAS load.
    </t>

    	<figure anchor="fig:5gsEdgeN6delay" title="CATS-aware 5G eEdge Use Case">
			<artwork><![CDATA[ 
     C-PSA: Central PSA UPF      
     UPF-x(L-PSA): the x-th Local PSA UPF, x=1...m
     EAS-y: the y-th Edge App Server in DN, y=1...n
     DL: Downlink direction      UL: Uplink direction
 
     .....................................
     :         [-- 5G Core --]           :    
     :       /  |        |               :   
     :     N1   N2       N4              :
     :    /     |        |               : 
     :   /      |     +-------+  +-----+ :  
     +----+  +-----+  |  UPF  |  | UPF | :    /---------\  
     | UE |--| gNB |--|ULCL/BP|--|C-PSA+(N6)-/    DN or  \  
     +----+  +-----+  +-------+  +-----+ :  |DN:local-part|                           
     :                    |              :  |  --------   |
     :                    |              :  |   [EAS-1]   |
     :               +------------+      :  |             |
     :               |UPF-1(L-PSA)|(N6)-----|   [EAS-2]   |
     :               +------------+      :  |      .      |
     :                  ......           :  |      .      |
     :               +------------+      :  |      .      |
     :               |UPF-m(L-PSA)|(N6)-----|   [EAS-n]   | 
     :               +------------+      :   \           /
     ....................................:    \---------/
	    ]]>
			</artwork>
		</figure>		
		
	</section> <!-- End of "EAS & Local-UPF Enhanced Selection in 5G EC -->

	<section anchor="5GeEdgeCATSintegrating">
  	<name>Integrating 5G eEdge w/ CATS</name>
  	
    <t>
      This subsection shows how to implement the computing-aware 5G eEdge
      via mappings to CATS functional componenents, e.g., C-PS,
      C-NMA, C-SMA, etc.<xref target="CATS.Framework"/>
    </t>

  	<t>
  		<ul spacing="normal">
       <li> Network Metric: The 5G eEdge <xref target="TR.23.700-49"/> has concluded to 
            integrate into the UPF/EAS optimized selection 
            the end-to-end N6 delay over the transport network
            between (local) PSA UPFs and EAS'es. </li>
       <li> Compute Metric: Load of EAS(es) located in (local) DNs. While it has 
            been explored during the study phase of the 5G eEDGE, the conclusion is to leave 
            it for further integration (e.g., in 6G). </li>
       <li> SMF => C-PS: As of now, the 5G eEdge <xref target="TR.23.700-49"/> has designated a SMF
            to manage the selection of the optimal UPF (from all candidate UPFs, e.g., UPF-1, …, UPF-m
            as in <xref target="fig:5gsEdgeN6delay"/>) and the best EAS 
            (from all instances, e.g., EAS-1, …, EAS-n as in <xref target="fig:5gsEdgeN6delay"/>)
            based on the network metric (i.e., the end-to-end N6-delay). Please note that 
       		  the 5G eEdge conclusion leaves the normative extension for a SMF helping (UPF) 
       			select the best EAS potentially based on EAS-load to a future 
            release (e.g., Rel-20 or beyond). </li>
       <li> C-NMA, C-SMA: The combined functionalies of AF &amp; 
            SMF make it a C-NMA (according to
            both <xref target="TR.23.700-49"/> and the AF-influenced procedure as in the 
            clause 4.3.6 of <xref target="TS.23.502"/>).  
						However, thanks to the non-inclusion of the EAS-load metric, how to map C-SMA 
            is un-determined now, which is probably for future extension. </li>
			 <li> Delay-measuring off N6 interface: The 5G eEdge proposes to leverage 
            the existing IETF protocols &amp; mechanisms, 
			 			e.g., ICMP<xref target="RFC792"/>, OWAMP<xref target="RFC4656"/>, 
			 			OWAMP<xref target="RFC5357"/>, etc. </li>
   		</ul>
		</t>

  </section> <!-- End of '5G eEdge & CATS Mapping' -->

 </section> <!-- End of "Computing-aware 5G Edge" -->
   
  





<section title="Security Considerations">
	<t>
		There is no security concern.
	</t>
</section>

<section title="IANA Considerations">
	<t>
		There is no IANA requirement.
	</t>
</section>

</middle>


<back>

<references title="Normative References">
<?rfc include="reference.RFC.792.xml" ?>
<?rfc include="reference.RFC.4656.xml" ?>	
<?rfc include="reference.RFC.5357.xml" ?>	


<reference anchor="TS.23.501">
        <front>
          <title>3GPP TS 23.501 (V19.0.0): System Architecture for 5G System; Stage 2</title>

          <author initials="3GPP">
            <organization/>
          </author>

          <date month="June" year="2024"/>
        </front>

        <seriesInfo name="" value="3GPP TS 23.501"/>
</reference>

<reference anchor="TS.23.502">
        <front>
          <title>3GPP TS 23.502 (V19.0.0): Procedures for the 5G System; Stage 2</title>

          <author initials="3GPP">
            <organization/>
          </author>

          <date month="June" year="2024"/>
        </front>

        <seriesInfo name="" value="3GPP TS 23.501"/>
</reference>

<reference anchor="TS.23.548">
        <front>
          <title>3GPP TS 23.548: 5G System Enhancements for Edge Computing; Stage 2</title>
          <author initials="3GPP">
            <organization/>
          </author>
          <date month="September" year="2024"/>
        </front>

        <seriesInfo name="" value="3GPP TS 23.548"/>
</reference>

<reference anchor="TR.23.700-49">
        <front>
          <title>3GPP TR 23.700-49 v19.0.0: Study on Enhancement of support for
									Edge Computing in 5G Core network; Phase 3</title>
          <author initials="3GPP">
            <organization/>
          </author>
          <date month="September" year="2024"/>
        </front>

        <seriesInfo name="" value="3GPP TR 23.700-49"/>
</reference>

<reference anchor="CATS.Framework">
        <front>
          <title>A Framework for Computing-Aware Traffic Steering (CATS)</title>

          <author initials="C., et al." surname="Li">
            <organization/>
          </author>
       
          <date month="September" year="2024"/>
        </front>

        <seriesInfo name="" value="draft-ietf-cats-framework"/>
</reference>

</references>	 <!-- END of 'normative reference' -->


<references title="Informative References">
</references>	


</back>
</rfc>
