70 likes | 176 Views
CIS669 Distributed and Parallel Processing. Spring 2002 Dr. Yuan Shi Lecture 4. Synergy Architecture. Static Daemons: pmd + cid Dynamic daemons: tsh + fah Language Injection Library: libsng.a Runtime components: prun + prun x -debug + pcheck CSL compiler (Configuration Spec. Lang.)
E N D
CIS669 Distributed and Parallel Processing Spring 2002 Dr. Yuan Shi Lecture 4
Synergy Architecture • Static Daemons: pmd + cid • Dynamic daemons: tsh + fah • Language Injection Library: libsng.a • Runtime components: prun + prun x -debug + pcheck • CSL compiler (Configuration Spec. Lang.) • DAC(Distributed Application Controller) • Cds –f (check daemons) • Other Tools • Host management: shosts, chosts, addhost, delhost, dhosts • Failure detection: fdd • Daemon check: cds
Parallel Processing Environment • Cluster(s) of networked computers • ~/.sng_hosts holds all known and/or useable machines. • SNG_PATH points to synergy root on the compiling host. • /synergy/bin in local command search path. • A real ~/bin directory on each host. • Pmd/cid started on each host.
Application Creation Process Step 1 Step 2 Step 3 ap1.c apps.csl %prun/pcheck ap2.c tsh conf cc/gcc cid cid cid fah cid dac libsng.a ~/bin/ap1…
Debugging %prun matrix -debug == Checking Processor Pool: ++ Benchmark (218) ++ (ackbar.yoda.temple.edu) ready. ++ Benchmark (218) ++ (tauntaun.yoda.temple.edu) ready. == Done. Conf Default node (rancor-hps.tc.cornell.edu) == CONFiguring: (matrix.csl) ++ Application Console: (rancor.yoda.temple.edu) ++ Default directory (/usr/users/shi/synergy/apps/ssc/matrix) ++ Debugging mode ON. ++ Automatic program assignment: (worker)->(ackbar.yoda.temple.edu) ++ Automatic slave generation: (worker1)->(tauntaun.yoda.temple.edu) ++ Automatic program assignment: (master)->(ackbar.yoda.temple.edu) ++ Automatic object assignment: (problem)->(ackbar.yoda.temple.edu) pred(1) succ(6) ++ Automatic object assignment: (result)->(ackbar.yoda.temple.edu) pred(6) succ(1) == Done. == Staring distributed objects. sng_prun. file_name(matrix.objs.prcd) ConnectCid: cid_host(246544283) port(26012) ConnectCid: cid_host(246544283) port(26012) ****** (matrix.objs.prcd) verified, all components executable. ConnectCid: cid_host(246544283) port(26012) ****** (matrix.objs.prcd) started. Fault Tolerance activated ::: ret(0) FDD failed to start. == Done. ++ Entering Synergy Debugging Session ... Use .dbx to start debugging each program. Please keep .ini file along with each program. ++ Type matrix.end to terminate the debugging session.
Applications • Computing intense applications • IO intense applications
Future Research • Stateless processing • Distributed stateless processing (transaction) • Fault tolerant cluster research