A common solution in distributed data stores (or distributed…

A common solution in distributed data stores (or distributed file system) is to organize the metadata in two types of data structures: a global map (or global index) – used to identify a specific node in the system, and a data map – used to identify the location of the contents (e.g., chunks or blocks) of the replicated or partitioned data item (or file). What is the common way of implementing these data structures: Global Map:   Data Map:  

Do the following statements refer to an OS mechanism (M), ab…

Do the following statements refer to an OS mechanism (M), abstraction (A) or policy (P)? Enter M, A, or P in each text box.    a) The OS represents communication endpoints as sockets.  b) A process can wait for incoming connections on sockets via accept().  c) A socket number may be reused.  d) A process can open up to SOME_MAX_NUMBER sockets.  e) All threads in an address space can access all sockets opened by anyone in the process.  

In Vivek Pai’s paper on the Flash webserver, the authors eva…

In Vivek Pai’s paper on the Flash webserver, the authors evaluated several webserver designs using two traces – the Owlnet trace, whose dataset size was 100MB, and the CS trace, whose dataset size was 7.8GB. The webservers they compared include Flash (which followed the AMPED model), SPED (the Zeus single-process event-driven server), MT (a multi-threaded webserver), MP (a multi-process webserver, Apache (an unoptimized Apache webserver). The tests were performed using a 333MHz PentiumII CPU with 128 MB of memory and multiple 100 Mbit/s Ethernet interfaces.  Give the correct answer to the following questions:1. In the event of the CS trace, which of the following will perform better:     a.    Flash vs. MT      b.    Flash vs. MP      c.    Flash vs. SPED      d.    SPED vs. MT      e.    MT vs. MP 2. In the event of the Owlnet trace, which of the following will perform better:     f.     Flash vs. MT      g.    Flash vs. MP      h.    SPED vs. MT      i.     MT vs. MP      j.     MP vs. Apache 3. Without modifying the implementation described in the paper, when running on a more recent quad-core platform with 12GB of memory, which one would you expect to perform better:     k.    Flash vs. MT      l.   MT vs. MP  

State whether the following pieces of information describing…

State whether the following pieces of information describing an execution context are process-wide (PW) or thread-specific (TS):a) stack pointer b) virtual-to-physical memory mappings c) signal handlers d) signal mask e) open files Enter PW or TS in the text box.