Hard disk image

hdparm – get/set ATA/SATA drive parameters

hdparm is an open source, command-line, performance and benchmarking utility to set and view ATA hard disk drive hardware parameters. It can set parameters such as drive caches, sleep mode, power management, acoustic management, and DMA settings.

The main use of hdparm is enabling irq-unmasking and IDE multiplemode.

GParted and Parted Magic both include hdparm.

Key Features

  • Query and dump information regarding drive configuration settings which can be disabled by the vendor or OEM installer.
  • Display the drive geometry (cylinders, heads, sectors), the size (in sectors) of the device, and the starting offset (in sectors) of the device from the beginning of the drive.
  • Get / Set sector count for filesystem (software) read-ahead – improve performance in sequential reads of large files, by prefetching additional blocks in anticipation of them being needed by the running task.
  • Get / Set Advanced Power Management feature.
  • Get / Set (E)IDE& 32-bit I/O support.
  • Get / Set the “using_dma” flag for the drive.
  • Enable / Disable the on-drive defect management feature, whereby the drive firmware tries to automatically manage defective sectors by relocating them to “spare” sectors reserved by the factory.

Website: sourceforge.net/projects/hdparm
Support:
Developer: Mark Lord
License: BSD license

hdparm is written in C. Learn C with our recommended free books and free tutorials.


Related Software

Handy Hard Disk Utilities
NVMe-CLINVM-Express user space tooling
SmartmontoolsControl and monitor storage systems using S.M.A.R.T.
scrutinyWebUI for smartd S.M.A.R.T monitoring
openSeaChestPerform various operations on SATA, SAS, NVMe, and USB storage devices
GSmartControlGraphical user interface for smartctl
hdparmTune hard disk parameters for high performance
sg3_utilsUtilities that send SCSI commands to devices
sdparmAccesses SCSI device parameters
nwipeSecure disk eraser
Bonnie++Toolkit for testing hard drive and file system performance

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted