21
OCARINA ("Optimizations to Compel Adoption of RINA") Michael Welzl RINA Workshop – Research Day i2CAT Barcelona 23. 5. 2018

OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

OCARINA("OptimizationstoCompelAdoptionofRINA")

MichaelWelzlRINAWorkshop– ResearchDay

i2CATBarcelona23.5.2018

Page 2: OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

Projectoverview• 5-yearprojectfundedbyNorwegianresearchcouncil,started1October2016;1postdoc+3Ph.D.students– Focusedonperformance.Assumptions:1. RINAneedsto showfantasticperformance,2. RINAcan showfantasticperformance!

• 3mainWPs:cong.control,routing,Internetdeployment– RINAforcesustothinkdifferentlyaboutnetworkalgorithmssuchasroutingandcongestioncontrol

– E.g.,Internet-like"end-to-end"congestioncontrolcouldbeimplementedinaRINAnetwork,butthatwouldbeaverystrangeconfiguration 2

Page 3: OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

TwomajormistakesofInternetCC.1. Firstproducecongestion,thenreacttoit

– CC.isnotonlyaboutcontrollingaproblemafterithappens:CC.isaboutdeterminingtherightsendingrateatanytime

– Congestionisalsonotbinary,andlossanddelayarebadsignals– Solution: createameaningful"load"signalthatdoesnotembedaveryspecificalgorithm(givesomefreedomtodesigners)

2. Cluelessaboutunderlyinginfrastructure,bydesign– InevitableresultofInternetlayering:"IPovereverything"(goodidea),"TCPoptimizedtoblindlyrunoverIP"(badidea)

• "Cross-layer"solutionsshow:wecoulddobetter;buttheycanneverbestandardizedbecausetheydon'tfittheInternetmodel

• ...andPEPspragmaticallyimprovethingsbut"shouldn'texist"

– Solution: useper-DIFloops,workwithback-pressure 3

Page 4: OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

Addressingproblem#1:FixingECN

• Whyisitbroken?– Costincurredinthenetworkisadditiveperhop(seeNUMtheory),butcan'tre-mark amarkedpacketNote:costnotadditivewhenpacketsaredropped

4

• OriginallynotamajorproblembecauseECNsignalshouldberare;butpoorsignal

• Better"load"signalinDCTCP-styleusage:instantaneousqueuemarking,countmarks/RTT

• Evenbetter"load"signalwhenmarkingbeforeaqueueevengrows(virtualQ)

Bettersignalquality,moreproblemswithmultiplelinks

Page 5: OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

ProblemsofusingECNas“load”

• Itisnotadditive;it’saproduct:– (pr:end-to-endmarkingprobability)– (pl:linkmarkingprobability)

• ModerncontrollerssuchasDCTCPconvergeathighmarkingprobabilities.

• Thetheory(e.g.NetworkUtilityMaximization(NUM))needsanadditivesignal;aproductvaluedeviatesmuchinhighmarkingprobabilities(>0.04)!

5

Page 6: OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

OurSolution• ExtendingtheKKTtheoremtoincludefunctionsasmultipliers,andthen

useasmultiplier.– Withalotofmathandstabilityanalysisofcourse…

• Results:(assumingalogarithmicutility)

Advantages:1. Newsignalisaprettygeneralsolution;justconveys"load",andcould

(relatively)easilybeextendedtomulti-bit2. Newsignalisprobablygoodinputtoload-basedroutingtoo3. REDasanalready-deployedsolutioncanbeused;onlysmallchangesat

sendersandreceivers6

x(1):avg.rateofafive-hopflowx(2):avg.rateofaone-hopflow

Simulationresults

deviation(previoustheory)

Numericalresults

ourmethod

Page 7: OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

Howitworks

Page 8: OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

Applications• Obtainingutilityfunctionwhenthemarkingprobabilityishigh,e.g.DCTCP:

• Deflatingmarkingprobability– Playingwiththebaseoflog

• Andthepotentialofdealingwithvirtual("phantom")queues!

Page 9: OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

Addressingproblem#2:Per-DIFloopsPRISTINEbackground

• AsequenceofDIFsdoingTCPCC.ismuchlikeasequenceofsplit-TCPPEPs→canbebeneficial[1]– Examplesonthenextslides

• However,controlsusingrecursivequeuebasedfeedbackcanhavestabilityissues(+delayfrommultiplequeues)[2]

• Envisiontoaddressthiswithlogisticgrowthbasedcontrol[3]+new"fixed"ECN– Moreonthenextslides

1. PeymanTeymoori,MichaelWelzl,SteinGjessing,EduardGrasa,RobertoRiggio,KewinRausch,DomenicoSiracusa:"CongestionControlintheRecursiveInterNetworkingArchitecture(RINA)",IEEEICC2016,KualaLumpur,Malaysia,23-27May2016.

2. DavidHayes,PeymanTeymoori,MichaelWelzl:"FeedbackinRecursiveCongestionControl",13thEuropeanWorkshoponPerformanceEngineering(EPEW2016),Chios,Greece,5-7October2016.

