1 / 12

COMP28112 – Lecture 20 Some problems and more…

Explore the significance of keeping logs of activity, analyze messages sent to the server based on the hour of the day, determine the busiest days of the week, and solve various computation problems. Lab marking sessions on May 8, 9, and 11.

djenks
Download Presentation

COMP28112 – Lecture 20 Some problems and more…

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. COMP28112 – Lecture 20 Some problems and more… COMP28112 Lecture 20

  2. The importance/usefulness of keeping logs of activity COMP28112 Lecture 20

  3. Messages to the server based on hour of the day (0-1, 1-2, …, 23-24) 2014 2013 2016 (88718 messages) 2015 (120853 messages)

  4. (111710) Messages to the server based on hour of the day (0-1, 1-2, …, 23-24) 2017 (111710 messages) COMP28112 Lecture 20

  5. (106109) Messages to the server based on hour of the day (0-1, 1-2, …, 23-24) 2018 (106109 messages) COMP28112 Lecture 20

  6. What day of the week was busiest? (1: Mon, 7: Sun) 2014 2013 2015 2016 COMP28112 Lecture 20

  7. What day of the week was busiest? (1: Mon, 7: Sun) 2017 COMP28112 Lecture 20

  8. What day of the week was busiest? (1: Mon, 7: Sun) 2018 COMP28112 Lecture 20

  9. Messages since 9 February (=day 1) 23rd April 2013 2014 4th March 2016 2015

  10. Messages since 9/2/2017 (=day 1) 1 March 28 March COMP28112 Lecture 20

  11. Messages since 9/2/2018 (=day 1) 16 April 20 February 27 Feb. 20 Mar.

  12. Some 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 sessions for the labs: May 8, 9, 11 All your lab work should be marked by May 11!

More Related