LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-30-2004, 03:19 AM   #1
zhilla
LQ Newbie
 
Registered: Mar 2004
Posts: 9

Rep: Reputation: 0
hdparm miracle :)


well, upgraded hdparm from 5.3 to 5.4... and finally got hard disk performance i have in knoppix (2.4.x kernel) on this slackware 9.1 with 2.6.4 kernel box. hd is fujitsu mpe3064at... hope someone will find this usefull...
and, command added after "Path... " line in /etc/rc.d/rc.S is
hdparm -a 512 -c 3 /dev/hda

before:
/dev/hda:
Timing buffer-cache reads: 128 MB in 2.12 seconds = 60.39 MB/sec
Timing buffered disk reads: 64 MB in 3.53 seconds = 18.13 MB/sec

/dev/hda:
multcount = 16 (on)
IO_support = 3 (32-bit w/sync)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 512 (on)
geometry = 13410/15/63, sectors = 12672450, start = 0


after:
/dev/hda:
Timing buffer-cache reads: 240 MB in 2.00 seconds = 119.72 MB/sec
Timing buffered disk reads: 54 MB in 3.04 seconds = 17.75 MB/sec

/dev/hda:
multcount = 16 (on)
IO_support = 3 (32-bit w/sync)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 512 (on)
geometry = 13410/15/63, sectors = 12672450, start = 0
 
Old 03-30-2004, 12:59 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
I'm not quite sure why higher cache-reads
please you that much, the physical speed
in this second run was slightly lower?


Cheers,
Tink
 
Old 03-31-2004, 01:54 AM   #3
zhilla
LQ Newbie
 
Registered: Mar 2004
Posts: 9

Original Poster
Rep: Reputation: 0
not really... average is not lower, if i measure 3-4 times. hdparms benchmark is just orientational, not really precise
 
Old 03-31-2004, 02:06 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
I still don't see a reason for excitement or
a recommendation to upgrade?


Cheers,
Tink
 
Old 04-01-2004, 06:39 AM   #5
zhilla
LQ Newbie
 
Registered: Mar 2004
Posts: 9

Original Poster
Rep: Reputation: 0
dunno.... "works as espected"?!?
 
Old 04-01-2004, 12:53 PM   #6
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
What Tinkster is saying, is that an improvement in cache read isn't really much of an improvement at all. Physical read/write to the disk is the bottleneck, rarely the cache.

As you can see, your physical read speed is roughly the same.

--Shade
 
Old 04-01-2004, 12:57 PM   #7
terosaur
Member
 
Registered: Mar 2003
Distribution: Slackware 12.0
Posts: 79

Rep: Reputation: 15
The size of the cache will make a bigger improvement. 8MB vs 2MB.
 
Old 04-01-2004, 02:28 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Where did you get those two values from?

And they have to do with hdparm how? : )



Cheers,
Tink
 
  


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
Quasi-miracle in my Linux experience! titanium_geek LinuxQuestions.org Member Success Stories 1 12-14-2004 03:28 PM
Miracle diet. Defies Physics, God, Spam Free. (riddle) Pres General 2 10-01-2004 04:08 PM
miracle - X runs without NVIDIA driver WannaLearnLinux LinuxQuestions.org Member Success Stories 6 02-03-2004 06:39 PM
hdparm xjphil Red Hat 2 10-05-2003 12:59 AM
hdparm -g NOT= hdparm -i ---LILO hangs @ L stevewalsh Linux - General 4 07-23-2001 09:37 PM


All times are GMT -5. The time now is 04:24 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration