

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Material Type: Exam; Professor: Sengupta; Class: Comptr Netwrks/Distrbutd Procs; Subject: Computer Science; University: SUNY Institute of Technology at Utica-Rome; Term: Spring 2007;
Typology: Exams
1 / 3
This page cannot be seen from the preview
Don't miss anything!
Answer any five questions from the following
Policy: Take-home exam. Send your answer by email to kababs@gmail.com Due date: March 18, 2007 (noon time).
packet lengths are exponential with a mean of L = 1000 b/packet.
a. Compute mean number of packets in the system. b. Compute mean delay for a packet c. Assume now that mean arrival rate triples and the bandwidth is increased to 4.5 Mbps. What would be the mean number of packets and mean delay in the new case? How would justify your answers both computationally and intuitively?
In one modification of this protocol, called "persistent CSMA", the sender that finds the channel busy, waits until it is not busy anymore, and then sends it frame.
(a) Under what condition will this protocol be better than then regular CSMA? Give example and try to analyze the pros and cons of each protocol.
In another CSMA modification a compromise between these two protocols may be attempted. If the host finds he channel busy it waits till the end of that epoch, and then with probability P it immediately
transmits, and with probability 1-P it transmits after a random time. Note that P=0 is regular CSMA and P=1 is "persistent CSMA”.
(b) Provide an example, which may consider the system load, showing that it is better to choose P that is not 1 or 0. Do you think that the performance is sensitive to the choice of P? Explain!!
cs-out.cs.sunyit.edu (150.156.192.1) at 00:09:44:44:dc:00 on em0 [ethernet] gw-out.cs.sunyit.edu (150.156.192.2) at 00:02:b3:8b:bb:e1 on em0 [ethernet] ? (150.156.192.6) at 00:0b:ac:d8:c8:c0 on em0 [ethernet] fang.cs.sunyit.edu (150.156.192.10) at 00:03:47:30:3c:0e on em0 permanent [ethernet] yoshi.cs.sunyit.edu (150.156.192.20) at 00:03:47:32:62:7f on em0 [ethernet] spuds.cs.sunyit.edu (150.156.192.21) at 00:03:47:32:62:72 on em0 [ethernet] spike2.cs.sunyit.edu (150.156.192.32) at 00:11:43:f0:18:6a on em0 [ethernet] milo.cs.sunyit.edu (150.156.192.34) at 00:11:43:f0:18:6a on em0 [ethernet] turing.cs.sunyit.edu (150.156.192.60) at 00:13:20:76:90:5a on em0 [ethernet] turing3.cs.sunyit.edu (150.156.192.62) at 00:03:ff:77:90:5a on em0 [ethernet] ? (150.156.192.255) at ff:ff:ff:ff:ff:ff on em0 permanent [ethernet] sengupta@fang:~>
Now I send a set of pings to a specific interface sengupta@fang:~>ping 150.156.192.
PING 150.156.192.33 (150.156.192.33): 56 data bytes 64 bytes from 150.156.192.33: icmp_seq=0 ttl=64 time=0.525 ms 64 bytes from 150.156.192.33: icmp_seq=1 ttl=64 time=0.211 ms 64 bytes from 150.156.192.33: icmp_seq=2 ttl=64 time=0.216 ms 64 bytes from 150.156.192.33: icmp_seq=3 ttl=64 time=0.218 ms 64 bytes from 150.156.192.33: icmp_seq=4 ttl=64 time=0.214 ms 64 bytes from 150.156.192.33: icmp_seq=5 ttl=64 time=0.224 ms ^C --- 150.156.192.33 ping statistics --- 6 packets transmitted, 6 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.211/0.268/0.525/0.115 ms sengupta@fang:~>
Now if I recheck the ARP cache, we see it’s populated with some new info pertaining to network.33 host interface.
sengupta@fang:~>arp –a
cs-out.cs.sunyit.edu (150.156.192.1) at 00:09:44:44:dc:00 on em0 [ethernet] gw-out.cs.sunyit.edu (150.156.192.2) at 00:02:b3:8b:bb:e1 on em0 [ethernet] ? (150.156.192.6) at 00:0b:ac:d8:c8:c0 on em0 [ethernet] fang.cs.sunyit.edu (150.156.192.10) at 00:03:47:30:3c:0e on em0 permanent [ethernet] yoshi.cs.sunyit.edu (150.156.192.20) at 00:03:47:32:62:7f on em0 [ethernet]