home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!bu.edu!bigbird.bu.edu
- From: hss@bigbird.bu.edu (Himanshu Sinha)
- Newsgroups: comp.sys.isis
- Subject: Abcast performance
- Summary: Abcasts sent by the first member of a group are 4-6 times faster than
- Message-ID: <93520@bu.edu>
- Date: 13 Aug 92 00:40:23 GMT
- Sender: news@bu.edu
- Distribution: usa
- Organization: Computer Science Department, Boston University, Boston, MA, USA
- Lines: 47
-
- Here is the gist of an experiment that I conducted.
-
- I have two processes P1 and P2 running identical programs running on different
- hosts. Each process waits (using isis_select) for the user to enter an integer,
- NumOfTImes, and makes NumOfTimes abcasts to the group "testgroup" of which both
- P1 and P2 are members. The abcast waits for 1 reply.
-
- Upon receiving a message, the receiver checks if the message has been
- sent by itself. If it is, it calls abortreply() otherwise it calls nullreply().
-
- I measure the response time for the NumOfTimes abcasts. P1 and P2 do not abcast
- at the same time.
-
- My observations were:
- 1) If P1 joined the group before P2 then its response time for a certain number
- of abcasts was about 4-6 times faster than the response time of P2 for the same
- number of abcasts.
-
- 2) If P2 joined the group before P1 then P2's response times were about 4-6
- times faster.
-
- Here are some numbers:
-
- When P1 joins before P2:
- Num of abcasts Response Time for P1 Respnse Time for P2
-
- 1 3653 usecs 19696 usecs
- 10 33606 usecs 141856 usecs
- 100 318263 usecs 1 secs 335790 usecs
- 1000 2 secs 811663 usecs 13 secs 606533 usecs
-
- When P2 joins before P1
- Num of abcasts Response Time for P1 Respnse Time for P2
- 1 12473 usecs 3182 usecs
- 10 134268 usecs 28624 usecs
- 100 1 secs 342105 usecs 268750 usecs
- 1000 13 secs 509179 usecs 2 secs 353236 usecs
-
-
- Question:
- How is this difference accounted for? I added a third process and a fourth
- process. The factor seemed to drop around 3 but I did not do enough reps to
- give any numbers.
-
-
- THanks
- Himanshu
-