An Ev aluation of Arc hitectural Platforms for P arallel Na vier Stok es Computations D N Ja y asimha Dept of Computer and Information Science The Ohio State Univ ersit y Colum bus OH jayasim cis ohi o st at e ed u http www ci s oh io s ta te ed u jayasim M E Ha yder ICASE NASA Langley Researc h Cen ter Hampton V A hayder icase e du S K Pilla y Scien ti c Engg Computing Solutions O ce NASA Lewis Researc h Cen ter Clev eland OH spillay lerc n as a go v A preliminary v ersion of this pap er w as presen ted at Sup ercomputing Abstract W e study the computational comm unication and scalabilit y c haracteristics of a Computa tional Fluid Dynamics application whic h solv es the time accurate o w eld of a jet using the compressible Na vier Stok es equations on a v ariet y of parallel arc hitectural platforms The platforms c hosen for this study are a cluster of w orkstations the LA CE exp erimen tal testb ed at NASA Lewis a shared memory m ultipro cessor the Cra y YMP and distributed memory m ultipro cessors with di eren t top ologies the IBM SP and the Cra y T D W e in v estigate the impact of v arious net w orks connecting the cluster of w orkstations on the p erformance of the application and the o v erheads induced b y p opular message passing libraries used for parallelization The w ork also highligh ts the imp ortance of matc hing the memory bandwidth to the pro cessor sp eed for go o d single pro cessor p erformance By studying the p erformance of an application on a v ariet y of arc hitectures w e are able to p oin t out the strengths and w eaknesses of eac h of the example computing platforms Key W ords Computational uid dynamics Na vier Stok es and Euler equations compu tation and comm unication scalabilit y shared memory distributed memory and net w ork of w orkstations arc hitectures in terconnection net w ork message passing library In tro duction Numerical sim ulations pla y an imp ortan t role in the in v estigation of ph ysical pro cesses as so ciated with man y imp ortan t problems The suppression of jet exhaust noise is one suc h problem whic h will ha v e a great impact on the success of the High Sp eed Civil T ransp ort plane The radiated sound emanating from the jet can b e computed b y solving the full time dep enden t compressible Na vier Stok es equations This computation can ho w ev er b e v ery exp ensiv e and time consuming The di cult y can b e partially o v ercome b y limiting the solution domain to the near eld where the jet is nonlinear and then using acoustic analogy see to relate the far eld noise to the near eld sources This tec hnique requires obtain ing the time dep enden t o w eld In this study w e concen trate on suc h o w elds near the nozzle exit W e solv e the Na vier Stok es equations to compute time accurate o w elds of a sup ersonic axisymmetric jet Our co de is computationally v ery in tensiv e and requires man y hours of CPU time on the Cra y Y MP With the adv en t of massiv ely parallel pro cessors and net w orks of w orkstations NO Ws scien tists no w ha v e the opp ortunit y to parallelize compu tationally in tensiv e co des and reduce turnaround time at a fraction of the cost of traditional sup ercomputers Recognizing this a n um b er of researc hers ha v e studied CFD Computational Fluid Dynamics applications on sp eci c parallel arc hitectures Our goal in this study is to implemen t the n umerical mo del deriv ed from the CFD application describ ed ab o v e on a v ariet y of parallel arc hitectural platforms The platforms c hosen for this study all from the NASA Lewis Researc h Cen ter represen t a sp ectrum of parallel arc hitectures that ha v e b een prop osed to solv e computationally in tensiv e problems a shared memory v ector m ultipro cessor the Cra y YMP t w o distributed memory m ultipro cessors with di eren t top ologies the IBM SP and the Cra y T D and a cluster of w orkstations connected via man y net w orks the Lewis Adv anced Cluster En vi ronmen t LA CE exp erimen tal testb ed One imp ortan t arc hitecture that has not b een considered in our study is cac he coheren t massiv ely parallel pro cessors t ypi ed b y the D ASH arc hitecture An earlier pap er b y the authors presen ted the results of a study of this application on LA CE This pap er di ers from the earlier one in t w o imp ortan t asp ects i It is compre hensiv e co v ering a gam ut of arc hitectures while the other examined the feasibilit y of NO W arc hitectures as lo w cost alternativ es to exp ensiv e sup ercomputers and massiv ely parallel pro cessors ii It fo cuses on the relationship of the p erformance results to the computation and comm unication c haracteristics of the application to the arc hitectural asp ects of the net w orks and the pro cessing no des and to the programming to ols W e ha v e not laid emphasis on the ph ysical asp ects of the application or the the details of the n umerical mo del as w e ha v e done in the other pap er in k eeping with the readership of t w o disparate comm unities F or the sak e of completeness ho w ev er w e ha v e included the relev an t details from the other pap er in this one In the next section w e brie y discuss the go v erning equations and the n umerical mo del of the application Section has a discussion of the parallel arc hitectures used in the study and the to ols used for parallelizing the application The parallelization of the application is the sub ject of Section Section describ es the exp erimen tal metho dology Section presen ts a detailed discussion of the results The pap er concludes with a brief discussion of the lessons learned from this study and the issues that merit further in v estigation Numerical Mo del W e solv e the Na vier Stok es and the Euler equations to compute o w elds of an axisymmetric jet The Na vier Stok es equations for suc h o ws can b e written in p olar co ordinates as LQ S Q F G S t x r where B C u B C Q r B C A v E u B C u p B C xx F r B C A uv xr uH u v T xx xr x v B C uv B C xr G r B C A v p r r v H u v T xr r r r B C B C S B C A p F and G are the uxes in the x and r directions resp ectiv ely and S is the source term that arises in the cylindrical p olar co ordinates are the shear stresses and T are the heat ij j uxes In the ab o v e equations p u v T e and H denote the pressure densit y axial and radial v elo cit y comp onen ts temp erature total energy and en thalp y W e use the fourth order MacCormac k sc heme due to Gottlieb and T urk el to solv e the Na vier Stok es and the Euler equations This sc heme uses predictor and corrector steps to compute time accurate solutions It uses one sided di erences forw ard or bac kw ard to compute spatial deriv ativ es at eac h predictor or corrector step F or the presen t computations the op erator L in the equation LQ S or equiv alen tly Q F G S is split in to t w o t z r one dimensional op erators and the sc heme is applied to these split op erators W e de ne L as a one dimensional op erator with a forw ard di erence in the predictor and a bac kw ard di erence in the corrector Its symmetric v arian t L uses a bac kw ard di erence in the predictor and a forw ard di erence in the corrector The predictor step in L Q for the one dimension mo del split equation Q F S is written as t z t n n n n n Q Q f F F F F g tS i i i i i i i x and the corrector step as t n n Q Q Q f F F F F g tS i i i i i i i i x Similarly in L the predictor step is t n n n n n Q Q f F F F F g tS i i i i i i i x and the corrector step is t n n Q Q Q f F F F F g tS i i i i i i i i x This sc heme b ecomes fourth order accurate in the spatial deriv ativ es when alternated with symmetric v arian ts F or our computations the one dimensional sw eeps are arranged as n n Q L L Q x r n n Q L L Q r x This sc heme is used for the in terior p oin ts In order to adv ance the sc heme near b oundaries the uxes are extrap olated outside the domain to arti cial p oin ts using a cubic extrap olation to compute the solution on the b oundary W e use the c haracteristic b oundary condition at the out o w In our implemen tation w e solv e the follo wing set of equations to get the solution at the new time for all b oundary p oin ts p cu t t p cu R t t p c R t t v R t where R is determined b y whic h v ariables are sp eci ed and whic h are not Whenev er the i com bination is not sp eci ed R is just those spatial deriv ativ es that come from the Na vier i Stok es equations F or further details see X MOMENTUM CONTOUR LEVELS 0.48000 1.500 MACH 0.50000 0.00 DEG ALPHA 0.52000 9.36x10**6 Re 0.54000 1.50x10**2 TIME 0.56000 0.58000 y 250x100 GRID 0.60000 0.62000 0.64000 0.66000 0.68000 0.70000 0.72000 0.74000 0.76000 0.78000 0.80000 0.82000 0.84000 0.86000 0.88000 0.90000 0.92000 0.94000 0.96000 0.98000 1.00000 1.02000 1.04000 x Figure Axial momen tum in an excited axisymmetric jet Let r b e the radius of the nozzle Figure sho ws a con tour plot of axial momen tum from the solution of the Na vier Stok es equations for a domain of size r in the axial direction and r in the radial direction with a grid The size of the domain and the c hosen grid represen t a reasonable problem size The result w as obtained after ab out time steps F or all other results in this pap er w e ha v e used the same grid but run the exp erimen ts for time steps to k eep the computing requiremen ts reasonable P arallel Computing Platforms This section con tains a brief discussion of the v arious platforms used in the study together with the parallelization to ols used NO W The LA CE testb ed is regularly upgraded The presen t con guration has RS pro cessor no des no des and an RS Mo del no de whic h is the le serv er These no des or subsets of them are connected through v arious net w orks with di eren t sp eed and connection c haracteristics All the no des are connected through t w o Ethernet net w orks Mbits sec Mbps one of them is for general use and the other is dedicated to parallel use No des are in terconnected through a FDDI in terface with a p eak bandwidth of Mbps It is con v enien t for our purp oses to consider the no des to b e partitioned in to a lo w er half no des and an upp er half no des The lo w er half has RS Mo del CPUs the CPU has a MHz clo c k KB data and KB instruction cac hes with the follo wing net w orks in terconnecting the no des an A TM net w ork capable of a p eak bandwidth of Mbps and IBM s ALLNODE switc h referred to as ALLNODE F for fast capable of a p eak throughput of Mbps p er link The upp er half has the slo w er RS Mo del CPUs the CPU has a MHz clo c k KB data and KB instruction cac hes and is connected through IBM s ALLNODE protot yp e switc h referred to as ALLNODE S for slo w capable of a p eak throughput of Mbps p er link The ALLNODE switc h is a v arian t of Omega in terconnection net w ork and is capable of pro viding m ultiple con ten tionless paths b et w een the no des of the cluster a maxim um of paths can b e con gured b et w een source and destination pro cessors The presen t setup do es not p ermit the use of more than pro cessors using the faster net w orks The no des ha v e v arying main memory capacit y MB MB MB and MB W e ha v e used the p opular PVM P arallel Virtual Mac hine message passing library v ersion to implemen t our parallel programs W e will refer to the LA CE cluster with RS Mo del pro cessors as the LA CE and those with the RS Mo del pro cessors as the LA CE Shared Memory Arc hitecture W e used the Cra y Y MP whic h has eigh t v ector pro cessors for this study The Cra y Y MP has a p eak rating of appro ximately GigaFLOPS It o ers a single address space and the comm unication b et w een pro cesses executing on di eren t pro cessors is through shared v ariables W e parallelized the application b y using explicit DO ALL directiv es in addition to exploiting the features of the parallelizing compiler on the Cra y Distributed Memory Arc hitecture W e parallelized the application on t w o distributed memory m ultipro cessors the IBM SP and the Cra y T D The IBM SP has pro cessing no des the CPU in eac h no de is a RS K with a MHz clo c k KB data and instruction cac hes The original system has b een soft w are upgraded to mak e it function lik e a SP W e will refer to this system as the IBM SP in the pap er The no des of the SP are in terconnected through a v arian t of the Omega net w ork This net w ork similar in top ology to ALLNODE p ermits m ultiple con ten tionless paths b et w een no des W e parallelized the application using MPL Message P assing Library IBM s nativ e message passing library and PVMe a customized v ersion of PVM v ersion dev elop ed b y IBM for the SP The Cra y T D is also a distributed memory m ultipro cessor with the top ology of a three dimensional torus The mac hine used in our study has no des eac h no de has a CPU with a clo c k sp eed of MHz and a direct mapp ed cac he of KB of whic h only w ere a v ailable in single user mo de Though the T D supp orts m ultiple programming mo dels w e programmed the mac hine using the message passing paradigm resorting to Cra y s customized v ersion of PVM v ersion P arallelization The factors whic h a ect p erformance are listed b elo w Single pro cessor p erformance w e will explain v arious optimizations whic h resulted in impro v emen t in p erformance Comm unication cost this cost dep ends on b oth the n um b er of comm unication startups and the v olume of data comm unicated Usually the startup cost is orders of magnitude higher than the p er item usually b yte transfer cost One metho d to reduce the e ect of startup cost is to group data to b e comm unicated in to long v ectors Ov erlapp ed comm unication and computation it is desirable that comm unication b e o v erlapp ed with computation as far as p ossible Increasing the amoun t of o v erlapping ho w ev er could lead to ner gran ularit y of comm unication whic h then leads to a higher n um b er of startups Burst y comm unication suc h comm unication could o v erwhelm the net w ork s throughput capacit y temp orarily leading to increased comm unication cost and pro cess w aiting time Some amoun t of burstiness is inevitable since parallel programs are usually written in the SPMD single program m ultiple data st yle There is also usually an in v erse relationship b et w een burst y data and the n um b er of comm unication startups F rom the ab o v e discussion it is clear that there is a subtle relationship among comm unication startup cost o v erlapping comm unication with computation and burst y comm unication F or the solution of Na vier Stok es equations hereafter referred to as Na vier Stok es eac h in ternal sub domain exc hanges its t w o ux v alues v elo cit y and temp erature along the b ound ary with its appropriate left or righ t neigh b or T o reduce the n um b er of comm unication startups w e group comm unication rst al l the v elo cit y and temp erature v alues along a b oundary are calculated and then pac k aged in to a single send W e use a similar sc heme for the ux v alues that need to b e comm unicated The computational and comm unication requiremen ts of the application are sho wn in T ables and It is seen that the solution of Euler equations hereafter referred to as Euler has roughly of the computation the comm unication v olume requiremen ts of Na vier Stok es although the computation to comm unication v olume ratio is ab out the same Note that the comm unication requiremen ts are sho wn on a p er pro cessor basis T o giv e some idea of the e ects of comm unication consider Na vier Stok es to b e executing on a net w ork of w orkstations connected via Ethernet Assume a reasonable throughput of MFLOPS p er pro cessor and the maxim um throughput of Mbps for Ethernet The computation time will then b e appro ximately seconds while a lo w er b ound on the comm unication time ignoring the e ect of startups is seconds T able sho ws the ratio of computation to comm unication for the application in units of oating p oin t op erations b yte transferred p er pro cessor and oating p oin t op erations startup p er pro cessor The application is parallelized b y decomp osing the domain b y blo c ks along the axial direc tion only Tw o dimensional partitioning w as not attempted since a simple analysis sho ws T able Application Characteristics Appln T otal Comp Comm Pro cessor in FP Ops x Start ups V olume MB N S Mb Euler Mb T able Computation Comm unication Ratios No of Pro cs FPs Byte FPs Start up Na v Stok es Euler Na v Stok es Euler K K K K K K K K that for the c hosen grid size suc h a partioning p erforms w orse than a D blo c k partitioning F or example with a D partitioning of pro cessors blo c ks the ratio of the n um b er of b ytes transferred compared to D partitioning is This ratio will of course decrease when w e increase the problem size Another disadv an tage with D partitioning is that the n um b er of start ups is higher F or the ab o v e example the corresp onding ratio for the t w o partionings is this ratio do es not decrease with the problem size Since the startup cost dominates the transmission cost in most curren t arc hitectures including the ones used in this study the ratio is highest for LA CE and least for Cra y T D and the a v erage transmission v olume p er startup is only mo derate T able w e did not exp erimen t with D partitioning The parallelization on the Cra y Y MP w as done di eren tly it w as m uc h easier also since it is a shared memory arc hitecture w e did some hand optimization to con v ert some lo ops to parallel lo ops used the DO ALL directiv e and partitioned the domain along the orthogonal direction of the sw eep to k eep the v ector lengths large and to a v oid non stride access to most of the v ariables Exp erimen tal Metho dology The p erformance indicator is the total execution time All exp erimen ts w ere conducted in single user mo de The execution times rep orted are for single runs since w e found that the exp erimen ts w ere rep eatable with negligibly small discrepancies F or example with LA CE the deviation from the mean is ab out or less Exp erimen ts using a single pro cessor w ere done on an IBM RS K Mo del w orkstation of LA CE The p erformance of the original co de V ersion for b oth applications is sho wn in Figure 16000 Navier-Stokes Euler 12000 8000 Execution time (sec) 4000 0 0 1 2 3 4 5 6 Version Figure Execution time on a single pro cessor RS W e found that most parts of the application w ere limited b y the p o or p erformance of the memory hierarc h y in v olving the cac he and the main memory Impro v ed cac he p erformance w as the k ey and this w as ac hiev ed b y accessing arra ys in stride fashion wherev er p ossible using the lo op in terc hange optimization The mo di ed program called V ersion the optimizations w ere p erformed in a di eren t order than presen ted in the pap er resulted in this v ersion running faster b y appro ximately compared to V ersion W e exp erimen ted with a n um b er of other mo di cations the follo wing of whic h yielded some impro v emen t b etter register usage b y collapsing m ultiple COMMON blo c ks in to a single one V ersion strength reduction replace exp onen tiations b y m ultiplications wherev er feasible V ersion replace division b y m ultiplication wherev er feasible since the former are relativ ely exp ensiv e a reduction from divisions to w as ac hiev ed V ersion All these optimizations yielded an o v erall impro v emen t of roughly from MFLOPS to MFLOPS as illustrated in Figure The optimizations w ere incorp orated in sequence so that V ersion con tains all the ab o v e men tioned optimizations W e parallelized V ersion on di eren t computing platforms in accordance with the ideas presen ted in the last section On eac h platform w e measured the execution time as a function of the n um b er of pro cessors up to with Cra y Y MP up to with LA CE IBM SP and Cra y T D W e ha v e studied the p erformance of LA CE with four net w orks of di ering c haracteristics using o the shelf PVM as the message passing library With the IBM SP w e ha v e studied the impact of parallelizing the application with t w o message passing libraries IBM s nativ e MPL and a customized v ersion of PVM called PVMe In all exp erimen ts wherev er feasible w e ha v e separated the execution time in to t w o additiv e comp onen ts pro cessor busy time and non o v erlapp ed comm unication time The pro cessor busy time is itself comp osed of the actual computation time and the soft w are o v erheads asso ciated with sending and receiving messages An accurate separation of these comp onen ts is not p ossible ho w ev er unless w e ha v e hardw are p erformance monitoring to ols The non o v erlapp ed comm unication time could also include the idle time of a pro cessor w aiting for a message V ersion of the application do es not mak e an y sp ecial attempts to o v erlap comm unication with computation V ersion do es o v erlapping b y computing the stress and ux comp onen ts of the in terior part of eac h sub domain while the pro cessor is w aiting for the v elo cit y and temp erature v ectors from its neigh b ors Figure sho ws the timeline of a pro cessor s activit y for b oth these v ersions As men tioned earlier the t w o ux columns nearest eac h b oundary are com bined in to a single send W e ha v e exp erimen ted with sending the ux columns one at a time to a v oid burst y comm unication This v arian t is called V ersion VERSION 5 VERSION 6 Calculate Calculate VEL, TEMP VEL, TEMP Send Send VEL, TEMP VEL, TEMP Receive Calculate VEL, TEMP STRESS, FLUX at interior Receive Calculate STRESS, FLUX VEL, TEMP Calculate Overlapped Send Communication and STRESS, FLUX at Boundary FLUX Computation Send FLUX Receive FLUX Update Interior Update Subdomain Receive FLUX at Boundary Update Boundary Figure Timeline of pro cessor activit y W e found that the execution time impro v emen t with V ersions and w ere either minimal or ev en w orse in man y exp erimen ts Hence all our exp erimen ts w ere conducted with V ersion W e do men tion ho w ev er the impact of these v ersions on di eren t net w orks of LA CE in Section The next section presen ts a detailed discussion of the results from our exp erimen ts Results The execution times of Na vier Stok es and Euler ha v e b een plotted as a function of the n um b er of pro cessors for eac h computing platform using a log log scale to facilitate mean ingful presen tation P erformance of LA CE 104 103 Execution time (sec) ALLNODE-F 102 ALLNODE-S LACE/560 Ethernet 101 1 10 Number of Processors Figure Na vier Stok es execution time on LA CE Figure sho ws the p erformance of Na vier Stok es on di eren t net w orks of LA CE ALLNODE F ALLNODE S and the upp er half Ethernet The p erformance of the A TM and the FDDI net w orks are almost iden tical with ALLNODE F and ALLNODE S resp ectiv ely Hence the p erformance of the A TM and FDDI net w orks are not sho wn The close p erformance of ALLNODE F and A TM and ALLNODE S and FDDI can b e attributed to the follo wing reason the slo w er link sp eed of ALLNODE Mbps Mbps is balanced b y its abilit y to set up m ultiple con ten tion free paths while A TM Mbps or FDDI Mbps with their faster links do not p ermit m ultiple ph ysical paths in the net w ork With ALLNODE the execution time falls almost linearly with increasing n um b er of pro cessors sublinearit y e ects b egin to sho w ho w ev er b ey ond pro cessors ALLNODE F is ab out faster than ALLNODE S This can b e attributed to b oth an impro v ed net w ork whic h is t wice as fast and the sup erior p erformance of the mo del faster clo c k data and instruction cac hes whic h are times bigger and memory bus whic h is times wider than the these con tribute to faster instruction execution b etter cac he hit ratios and lo w er cac he miss p enalt y resp ectiv ely Ethernet p erformance reac hes its p eak at pro cessors b ey ond this the comm unication requiremen ts of the application o v erwhelm the net w ork The inabilit y of Ethernet to handle tra c b ey ond pro cessors is sho wn b y the follo wing simple argumen t T able sho ws that with pro cessors Na vier Stok es pro duces a b yte for comm unication after it has completed oating op erations on the a v erage Consider a second in terv al and eac h pro cessor op erating at MFLOPS During this in terv al eac h pro cessor pro duces Mb for comm unication on the a v erage This translates to appro x imately Mbs from all the pro cessors Ethernet is capable of supp orting Mbps p eak the p erformance seen b y an application will b e a fraction of this bandwidth ho w ev er it is not surprising therefore the p erformance gets steadily w orse b ey ond pro cessors 104 103 Time (sec) 102 LACE/590 Processor busy time ALLNODE-F Non-overlapped Comm. LACE/560 Processor busy time ALLNODE-S Non-overlapped Comm. Non-overlapped Comm. (Ethernet) 101 1 10 Number of Processors Figure Comp onen ts of execution time Na vier Stok es LA CE Figure aid in a more in depth analysis of the p erformance of LA CE The execution time is separated in to t w o additiv e comp onen ts as explained in the previous section It is seen that the pro cessor busy time falls linearly with the n um b er of pro cessors With Ethernet the non o v erlapp ed comm unication time increases sup erlinearly with the n um b er of pro cessors With b oth ALLNODE switc hes this time remains steady up to or pro cessors b ey ond whic h it b egins to rise The di erence in pro cessor busy times and the comm unication times b et w een the t w o ALLNODE con gurations can b e attributed to the sup erior no de and the net w ork resp ectiv ely 104 103 Version 5 ALLNODE-S Version 5 Ethernet Version 6 ALLNODE-S Execution Time (sec) Version 6 Ethernet Version 7 ALLNODE-S 102 Version 7 Ethernet 101 1 10 Number of Processors Figure Comm unication optimization Na vier Stok es LA CE Figures and sho w the p erformance of V ersions and with Ethernet and ALLNODE S the trends are similar with ALLNODE F The p erformance of V ersion with o v erlapp ed comm unication and computation as explained in Section is v ery close to that of V er sion for b oth Ethernet and ALLNODE S Ov erlapping do es not increase the n um b er of comm unication startups With V ersion since computations for the sub domain ha v e to b e brok en in to separate ones for the in terior and the b oundary only the former computations can b e o v erlapp ed with comm unication the lo op setup o v erheads are higher F urther the cac he p erformance also degrades sligh tly due to loss of temp oral lo calit y Consequen tly these o v erheads o set an y gain due to o v erlapping V ersion attempts to reduce burst y comm unication at the cost of increased n um b er of comm unication startups Not surprisingly Ethernet p erforms b etter with V ersion than with V ersion The p erformance of ALLNODE S is appreciably w orse than V ersion ho w ev er Since ALLNODE S can handle the comm unication requiremen ts of the application reducing burst y comm unication only harms the p erformance since the n um b er of startups increase Comparativ e P erformance Figures and sho w the p erformance of the application on the four computing platforms w e ha v e c hosen for this study LA CE Cra y Y MP Cra y T D and IBM SP The p erformance 104 103 Version 5 ALLNODE-S Version 5 Ethernet Version 6 ALLNODE-S Execution Time (sec) Version 6 Ethernet Version 7 ALLNODE-S 102 Version 7 Ethernet 101 1 10 Number of Processors Figure Comm unication optimization Euler LA CE of LA CE is rep orted for ALLNODE F and ALLNODE S Surprisingly LA CE ev en with ALLNODE S outp erforms SP ev en though the former uses o the shelf PVM and the latter uses MPL IBM s nativ e message passing library Our v ersion of MPL imp oses a limit on the n um b er of non blo c king send primitiv es that can b e sim ultaneously activ e this limit is lo w er than the requiremen ts of the application hence w e w ere forced to use blo c king send primitiv es W e susp ect this to b e one con tributing factor to the relativ ely p o or p erformance The CPU on the SP is in termediate in sp eed MHz clo c k b et w een the MHz and the MHz Another con tributor to the p o or p erformance of the SP is the relativ ely small size of the data cac he KB compared to KB on LA CE and KB on LA CE F or a comparison of ALLNODE F and ALLNODE S see Section Figures and Another surprising result is the relativ ely p o or p erformance of Cra y T D whic h is consisten tly w orse than ALLNODE F and is w orse than ALLNODE S for less than pro cessors The T D s CPU has a p eak rating whic h is X and X the rating of the and mo dels resp ectiv ely W e attribute the T D s p o or p erformance to the small direct mapp ed cac he of KB size b oth the and ha v e w a y set asso ciativ e date cac hes of sizes KB and KB resp ectiv ely in addition they ha v e w a y set asso ciativ e instruction cac hes of sizes KB and KB P o or single pro cessor p erformance on the T D has also b een rep orted elsewhere These results stress the imp ortance of sup erior cac he design to the o v erall p erformance A reasonably fast CPU with a large set asso ciativ e cac he and a high bandwidth 104 103 Cray Y-MP Execution Time (sec) 102 IBM SP (RS6K/370) ALLNODE-S Cray T3D ALLNODE-F 101 1 10 Number of Processors Figure Execution time of Na vier Stok es on computing platforms 104 103 Execution Time (sec) 102 Cray YMP IBM SP (RS6K/370) ALLNODE-S Cray T3D ALLNODE-F 101 1 10 Number of Processors Figure Execution time of Euler on computing platforms T able Sp eedup Characteristics No of Pro cs Arc hitectural Platform ALLNODE S ALLNODE F IBM SP Cra y T D bus connecting the cac he and main memory p erforms sup erior to a m uc h faster CPU with p o orly designed CPU cac he and cac he main memory in terfaces T able sho ws the sp eedup c haracteristics of Na vier Stok es with v arious arc hitectures The sp eedups measured relativ e to the single pro cessor p erformance of the corresp onding arc hitecture are sho wn with pro cessors and pro cessors to illustrate the net w ork c harac teristics of eac h arc hitecture Both T D and SP exhibit v ery go o d sp eedup c haracteristics with almost linear sp eedup indicating that the corresp onding net w orks can sustain the com m unication requiremen ts of the application Though b oth the ALLNODE net w orks ha v e a reasonable sp eedup at pro cessors they degrade rapidly and the sp eedup is only mo dest at pro cessors It is only reasonable to exp ect this attening trend to con tin ue with in creasing n um b er of pro cessors on NO W arc hitectures Not surprisingly ALLNODE F has a sligh tly b etter sp eedup than ALLNODE S Also observ e from Figures and that b ey ond pro cessors T D with its sup erior net w ork sp eed MB sec p eak transfer rate and a relativ ely small setup cost p erforms b etter than ALLNODE S Cra y Y MP has b y far the b est p erformance The execution time sho wn is the connect time in single user mo de this includes the I O time also whic h w e w ere not able to separate from the computation time Considering the e ect of connect time also the Y MP scales mo destly ac hieving a sp eedup of ab out with pro cessors for b oth the applications With a pro ling to ol whic h sim ulates the execution of an no de Y MP on a single no de and do es not include the I O o v erheads w e obtained a sp eedup of Observ e that the LA CE with pro cessors is ab out faster than a single no de of the Y MP With arc hitectures whic h use message passing libraries the relativ ely p o or p erformance can b e attributed to large setup o v erheads and the resulting increase in pro cessor w aiting times with increasing n um b er of pro cessors These o v erheads arise mainly from the m ultiple times that data to b e comm unicated is copied and from the con text switc hing o v erheads that arise in transferring a message b et w een the application lev el and the ph ysical la y er of the net w ork for transmission or reception If NO W arc hitectures are to b e feasible as massiv ely parallel pro cessors it is clear that b oth the in terconnection net w ork and the message passing library b e implemen ted e cien tly Suc h e ort is already under w a y Comparison of Message P assing Libraries Figures and compare the p erformance of the PVMe and the MPL message passing libraries on the SP the execution times ha v e b een separated in to non o v erlapping compu tation and comm unication comp onen ts The graphs sho w that MPL is consisten tly faster 104 103 Processor busy time with MPL Processor busy time with PVMe Non overlapped comm with MPL Non overlapped comm with PVMe Time (sec) 102 101 1 10 Number of processors Figure Comparison of MPL and PVMe Na vier Stok es IBM SP than PVMe b y appro ximately for Na vier Stok es and appro ximately for Euler Observ e also that the amoun t of non o v erlapp ed comm unication is not only negligibly small but that it decreases with the n um b er of pro cessors though the actual comm unication in creases This is an in teresting phenomenon since it implies that there is increased o v erlapping of computation and comm unication with the n um b er of pro cessors Note ho w ev er that the computation part also includes the setup o v erheads of comm unication This phenomenon is not seen in case of LA CE see Figure where the non o v erlapp ed comm unication increases further attesting to our previous observ ation that the MPL and PVMe library do es not p erform as w ell as PVM do es on LA CE Load Balancing Finally ho w w ell is the application load balanced The amoun t of computation for the appli cation is ev enly distributed but this ma y not alw a ys translate to a load balanced execution W e w ere able to measure the pro cessor busy times this time do es not include the pro cessor 104 103 Processor busy time with MPL Processor busy time with PVMe Time (sec) Non overlapped comm with MPL Non overlapped comm with PVMe 102 101 1 10 Number of processors Figure Comparison of MPL and PVMe Euler IBM SP w aiting time for Na vier Stok es on eac h pro cessor of the SP Figure sho ws that w e w ere able to ac hiev e almost p erfect load balancing Discussion and Conclusion In this pap er w e ha v e studied the computational comm unication and scalabilit y c haracteris tics of a t ypical CFD application on a v ariet y of arc hitectural platforms The study indicates that NO W arc hitectures ha v e the p oten tial to b e cost e ectiv e parallel arc hitectures if the net w orks are made reasonably fast and message passing libraries are e cien tly implemen ted to circum v en t the traditional o v erheads in v olv ed in transferring a message b et w een the ap plication lev el and the ph ysical la y er of the net w ork The study also highligh ts the imp ortance of single pro cessor p erformance to ac hiev e go o d p erformance With fast o the shelf RISC pro cessors a v ailable the b ottlenec k seems to b e the p erformance of the cac he and the memory hierarc h y A prop er cac he design is critical to go o d p erformance W e b eliev e that the reason for relativ ely p o or p erformance of the T D in spite of a fast pro cessor is the small direct mapp ed cac he A traditional v ector m ultipro cessor still outp erforms m ultipro cessors of mo dest to medium size P arallelizing an application using message passing libraries is rather tedious and ev en error prone but with distributed memory m ultipro cessors this e ort is w orth while since go o d 1500 1000 Processor busy time (sec) 500 0 0 4 8 12 16 Processor Number Figure Pro cessor busy times Na vier Stok es IBM SP scalabilit y is ac hiev able Resource limitations ha v e forced us to limit our study to pro cessors W e hop e to extend the study to larger m ultipro cessors and to other parallelization to ols as resources b ecome a v ailable F or reasons men tioned in Section w e ha v e not explored decomp osition along b oth the axial and radial directions A future goal is to conduct the study for a larger domain to understand the ph ysics of the problem b etter and a ner mesh to compute the jet noise directly from the o w eld W e plan to explore the e ects of D partitioning with a larger domain and a ner mesh Ac kno wledgmen ts P art of this w ork w as done while the rst author w as a Visiting Senior Researc h Asso ciate at NASA Lewis Researc h Cen ter during Sim ulations w ere done while the second author w as in residence in the ICOMP program at NASA Lewis Researc h Cen ter Clev eland OH The authors w ould lik e to thank Kim Ciula Dale Hubler and Ric h Rinehart for their assistance with v arious asp ects of the LA CE and IBM SP arc hitectures References Anderson T A Culler D E P atterson D A NO W team A Case for NO W Net w orks of W orkstations IEEE Micr o F ebruary pp Bailey D H Barszcz E Dagum L Simon H D NAS P arallel Benc hmark Results NAS T e chnic al R ep ort NAS Octob er Geist A Beguelin A Dongarra J Jiang W Manc hek R and Sunderam V PVM User s Guide and Reference Man ual T e chnic al R ep ort ORNL TM Oak Ridge National Lab oratory Oak Ridge TN Gottlieb D and T urk el E Dissipativ e Tw o F our Metho ds for Time Dep enden t Prob lems Math Comp v ol pp Ha yder M E Flannery W S Littman M G Nosenc h uc k D M and Orszag S A Large Scale T urbulence Sim ulations on the Na vier Stok es Computer Computers and Structur es v ol no pp Ha yder M E and Ja y asimha D N Na vier Stok es Sim ulations of Jet Flo ws on a Net w ork of W orkstations AIAA Journal v ol no April to app e ar Ha yder M E and T urk el E High Order Accurate Solutions of Viscous Problems st AIAA A er osp ac e Scienc es Confer enc e AIAA July Ha yder M E T urk el E and Mankbadi R R Numerical Sim ulations of a High Mac h Num b er Jet Flo w st AIAA A er osp ac e Scienc es Confer enc e AIAA Jan uary Horo witz J G Lewis Adv anced Cluster En vironmen t Distributed Computing for Aerosciences Applications W orkshop NASA Ames Researc h Cen ter Octob er Landsb erg A M Y oung T R and Boris J P An E cien t P arallel Metho d for Solving Flo ws in Complex Three Dimensional Geometries nd AIAA A er osp ac e Scienc es Confer enc e AIAA Jan uary Lenoski D E et al The Directory Based Cac he Coherence Proto col for the D ASH Multipro cessor Int l Conf on Computer A r chite ctur e Ma y pp Ligh thill M J On Sound Generated Aero dynamically P art I General Theory Pr o c R oy So c L ondon v ol pp Mankbadi R R Ha yder M E and P o vinelli L A The Structure of Sup ersonic Jet Flo w and Its Radiated Sound AIAA Journal v ol no pp Morano E and Ma vriplis D Implemen tation of a P arallel Unstructured Euler Solv er on the CM nd AIAA A er osp ac e Scienc es Confer enc e AIAA Jan uary Oed W The Cra y Researc h Massiv ely P arallel System Cra y T D T e chnic al R ep ort Cra y Researc h Gm bH No v em b er Scott J N Mankbadi R R Ha yder M E and Hariharan S I Out o w Boundary Conditions for the Computational Analysis of Jet Noise st AIAA A er osp ac e Scienc es Confer enc e AIAA Octob er Stunk el C B Shea D G Grice D G Ho c hsc hild P H Tsao M The SP High P erformance Switc h Sc alable High Performanc e Computing Confer enc e Ma y pp V enk atakrishnan V P arallel Implicit Unstructured Grid Euler Solv ers nd AIAA A er osp ac e Scienc es Confer enc e AIAA Jan uary