1 / 5

Motivating some advanced problems (but first some statistics about lab 2)

Motivating some advanced problems (but first some statistics about lab 2). Lecture 21. Messages to the server based on hour of the day (0-1, 1-2, …, 23-24). What day of the week is busiest? (1: Monday, 7: Sunday). Messages since 9/2/2013 (=day 1). 23 rd April. 4 th March. The problems.

juanholcomb
Download Presentation

Motivating some advanced problems (but first some statistics about lab 2)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Motivating some advanced problems(but first some statistics about lab 2) Lecture 21

  2. Messages to the server based on hour of the day (0-1, 1-2, …, 23-24)

  3. What day of the week is busiest?(1: Monday, 7: Sunday)

  4. Messages since 9/2/2013 (=day 1) 23rd April 4th March

  5. The problems • When is it best to execute two tasks on one machine as opposed to one task on one machine + communication (data transfer) and computation on another? • How to design random values, which are not uniform? E.g., two-digit integer where the probability is: 0-9 (90%) and 10-99 (10%) • How to compute the average of streamed data? (related to lab exercise 3, where you have to compute the average over large values) • Split the following loop, so that each of 4 threads takes the same amount of computation. Rewrite, in terms of t, where t is between 0 and 3. for(i=0;i<1000;i++) { some_computation_on_i; } Marking session for the lab on May 7th all your lab work should be submitted by then!

More Related