05. [20p] Multitool Comparison

Now we will see in a slightly different approach, as for more special situations, a classic tool is not enough as long as we want to have a more detailed analysis of the behavior of I/O mechanisms.

[10p] Task A - Different tool, same I/O

An example would be to create an infinite loop that copies endlessly (simulation of a demanding process for a long time) a large file (use one of the files obtained previously).

Put the command below in a script:

$ while true; do cp original_file1 copied_file2; done

Use iostat, iotop and another special monitoring tools for I/O to investigate the state of the system (choose from here: https://www.golinuxcloud.com/monitor-disk-io-performance-statistics-linux/)

[10p] Task B - Plot of Comparison

Plot a graph with the results obtained with iostat, iotop and one of the previously chosen tools. Interpret the graph and the values obtained using those tools.

  • basic plot
  • the values used should represent the same metric (eg: kb written per second)
  • you can take the values manually or automatically
  • standardize the values (kb/s)
  • preferably use the matplotlib module in python

Fill the data you obtained into the python3 script in plot.zip.

Make sure you have python3 and python3-matplotlib installed.

ep/labs/03/contents/tasks/ex5.txt ยท Last modified: 2020/09/26 12:37 by gheorghe.petre2608
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0