DS10_tut_2 - the same processing power Question 3 Explain the main differences between mobile code and mobile agent Question 4 Discuss the main

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CS3283 Distributed Systems Tutorial 2 Systems, Processes and Threads Some important points for further considerations … - What are the main purposes for specifying a system model - What are the various alternatives for designing a client/server system? - What is a process? - What is a thread? - How can a process be created? - What are provided from the OS/middleware in process management? - What are the resources required for execution of a process (thread)? - What is the main benefit of the Copy-on-Write in creating the operation environment for a process? - What is the main purpose of using multi-threading? How can a thread be created? - What are the differences in operation environment between a process and a thread? Readings : 2.2, 6.2 to 6.4 (Dollimore) and 1.5 and 3.1 (Tanenbaum) Question 1 What are the main differences between a client/server system and a peer-to-peer system? Question 2 Can you suggest three ways for server assignment if the servers are managing the same resources and have
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: the same processing power? Question 3 Explain the main differences between mobile code and mobile agent. Question 4 Discuss the main tradeoffs of using multi-threads instead of multi-processes to support an application. Question 5 Although multithreading may improve the system performance, i.e., reducing the response time for serving an application, sometimes, the response time may become longer if too many threads are created. Give two reasons to explain the problem. Question 6 A file server uses caching, and achieve a hit rate of 80%. File operations in the server cost 5ms of CPU time when the server finds the requested block in the cache, and take an additional 15ms of disk I/O time otherwise. Explaining any assumptions you make, estimate the server’s throughput (average request/sec) if it is: (1) single threaded; (2) two threads, running on a single processor; and (3) two-threaded, running on a two-processor computer....
View Full Document

This note was uploaded on 01/17/2011 for the course CS CS3283 taught by Professor Kylam during the Spring '10 term at City University of Hong Kong.

Page1 / 2

DS10_tut_2 - the same processing power Question 3 Explain the main differences between mobile code and mobile agent Question 4 Discuss the main

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online