INF 559: Introduction to Data Management

Custom Research Paper Writing Service 

INF 559: Introduction to Data Management

 

Homework #1: Storage Access Patterns

Don't use plagiarized sources. Get Your Custom Essay on
INF 559: Introduction to Data Management
Just from $13/Page
Order Essay

Preparation Lab 1(Q1) Due: January 28, Thursday 11:59 PM PST

Complete HW1 (Q2 & Q3) Due: February 8, Tuesday 11:59 PM PST

  PT 100 points

In the lectures, you have studied the differences between sequential and random file access. In this assignment, you will read increasing amounts of data using sequential and random access on a large file and plot the results obtained.

 

  1. Preparation (Lab 1) [10 points]
    1. Download the Ubuntu 18.04.3 ISO file from here:

https://releases.ubuntu.com/20.10/ubuntu-20.10-desktop-amd64

.iso This will be used as our test file.​

  1. Upload this file to your Google Drive.
  2. Open a new Python 3 notebook in Google Colab (Warning: Python 2 notebooks will not be accepted).
  3. Import Pandas​ , ​ NumPy,​ ​ and ​ Matplotlib1, you may use them in this
  4. Many of you indicated that you have used Jupyter Notebook before, so we want to provide a starter notebook that you can open in Google Colab to get a head start. The notebook outlines the expected layout of your final submission. This step is not mandatory but is strongly recommended.
  5. For the Lab 1​ submission due on Thursday night, simply plot the y = sin x function in Google Colab and submit the .ipynb​ file including​ the plot.

1  Here are good guides to get started with Pandas, Numpy, and Matplotlib:

Pandas Quick Tutorial

Numpy Quick Tutorial

Matplotlib Quick Tutorial

 

  1. Plotting latency and bandwidth [50 points]
    1. Open the test file in unbuffered ​ mode​  [1]​           .
    2. Sequentially read [1, 4, 16, 64, 256, 1024, 4*1024, 16*1024, 64*1024, 256*1024, 1024*1024] blocks of data[2]. Use a fixed block size of  4KB.​ Measure the latency for each iteration in terms of wall-clock time.
    3. Repeat 2b with random reads instead of sequential.
    4. Plot the latencies measured in 2b and 2c against the number of blocks read. Both sequential and random results should appear on the same plot and the number of blocks should be scaled logarithmically instead of linearly. Briefly describe your observations from this plot.
    5. Calculate the bandwidth for each iteration of 2b and 2c using the latency and amount of data transferred. Plot the results in the same manner as latency and briefly describe your observations.

 

Sample output for step 2 (generated using random numbers, not suggestive of actual output)

  1. Measurement Statistics [50 points]
    1. Run 10 times of steps 2b and 2c and store the results.
    2. For each of the 11 iterations, calculate the mean and standard error[3]​ over the 10 runs.
    3. Use the results of 3b to generate errorbar plots for latency and bandwidth. Again, both sequential and random results should be on the same plot and the number of blocks should be scaled logarithmically. Briefly describe your observations from these plots.

 

Sample output for step 3 (generated using random numbers, not suggestive of actual output)

 

Submission:

  1. Submit a single file on Blackboard ipynb
  2. The only file format accepted is .ipynb​ . You do not need to submit the plots and explanations separately. Describe your observations using text cells (Jupyter notebooks allow both code and text cells). Your final notebook will have both the plots and explanations as part of it.
  3. Make sure to mention your name and USC ID in your notebook (as done in the starter notebook).

 

Grading Criteria:

  1. Late submissions (up to 24 hours) will be penalized by 20%. No credit will be given after 24 hours of the submission deadline.
  2. As mentioned above, Python 2 notebooks will receive no credit.
  3. The submitted notebook must have all its cells executed and outputs visible (if applicable). Notebooks without outputs will be penalized by 30%.​
  4. You may use any Python internal library, but the only external libraries allowed are pandas​ , ​ NumPy, ​ and ​    matplotlib​     . Use of any external library​ other than these will be penalized by 20​     %.​

 

Important Notes:

  1. Submitted work must be your own. Don’t share your code with anyone.
  2. Q3 may take up to 5 minutes to execute. This is expected behavior given such large reads.
  3. Start early, and make sure to visit the TA’s during office hours to make sure you’re on the right track or if you need help.

[1]  Refer to the documentation to switch buffering off. Also, make sure you use the binary read mode while opening.

[2]  It may be possible that you reach the end of the file prematurely during sequential access. Make sure to seek to the start of the file again and continue reading in this case.

[3]  The standard error is defined as the standard deviation divided by the square root of the number of observations.

Calculate the price
Make an order in advance and get the best price
Pages (550 words)
$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
How it works
Receive a 100% original paper that will pass Turnitin from a top essay writing service
step 1
Upload your instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
Pro service tips
How to get the most out of your experience with Home Work Stand
One writer throughout the entire course
If you like the writer, you can hire them again. Just copy & paste their ID on the order form ("Preferred Writer's ID" field). This way, your vocabulary will be uniform, and the writer will be aware of your needs.
The same paper from different writers
You can order essay or any other work from two different writers to choose the best one or give another version to a friend. This can be done through the add-on "Same paper from another writer."
Copy of sources used by the writer
Our college essay writers work with ScienceDirect and other databases. They can send you articles or materials used in PDF or through screenshots. Just tick the "Copy of sources" field on the order form.
Testimonials
See why 20k+ students have chosen us as their sole writing assistance provider
Check out the latest reviews and opinions submitted by real customers worldwide and make an informed decision.
Human Resources Management (HRM)
The paper was exactly what I needed. The writer followed the instructions and provided detailed responses. I'll definitely use these services again.
Customer 452445, January 22nd, 2022
Human Resources Management (HRM)
Always amazing work! Easy communication and made changes according to my needs!!
Customer 452445, January 5th, 2022
Human Resources Management (HRM)
Great paper and delivered on time.
Customer 452445, January 27th, 2022
Business Studies
Amazing job on a tight deadline. Met all requirements and some. Will hire again if needed.
Customer 452445, March 3rd, 2022
Communications
Perfectly done. I would love to continue working with this writer thought out the 11-week course. Thank you.
Customer 452445, October 24th, 2021
Social Sciences
The write was very patient with my instructions and did their best to provide quality work according to my request.
Customer 452445, November 2nd, 2021
Human Resources Management (HRM)
The best writer in his subject of expertise. It is reflected in the quality of the work.
Customer 452445, December 29th, 2021
Human Resources Management (HRM)
I am very pleased with your work and how it was completed in a timely manner. I will be requesting this writer for future assignments. Excellent work!
Customer 452445, June 10th, 2022
Business Studies
Needed a little editing. Anyway, thank you.
Customer 452445, October 31st, 2021
Business Studies
It's the second time I use this service and it does not let me down. Work quality is so good for its price!
Customer 452445, June 6th, 2022
Computer science
The work and detail provided in the assignment were exactly what I was looking for! Very pleased with the whole process and the data which was analyzed. I could not have asked for a better writer, thank you again for your hard work, and Happy Holidays
Customer 452445, December 10th, 2021
Nursing
I am so pleased with your services Thank you so much for a well-done job with my papers!
Customer 452445, January 9th, 2022
11,595
Customer reviews in total
96%
Current satisfaction rate
3 pages
Average paper length
37%
Customers referred by a friend
OUR GIFT TO YOU
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat

Order your essay today and save 15% with the discount code ESSAYHELP