CS550 “Advanced Operating Systems” Homework 3

$30.00

Category: You will Instantly receive a download link for .zip solution file upon Payment || To Order Original Work Click Custom Order?

Description

5/5 - (1 vote)

 

  1. (5 points) The root node in hierarchical location services may become a potential bottleneck. How can this problem be effectively circumvented?
  2. (5 points) In a hierarchical location service with a depth of k, how many location records need to be updated at most when a mobile entity changes its location?
  3. (10 points) High-level name servers in DNS, that is, name servers implementing nodes in the DNS name space that are close to the root, generally do not support recursive name resolution. Can we expect much performance improvement if they did?
  4. (10 points) Explain how DNS can be used to implement a home-based approach to locating mobile hosts.
  5. (10 points) Outline an efficient implementation of globally unique identifiers.
  6. (10 points) Consider the behavior of two machines in a distributed system. Both have clocks that are supposed to tick 1000 times per millisecond. One of them actually does tick, but the other ticks only 990 times per millisecond. If UTC updates come in once a minute, what is the maximum clock skew that will occur?
  7. (10 points) Many distributed algorithms require the use of a coordinating process. To what extent can such algorithms be considered distributed? Discuss.
  8. (10 points) A distributed system may have multiple, independent resources. Imagine that process 0 wants to access resource A and process 1 wants to access resource B. Can Ricart&Agrawalas algorithm lead to deadlocks? Explain your answer.
  9. (5 points) Give the Lamport logical time for the above diagram:

 

 

 

 

 

  1. (5 points) Please give the Vector logical time for the following diagram:
  2. (10 points) Consider a personal mailbox for a mobile user, implemented as part of a wide-area distributed database. What kind of client-centric consistency would be most appropriate?
  3. (10 points) In the Bully algorithm, a recovering process starts an election and will become the new coordinator if it has a higher identifier than the current incumbent. Is this a necessary feature of the algorithm?