Download presentation
Presentation is loading. Please wait.
Published byBaldric Stanley Modified over 8 years ago
2
Framework for Evaluating Distributed Smalltalk Interface Jan Lukeš xlukesj@fel.cvut.cz Czech Technical University
3
Contents Framework Intention Distributed Systems User Interface Measurements Results Visualization Implementation Summary Future Work
4
Framework Intention control measurement with GUI start and terminate VM and ORB on other machines results collected and saved on one place with good structure visualization of results in charts show results during measurements get limits and characteristics from results
5
Distributed Systems Distributed Smalltalk (DST) –CORBA in Smalltalk –generating IDL from Smalltalk code –different programming languages Implicit Invocation Interface (I3) –alternative marshaler for DST –no IDL definitions –only Smalltalk-Smalltalk
6
Distributed Systems II. OpenTalk (OT) –framework for distributed system –implementation of St-St protocol GemStone (GS) –object database - object security, users, access rights, transactions, replication –large number of objects and large objects, optimized queries
7
Distributed Smalltalk (DST) register object for lifecycle protection against garbage collection register object in naming service using name instead of direct object reference look up the object in naming service received proxy object send messages to proxy object
8
CORBA Common Object Request Broker Architecture
9
Implicit Invocation Interface (I3) alternative marshaler fo DST no IDL definitions necessary passing objects by value / by reference setting pass mode per class, instance or instance variable classes passed just by name no methods are passed, just data
10
OpenTalk (OT) general framework for distributed system on top of TCP and UDP several protocols including St-St protocols unicast, multicast and broadcast protocol own implementation of services - naming, event, multiplexing broker with services provides interface between Smalltalk and network
11
GemStone (GS) large shared object repository multiuser environment with sessions concurrent environment with locks replication, forwarding, maintaining integrity class versions, history, migration of instances transactions, restoring security - users with access rights, ownership, profiles, groups security, authorization on object level object database, optimized queries, storing more and larger objects
12
User Interface - Control Window
13
User Interface - Menu Task Selection
14
User Interface - Menu Task Selection II.
15
How It Works add names to list of free nodes start VM+ORB on selected machine node registred in naming service and control node appears started nodes choose test to start on selected nodes watch results in charts
16
How It Works 1 234
17
Measurements I. Services: –data transfer, no services –life cycle registration and unregistration –naming service registration, unregistration and lookup
18
Measurements II. Data transfer –simple data types –Array/Sequence/String - different sizes –complex structures Char Char | Char | Char Char
19
Measurements III. Parallelism –no parallelism 1 client, 1 server –par. on server many clients, 1 server –par. on client many servers, 1 client
20
Measurements IV. Direction of data transfer –from client to server as a message argument –from server to client as a message result –both argument and result –oneway messages msg: arg msg msg: arg result
21
Measurements V. Number of ORBs –no ORB just standard message passing –one ORB simulation within one ORB –two ORB real communication between ORBs
22
Measurements VI. Locality –local several images on one machine –remote each one on different machine
23
Measurements VII. Interface –DST - Distributed Smalltalk –I3 - Implicit Invocation Interface –(OpenTalk) –(GemStone) –(other programming languages)
24
Example of Results I. Naming Service - 1 ORB
25
Example of Results II. Naming Service - 2 ORB
26
Example of Results III. Simple Data Type - 1 ORB
27
Example of Results IV. Simple Data Type - 2 ORB
28
Example of Results V. Simple Data Type - I3 Summary
29
Example of Results VI. Array - Rate
30
Example of Results VII. Array - Throughput
31
Example of Results VIII. String - Rate
32
Example of Results IX. String - Throughput
33
Saving Results hierarchy of directories data - text, boss images - gif, postscript reports - tex, dvi, postscript, pdf, html+gif archives - tar+gzip links to last version in case of repeated measurement
34
Results - Files I. [jan@jan test_NS]$ echo $PWD /home/jan/vw7nc/results/Sun_Ray/Smalltalk/local/w ith_two_ORB/test_NS [jan@jan test_NS]$ ls -sh total 312K 899 data_xy_speed(number_of_objects)_1.bos 521 data_xy_speed(number_of_objects)_1.txt 901 data_xy_speed(number_of_objects)_2.bos 524 data_xy_speed(number_of_objects)_2.txt 890 data_xy_time(number_of_objects)_1.bos 480 data_xy_time(number_of_objects)_1.txt 892 data_xy_time(number_of_objects)_2.bos 483 data_xy_time(number_of_objects)_2.txt
35
Results - Files II. 14K chart_xy_speed(number_of_objects)_1.eps 16K chart_xy_speed(number_of_objects)_1.gif 13K chart_xy_speed(number_of_objects)_2.eps 16K chart_xy_speed(number_of_objects)_2.gif 13K chart_xy_time(number_of_objects)_1.eps 16K chart_xy_time(number_of_objects)_1.gif 13K chart_xy_time(number_of_objects)_2.eps 16K chart_xy_time(number_of_objects)_2.gif 19 names_of_files.bos -> names_of_files1.bos 1.7K names_of_files1.bos
36
Results - Files III. 11 report.dvi -> report1.dvi 12 report.html -> report1.htm l10 report.ps -> report1.ps 11 report.tex -> report1.tex 11 report.txt -> report1.txt 118 report1.aux 5.9K report1.dvi 3.8K report1.html 3.5K report1.log 96K report1.ps 4.7K report1.tex 2.2K report1.txt
37
Implementation I. Developing environment –Cincom Smalltalk VisualWorks 5i.4 ( - 7.1) SunRay –Sun Blade 1000, 2 x UltraSparcIII 750MHz, 1GB RAM, OS Solaris 8, Ethernet 100Mb/s Solaris –SparcStation 4, 64MB RAM, Sun OS 5.7, Ethernet 10Mb/s
38
Implementation II. Java Laboratory –Sun Ultra 5, UltraSparcIIi 400MHz, 128MB RAM, OS Solaris 8, Ethernet 100Mb/s Standalone –PC AMD K6-2 450MHz, 256MB RAM, OS Red Hat Linux 8.0, standalone
39
Results - Summary [jan@jan results]$ du -sh * 159M AMD_450 148M Java 146M Solaris 154M Sun_Ray
40
Summary automated framework with GUI complex tests on group of computers visualization of results immediately limits, characteristics of particular interface
41
Future Work include OpenTalk and GemStone tests more testing of complex structures other programming languages and several ORB vendors optimizations of distributed interface transfer of behaviour (code in methods)
42
Questions Jan Lukeš xlukesj@fel.cvut.cz
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.