How to speed up your harddrive read access?
How to change your harddrive access parameters?
How to measure your harddrive read access?
How to show your hardrive geometry and identification?
How to enable your harddrive UDMA (Ultra DMA) setting?
This document would cover mostly changing IDE/ATA harddrive parameters. If you have Western Digital drives, skip this document and have a further consultation from your hardware provider.
First you need to know which harddrive device you have from your system. As root:
# cat /boot/grub/device.map
~~~~~~~~~~~~~~~~~~~~~~
(hd0) /dev/sda
~~~~~~~~~~~~~~~~~~~~~~
You need to remember the word from the second column which maps to your harddrive device. In the above example, we have /dev/sda .
We need to see what options are already enabled with the harddrive. We are going to make use of linux hdparm command, which is installed by default, as follows:
# hdparm /dev/sda
Now, in order for us to know each harddrive paramater changes, we need to measure and take note of our current harddrive read access and transfer rate for comparisons later on.
Now, let us get more harddrive information.
# hdparm -giI /dev/sda
The above would give you more data like harddrive geometry, read/write modes, IO buffers, timer/DMA values and more.
After getting these values, we can now do our initial harddrive read test and again take note of returned result by issuing:
# hdparm -tT /dev/sda
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/dev/sda:
Timing cached reads: 888 MB in 2.00 seconds = 443.96 MB/sec
Timing buffered disk reads: 120 MB in 3.02 seconds = 39.77 MB/sec
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Executing hdparm without any arguments, would show you available help options.
You can make experiments with different hdparm parameter changes. Just make notes of every read tests like the one shown above for comparison purposes. By referencing to those results, you would definitely arrive to a conclusion on which harddrive parameters makes your harddrive reads and performs fastest!
man hdparm:
hdparm provides a command line interface to various hard disk ioctls supported by the stock linux ATA/IDE device driver subsystem. Some options may work correctly only with the latest kernels. For best results, compile hdparm with the include files from the latest kernel source code
To enable DMA settings (UltraDMA) :
# hdparm -d1 /dev/sda
and to disable DMA would be :
# hdparm -d0 /dev/sda
See the effects immediately:
# hdparm /dev/sda
To make it permanent, besides from /etc/rc.local, you can place these parameter settings directly to a file /etc/sysconfig/harddisks .
Hope it helps
Subscription
Categories
- HowTos (612)
- Linux Devices (40)
- Linux Diggs (620)
- Linux News (1541)
- Linux Videos (24)
Recent Posts
Blog Archive
-
▼
2007
(340)
-
▼
July
(107)
- AMSN messenger install howto
- firefox browser - yum update howto
- kopete messenger install howto
- Gaim pidgin messenger install howto
- xmms - multimedia player install howto
- UltraDMA - speedup your harddisk howto
- sabayon - user profile manager howto
- 50 quick linux command tips part 3
- No negotiations with Microsoft in progress
- connect SamSung D820 mobile to linux howto
- yum from ISO image or CD install howto
- missing portmap reinstall howto
- 50 quick linux command tips part 2
- 50 quick linux command tips part 1
- desktop wiki install howto
- NASA tests Linux for spacecraft control
- warzone 2100 strategy 3d game install howto
- motd - message of the day
- more with kernel name version howto
- stop and start networking service howto
- change network proxy preference howto
- alexa firefox toolbar plugin install howto
- reboot / halt system via CLI howto
- gparted partitioning install howto
- google picasa install howto
- pine and pico install howto
- adobe/macromedia flash player test and install howto
- realplayer install howto
- Microsoft's TrueType core fonts install howto
- Why Choose Fedora? (Fedora vs. Ubuntu)
- Microsoft vs Opensource
- the df command
- linux possessed by monsterz
- change display setting howto
- NTP clock synchronization howto
- qtparted partitioning magic install howto
- host name and host aliases explained
- IP aliasing - virtual IP howto
- viruskiller on linux
- change keyboard language setting
- changing ethernet card settings howto
- TIP: WiFi with chillispot and linux
- play tennis the linux way
- sudoku game install howto
- my linux box talked to me
- CD/DVD burning software install howto
- A SYSAD BLOG - LINUX: list out active host connect...
- list out active host connection howto
- more with linux command named history
- GnuPG and enigmail thunderbird add-ons
- PDF file readers install howto
- digikam - KDE photo management install howto
- gnome floppy formatter
- f-spot Gnome photo manager install howto
- VLC media player install howto
- ping IP subnet block howto
- TIP: find and delete files recursively
- list out opened host ports howto
- TIP: linux process priority scheduling management
- TIP: spammer sending email using squid
- remount partition as read only howto
- additional swap file howto
- CrossOver install howto
- system-config-securitylevel-tui and lokkit howto
- format a windows partition from linux hadrdisk
- TIP: monitoring while mounting USB devices
- zero-sized a file without permission / ownership c...
- TIP: auto create mail spool when adding user
- md5sum checksum howto
- IP address to country lookup howto
- gnome mail notification install howto
- add new harddisk to existing linux system
- TIP: block an IP address
- disk space report
- more trace route command alternatives
- changing your hardware / software clock howto
- other interesting ping commands
- send email via CLI howto
- adding static route howto
- send message to all logged in users
- unzip zip untar tar bzip2 bunzip2 gzip gunzip file...
- format of /etc/passwd, /etc/shadow and /etc/group
- remove user's cron jobs howto
- find the user's files howto
- passphraseless + passwordless ssh howto
- passwordless ssh howto
- X11 Forwarding via ssh howto
- skype install howto
- disable IPv6
- lsusb - list all USB devices
- make yum faster
- lspci - list all PCI devices
- kill a process
- beginners CLI guide for static ip address
- the pidof command
- retrieve data from mysql using bash script
- VirtualBox install howto
- call bash script inside php web page
- alternative linux browsers
- last / currently logged in users
-
▼
July
(107)
Monday, July 30, 2007
UltraDMA - speedup your harddisk howto
Subscribe to:
Post Comments (Atom)
ILoveTux - howtos and news | About | Contact | TOS | Policy
0 comments:
Post a Comment