3. PeymanTeymoori,DavidHayes,MichaelWelzl,SteinGjessing:"EvenLowerLatency,EvenBetterFairness:LogisticGrowthCongestionControlinDatacenters",IEEELCN2016,Dubai,UAE,Nov2016.

Page 10: OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

Horizontal:ConsecutiveDIFs

Topology: Results:

Page 11: OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

Vertical:StackedDIFs

Topology: Results:

1sender,1receiver:Sendersendsflow1(large)at0,andflow2(small)attime10.

Page 12: OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

LogisticGrowth:PopulationDynamicsProventobegloballyasymptoticallystable

N

Time

K = carrying capacity

∆N∆t

is maximized

∆N∆t

= 0

∆N∆t

= 0

1800 1900

r = growth rate

Page 13: OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

LGCinachain– MultipleLoopsFoodchainmodel:variousstabilityanalysesexist...

C1

1 2

router2

C2

router

C3L1,1 L2 L3

router1

L1,2

q1 reflectsthecongestionmeasureatbothrouters1and2

x1=x1+x1r(C1– x1– q1)

x2=x2+x2r(C2– x2– q2)

x3=x3+x3r(C3– x3– q3)

C1=min(x2,L1,1,L1,2)

C2=min(x3,L2)

Page 14: OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

WhataboutMachineLearning?

• Remy(offlinelearning),PCC+Vivace(onlinelearning)derive"optimal"TCPbehavior– ML!Likeinaself-drivingcar!

14

Self-driving!

Page 15: OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

Limitationsofe2eCC• Therearemany...e.g.considerthe"verticalstacking"case:Remyetc.can'thelphereeither

• More"modern"example:especiallywith5G,PHYlinkcapacitycanchangealot,andquickly– TCPcannotquicklyreacttoit:TCPcan'tbesureasignalisfromthebottleneck

• IETFfailure;recentexample:"throughputguidance"– Onlysafetoreduce therate(andonlyifsignaltrustworthy)– SurveyofsuchideasthatfailedintheIETF:draft-dawkins-panrg-what-not-to-do

• RINAisanopportunitytoapplyMLtobetter-scopedproblems! 15

Page 16: OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

Deployment

• WecanconsiderRINA-under-IP,RINAoverlay,andRINA-IPgateways...

• Butwecanalsoconsider"switchingover"!– OnceahostdiscoversthatthewholepathtotheotherendisRINA-enabled,switch

– Today,often,pathsareshort(Google,FB,...arenotfarawayfromyou)

– TCP/IPareonlyrendez-vousprotocols– SomerecentIETFstandardscouldhelp

• AlittleironicJ 16

Page 17: OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

TransportServices(IETFTAPSWG)• Makesappsindependentofprotocoland networkinterface

– Finishedsurveyingandcondensingservicesprovidedby:TCP,MPTCP,UDP,UDP-Lite,SCTP,LEDBAT

– NowworkingonProposedStandard API+implementationguidance,withAppleamongothers;implementations:Apple,NEAT(opensource)

• APIproperties:callback-based,message-oriented– Hidesprotocols,butsupportsallfeaturesofallprotocolsabove+plan:QUIC– Someexampleprotocolproperties(somealso:protocol&pathselection):

Reliability,Ordering,Per-MessageReliability,0-RTTSessionEstablishment,RTXandICMPnotification,Checksumcoveragecontrol,Capacityprofile(normal,lowlatency,CBR,scavenger),Interfacetype,Multiplexing(multistreaming),RelativeNicenesswithingroup

– Varioussecurityparameters17

Page 18: OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

Interfacediagram(takenfrom:BrianTrammell,TAPS@IETF101)

18

Page 19: OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

ProvisioningDomains(PvDs)(INTAREAWG)

• RouterAdvertisement(RA)optionfromfirst-hoprouterconveysFQDNthathostcanusetoretrieveextrainfoaboutnetworkaccesscharacteristicsviaHTTPoverTLSquery

• Applicationsthenselect(vialocalIPaddress)whichPvDtouse,andcanlearnconfig.paramsfortransportlayerandabove

19

ExamplefromNEATproject

(GorryFairhurst,TomJones

(UniversityofAberdeen)

AndréVenne,EricBruneau

(Cisco))

Page 20: OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

Conclusion

• Congestioncontrol– RINA"forces"ustodoitinafundamentallydifferent,and(probably)inherentlybetterway

• betterthroughput,lesslatency

• Thiswillenableload-basedrouting– chanceformuchhigherthroughput

• ...andthereareinterestingdeploymentopportunities

20

Page 21: OCARINAict-arcfire.eu/wp-content/uploads/2018/06/OCARINA...Domenico Siracusa: "Congestion Control in the Recursive InterNetworking Architecture (RINA)", IEEE ICC 2016, Kuala Lumpur,

Thankyou!

Questions?

21