home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / isis / 216 next >
Encoding:
Internet Message Format  |  1992-08-12  |  2.2 KB

  1. Path: sparky!uunet!olivea!bu.edu!bigbird.bu.edu
  2. From: hss@bigbird.bu.edu (Himanshu Sinha)
  3. Newsgroups: comp.sys.isis
  4. Subject: Abcast performance
  5. Summary: Abcasts sent by the first member of a group are 4-6 times faster than
  6. Message-ID: <93520@bu.edu>
  7. Date: 13 Aug 92 00:40:23 GMT
  8. Sender: news@bu.edu
  9. Distribution: usa
  10. Organization: Computer Science Department, Boston University, Boston, MA, USA
  11. Lines: 47
  12.  
  13. Here is the gist of an experiment that I conducted.  
  14.  
  15. I have two processes P1 and P2 running identical programs running on different
  16. hosts. Each process waits (using isis_select) for the user to enter an integer,
  17. NumOfTImes, and makes NumOfTimes abcasts to the group "testgroup" of which both
  18. P1 and P2 are members. The abcast waits for 1 reply.
  19.  
  20. Upon receiving a message, the receiver checks if the message has been
  21. sent by itself. If it is, it calls abortreply() otherwise it calls nullreply().
  22.  
  23. I measure the response time for the NumOfTimes abcasts. P1 and P2 do not abcast
  24. at the same time.
  25.  
  26. My observations were:
  27. 1) If P1 joined the group before P2 then its response time for a certain number
  28. of abcasts was about 4-6 times faster than the response time of P2 for the same
  29. number of abcasts.
  30.  
  31. 2) If P2 joined the group before P1 then P2's response times were about 4-6
  32. times faster.
  33.  
  34. Here are some numbers:
  35.  
  36. When P1 joins before P2:
  37. Num of abcasts       Response Time for P1         Respnse Time for P2
  38.  
  39.       1           3653 usecs                 19696 usecs
  40.         10          33606 usecs                          141856 usecs
  41.         100              318263 usecs                   1 secs 335790 usecs
  42.         1000      2 secs 811663 usecs                  13 secs 606533 usecs
  43.  
  44. When P2 joins before P1
  45. Num of abcasts       Response Time for P1         Respnse Time for P2
  46.         1                  12473 usecs                          3182 usecs
  47.         10                134268 usecs                         28624 usecs
  48.         100        1 secs 342105 usecs                        268750 usecs
  49.         1000      13 secs 509179 usecs                 2 secs 353236 usecs
  50.  
  51.  
  52. Question:
  53. How is this difference accounted for? I added a third process and a fourth
  54. process. The factor seemed to drop around 3 but I did not do enough reps to
  55. give any numbers.
  56.  
  57.  
  58. THanks
  59. Himanshu
  60.