LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-03-2003, 02:15 AM   #16
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47

try "/sbin/hdparm" or su with "su -"
 
Old 12-03-2003, 05:00 AM   #17
Kroenecker
Member
 
Registered: May 2003
Location: The States
Distribution: Gentoo
Posts: 245

Rep: Reputation: 30
You just dont have that command installed on your system. That is all. I would not worry about it. Maybe someone is curious about the specs for your hard disks. In that case you can get a little info by running dmesg. Just type dmesg at the command prompt. It will tell you what is detected on your system. Maybe if your hds dont have DMA then they run a little more slowly. But I really dont know as Im a beginner too
 
Old 12-03-2003, 12:53 PM   #18
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally posted by Kroenecker
Maybe if your hds dont have DMA then they run a little more slowly.
The "a little" bit can sometime make over 12 times
faster ... e.g., 4MB/s vs 50MB/s


Cheers,
Tink
 
Old 12-03-2003, 04:49 PM   #19
o0black0o
LQ Newbie
 
Registered: Nov 2003
Distribution: Red Hat 9 - i686
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Demonbane
try "/sbin/hdparm" or su with "su -"
Did what you said I already knew it was there.. I did the "man" for it.

This is what I got..

hdparm - get/set hard disk parameters - version v5.2

Usage: hdparm [options] [device] ..

Options:
-a get/set fs readahead
-A set drive read-lookahead flag (0/1)
-b get/set bus state (0 == off, 1 == on, 2 == tristate)
-B set Advanced Power Management setting (1-255)
-c get/set IDE 32-bit IO setting
-C check IDE power mode status
-d get/set using_dma flag
-D enable/disable drive defect-mgmt
-E set cd-rom drive speed
-f flush buffer cache for device on exit
-g display drive geometry
-h display terse usage information
-i display drive identification
-I detailed/current information directly from drive
-Istdin similar to -I, but wants /proc/ide/*/hd?/identify as input
-k get/set keep_settings_over_reset flag (0/1)
-K set drive keep_features_over_reset flag (0/1)
-L set drive doorlock (0/1) (removable harddisks only)
-M get/set acoustic management (0-254, 128: quiet, 254: fast) (EXPERIMENTAL)
-m get/set multiple sector count
-n get/set ignore-write-errors flag (0/1)
-p set PIO mode on IDE interface chipset (0,1,2,3,4,...)
-P set drive prefetch count
-q change next setting quietly
-Q get/set DMA tagged-queuing depth (if supported)
-r get/set readonly flag (DANGEROUS to set)
-R register an IDE interface (DANGEROUS)
-S set standby (spindown) timeout
-t perform device read timings
-T perform cache read timings
-u get/set unmaskirq flag (0/1)
-U un-register an IDE interface (DANGEROUS)
-v defaults; same as -mcudkrag for IDE drives
-V display program version and exit immediately
-w perform device reset (DANGEROUS)
-W set drive write-caching flag (0/1) (DANGEROUS)
-x tristate device for hotswap (0/1) (DANGEROUS)
-X set IDE xfer mode (DANGEROUS)
-y put IDE drive in standby mode
-Y put IDE drive to sleep
-Z disable Seagate auto-powersaving mode
-z re-read partition table
 
Old 12-03-2003, 04:55 PM   #20
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
And now with parameters :}

/sbin/hdparm /dev/hda

This is going to give you all the
settings for the harddrive


Cheers,
Tink
 
Old 12-04-2003, 12:32 AM   #21
o0black0o
LQ Newbie
 
Registered: Nov 2003
Distribution: Red Hat 9 - i686
Posts: 18

Original Poster
Rep: Reputation: 0
Finnally got some Results!! Now what does it mean..?

/dev/hda:
multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 4870/255/63, sectors = 78242976, start = 0
 
Old 12-04-2003, 01:27 PM   #22
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
That's fine, DMA is turned on as such ...

With
hdparm -Tt /dev/hda
you can measure the throughput of the drive.

With -X (dangerous) you can play with the
"higher level" settings, which may gain another
(smaller) performance boost...


Cheers,
Tink
 
Old 12-08-2003, 07:32 AM   #23
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
i find that you don't see /sbin in the PATH while using redhat....you'll have to issue the command : /sbin/hdparm rather than simply hdparm....
or add it to your PATH...also check out the -c and -d arguments while using hdparm, when you get it working...


wow, disregard my post....i never realized this thread was 2 pages, and i only seen the last post on the first page when he said hdparm was a command not found....
don't mind me :P

Last edited by DrOzz; 12-08-2003 at 07:34 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
basic questions on hostname and domain name + related postfix questions Moebius Linux - Newbie 7 09-04-2007 12:50 PM
Solaris - Questions! Questions! Questions! qs_tahmeed Solaris / OpenSolaris 2 07-16-2005 06:27 AM
window manager questions and/or theme questions t3gah Linux - Software 2 02-27-2005 05:16 PM
Some questions... CryptDragoon Linux From Scratch 2 02-04-2004 09:28 PM
few questions? pudhiyavan Linux - General 2 10-03-2003 08:35 AM


All times are GMT -5. The time now is 04:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration