GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

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  

Read Details

In a file server, the following steps have to be performed o…

In a file server, the following steps have to be performed on each request: (1) parse request, (2) find and read file, (3) respond with file or error message. Assume steps (1) and (3) take 1ms and step (2) takes 2ms. Assume any delays due to inter-thread communication, synchronization, context-switching, etc. are negligible. Assume you have infinite resources. Consider a boss-worker and a pipelined model designs, each with a total of 4 threads. In both cases, you need to process a total of 6 requests. Answer the questions below. Please try to follow these rules:- Do not write the units. – Do not use a comma in your answer (e.g., write 1000 instead of 1,000 or write 0.75 instead of 0,75). – Write the leading zero in decimal fractions (e.g., write 0.75 instead of .75)- Show the results with up to two decimal places. Questions:For the boss-worker model, where the boss simply accepts requests and passes them onto a shared workers’ queue: a) How many requests can be processed concurrently? b) How long does it take to process a total of 6 requests in ms? ms c) What is the average throughput for this workload, in req/ms? req/ms d) What is the average response time for this workload, in ms? ms For a balanced implementation of the pipeline model: e) How many threads are allocated to the first stage? f) How many threads are allocated to the second stage? g) How many requests are concurrently being processed? h) How long does it take to process a total of 6 requests in ms? ms i) What is the average throughput for this workload, req/ms? req/ms j) What is the average response time for this workload, in ms? ms 

Read Details

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. 

Read Details

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:  

Read Details

The most artfully designed dessert presentations combine var…

The most artfully designed dessert presentations combine varied tastes and textures in a symmetrical arrangement.

Read Details

Which of the following could be used to make an individual-p…

Which of the following could be used to make an individual-portion-sized spongecake?

Read Details

Semisweet chocolate can be substituted in any formula that c…

Semisweet chocolate can be substituted in any formula that calls for ____________________chocolate.

Read Details

Fat bloom occurs when

Fat bloom occurs when

Read Details

When making molded chocolate candies, the __________________…

When making molded chocolate candies, the ________________________________________refers to the stage when finished chocolates are chilled before unmolding.

Read Details

The flavor of an ice cream or sorbet mixture intensifies as…

The flavor of an ice cream or sorbet mixture intensifies as it cools and freezes.

Read Details

Posts pagination

Newer posts 1 … 37,359 37,360 37,361 37,362 37,363 … 78,589 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top