LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices



Reply
 
Search this Thread
Old 02-20-2004, 01:43 AM   #1
zmaint
Member
 
Registered: Sep 2003
Location: Kansas
Distribution: Mandrake 9.2
Posts: 58

Rep: Reputation: 15
How do I make my hdparm settings permanent?


I got my hdparm settings where I want them I think..... How do I make them permanent so I don't lose them after a boot? Also if there are any tips to squeeze out a better transfer rate I am all ears.

Thanks

/dev/hda:

Model=Maxtor 6Y080L0, FwRev=YAR41BW0, SerialNo=Y27Y9SJE
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=160086528
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: (null):

* signifies the current active mode


ATA device, with non-removable media
Model Number: Maxtor 6Y080L0
Serial Number: Y27Y9SJE
Firmware Revision: YAR41BW0
Standards:
Supported: 7 6 5 4
Likely used: 7
Configuration:
Logical max current
cylinders 16383 4047
heads 16 16
sectors/track 63 255
--
CHS current addressable sectors: 16511760
LBA user addressable sectors: 160086528
device size with M = 1024*1024: 78167 MBytes
device size with M = 1000*1000: 81964 MBytes (81 GB)
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 1
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Advanced power management level: unknown setting (0x0000)
Recommended acoustic management value: 192, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* NOP cmd
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
* Look-ahead
* Write cache
* Power Management feature set
Security Mode feature set
SMART feature set
* FLUSH CACHE EXT command
* Mandatory FLUSH CACHE command
* Device Configuration Overlay feature set
* Automatic Acoustic Management feature set
SET MAX security extension
Advanced Power Management feature set
* DOWNLOAD MICROCODE cmd
* SMART self-test
* SMART error logging
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
HW reset results:
CBLID- above Vih
Device num = 0 determined by the jumper
Checksum: correct

hdparm -tT /dev/hda

/dev/hda:
Timing buffer-cache reads: 660 MB in 2.00 seconds = 330.00 MB/sec
Timing buffered disk reads: 138 MB in 3.01 seconds = 45.85 MB/sec
 
Old 02-20-2004, 02:25 AM   #2
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Freeslack
Posts: 1,714

Rep: Reputation: 106Reputation: 106
yes

as root, edit the /etc/rc.local file
add the following lines to it

hdparm -d1 -c1 -k1 /dev/hda
repeat for cd's (hdc/hdd etc)

-d1 turns dma on
-c1 turns 32bit support on
-k1 says "keep changes even after drive reset"
 
Old 11-17-2006, 01:44 PM   #3
sparkbot
LQ Newbie
 
Registered: Nov 2006
Location: Sonoran desert
Distribution: SUSE 10.1
Posts: 24

Rep: Reputation: 15
As a follow up, thank you as this was what I was looking for to lock in dma on a Plextor 760 DVD burner and that in SUSE 10.1 "The scripts for controlling the system are placed in /etc/init.d/ (they have been moved according to the Linux Standard Base (LSB) specifica-
tion).-- this from the rcd.read_me"

So look there for the rc script.

Last edited by sparkbot; 11-17-2006 at 01:50 PM.
 
  


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
GRUB-settings: are they permanent? JZL240I-U Linux - Software 21 10-13-2005 04:06 AM
saving hdparm settings? Pedia Debian 4 08-07-2005 11:14 AM
making WiFi settings in /etc/network/interfaces permanent Lleb_KCir Linux - General 3 05-11-2005 12:22 AM
hdparm settings after reboot Crashed_Again Linux - General 1 03-04-2004 07:43 AM
Making permanent screen geometry settings bjb123 Linux - Hardware 2 12-21-2003 05:40 PM


All times are GMT -5. The time now is 08:13 AM.

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