DepartmentofComputerScienceAnalyticalModelsofAdaptiveRoutingStrategiesW.A.Najjar,A.Lagman,S.SurandP.K.SrimaniTechnicalReportCS-94-105(ReplacesCS-92-138)March3,1994ColoradoStateUniversityAnalyticalModelsofAdaptiveRoutingStrategiesW.A.Najjar,A.Lagman,andS.SurandP.K.SrimaniDepartmentofComputerScienceColoradoStateUniversityFt.Collins,CO80523USAThisworkisinpartsupportedbyNSFGrantsCCR-9010240,CCR-9148225andMIP-91132681ModelingAdaptiveRoutingW.A.Najjar,A.Lagman,S.SurandP.K.SrimaniAbstractAdaptiveroutingalgorithmshavebeenfrequentlysuggestedasameansofimprovingcom-municationperformanceinmulticomputers.Thesealgorithms,unlikedeterministicrouting,canutilizenetworkstateinformationtoexploitthepresenceofmultiplepaths.Adaptiverouting,however,iscomplexandexpensive.Beforesuchschemescanbesuccessfullyin-corporatedinmultiprocessorsystems,itisnecessarytohaveaclearunderstandingofthefactorswhicha ecttheirperformancepotential.Inthispaperwepresentasimpleande cientschemetomodeltheperformanceofidealizedadaptiverouting.Weevaluateabasic,high-performanceadaptivesystemusingananalyticqueueingmodelwhichapproxi-matesitsbehavior.Thisanalyticmodelpredictstheperformanceofnetworkswithvaryingparameters,andprovidesinsightintothenatureofmessagetra c.Wehavealsoconductedextensivesimulationexperiments,theresultsofwhichareusedtovalidatetheanalyticmodelandtoidentifysomeoftheconditionswhichpromotehighperformanceofadaptiveroutinginacommunicationnetwork.Keywords:Multicomputers,Interconnectionnetworks,Performanceevaluation,AdaptiveRouting,Modeling,k-aryn-cubes.AddressforCorrespondence:WalidA.NajjarDepartmentofComputerScienceColoradoStateUniversityFt.Collins,CO80525Tel:(303)491-7026Fax:(303)491-2466Email:najjar@CS.ColoState.Edu21IntroductionThesuccessoflargescalemessage-passingmulticomputersishighlydependentonthee ciencyoftheirunderlyinginterconnectionnetworks.Inthepastfewyearstherehavebeentremendousimprovementsintheperformanceofmulticomputersystems,butthesehavecomeprimarilyfromadvancesinprocessortechnology.Communicationsystemshavenotkeptup,andtheincreasingdis-paritybetweenprocessorandnetworkspeedshasbecomeamajorhindrancetofurtherperformancegains.Oneapproachthathasoftenbeensuggestedasasolutiontothecommunicationlatencyproblemistheuseofadaptiveroutingtechniques.Atpresentmostcommercialmachinesusedeterministicrouting,inwhichamessagepathisfullydeterminedbytheaddressesofitssourceanddestination.Thus,messageswiththesamesourceanddestinationwoulduseexactlythesamepaths.Whiletheseschemesaresimpleandeasilyimplemented,theyaresusceptibletounnecessaryblockingofmessagesanddonotrespondtochangingconditionswithinthenetwork.Adaptiveroutingalgorithms,ontheotherhand,allowmessagepathstobedeterminedinresponsetovariationsinnetworkstate.Thisprovidesgreaterfreedominchoosingmessagepaths,whichcanpotentiallyleadtoreducedcommunicationoverhead.Thereare,however,anumberofproblemsassociatedwithadaptiverouting.First,theincreased exibilityofadaptivealgorithmsmakethemmoresusceptibletodeadlockthandeter-ministicschemes.Inordertoavoidthecircularresourcedependencieswhichleadtodeadlock,itisnecessarytoeitherrestrictthechoiceofpathsortoincludeextrahardwareinthesystem.Thesecondproblemassociatedwithadaptiveroutingisthatitmaybedi culttoimplement,andmayeitherrequireexpensivehardwareorsu erfromhighnodeswitchdelay.Inordertoaccuratelyassessthetradeo andbene tsofadaptiverouting,wemustbeabletoevaluatetheperformancepotentialofthesesystems.Recentresearchstudieshavebeguntoaddressthisissue,butasyettheproblemhasnotbeenfullyexplored.In[GN92a],GlassandNicomparedpartiallyadaptivedeadlockfreeroutingschemestodimensionorderedschemesinmeshnetworks.In[LDT93],Liuetalevaluatedexpectedchannelutilizationforaclassofdeadlock-freealgorithms,againinmeshnetworks.KimandChien[KC93]assessedthee ectsofpacketizationonadaptiveroutingperformance,Nowatzyk[Now89]hasinvestigatedacommunicationarchitectureusinganadaptivealgorithm,andrecentlyBoppanaandChalasani[BC93]presentedacomparativestudyofseveraldeadlockfreeadaptiveroutingschemes.Almostalloftheperformanceevaluation3studiesofdirectnetworks,however,havemadeusesolelyofsimulationexperiments.Incontrasttostudiesofdeterministicrouting,verylittleanalyticworkhasbeendone.Moreover,moststudieshavelookedatadaptiveroutinginisolation,withoutconsideringtherelationshipofothernetworkparameterstoroutingperformance.Thestudypresentedinthispaperisaperformanceevaluation,bothanalyticandexperi-mental,ofabasicadaptiveroutingsystemonk-aryn-cubenetworks.Preliminaryversionsofthisresearchwerepresentedin[LNSS93,NLSS94].Thegoalsofthestudyaretoevaluatetheperfor-mancepotentialofadaptiveroutingandtounderstandthee ectsofvariousnetworkparametersonroutingperformance.Thus,wehavechosentoinvestigateanidealizedsystemwithageneralroutingstrategywhichcanachievenear-optimalperformance.Thebasicmodelis exible,however,andcanbemodi edforfutureresearchonspeci cnetworkdesignparametersaswellasoncostratherthanperformance.ThedetailsofthesystemaredescribedinSections2and3.Wehavederivedageneralanalyticqueueingmodelwhichapproximatesthebehaviorofadapt