Skip to Content
Linux Administration Cookbook
book

Linux Administration Cookbook

by Adam K. Dean
December 2018
Beginner
826 pages
22h 54m
English
Packt Publishing
Content preview from Linux Administration Cookbook

hdparm

It's possible that your disks are reporting back fine to your SMART commands, but you're still seeing some form of slowdown or other issues.

You can benchmark a disk's read with the hdparm tool (available in the default repositories).

We can test the speeds of our disk using the following:

$ sudo hdparm -tT /dev/sda
The manual page for hdparm suggests doing these tests two or three times for average results and running them on otherwise inactive systems.

Your mileage may vary, but the results from my system look like this:

/dev/sda: Timing cached reads:   13158 MB in  1.99 seconds = 6597.20 MB/sec Timing buffered disk reads: 2714 MB in  3.00 seconds = 903.83 MB/sec

Partly, we have a problem here, because what we're actually doing is reading ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Linux Security Cookbook - Second Edition

Practical Linux Security Cookbook - Second Edition

Tajinder Kalsi
Mastering Linux Administration

Mastering Linux Administration

Alexandru Calcatinge, Julian Balog

Publisher Resources

ISBN: 9781789342529Supplemental Content