Re: [newbie] Hdparm

2004-10-16 Thread Derek Jennings
On Saturday 16 October 2004 10:28, Alan wrote:
> Is there a way I can set my hard disks to use 32 bit access as a defualt.
> They are currently using 16 bit. I use hdparm -c1 /dev/hd? to set this but
> the changes don't appear to be perminent.
>
> Thanks

Put your setup  in /etc/sysconfig/harddisks

derek
-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Hdparm

2004-10-16 Thread Alan
Is there a way I can set my hard disks to use 32 bit access as a defualt.  
They are currently using 16 bit. I use hdparm -c1 /dev/hd? to set this but  
the changes don't appear to be perminent.

Thanks
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] hdparm and /etc/sysconfig/harddisks in mdk91

2003-08-31 Thread Greg Meyer
On Saturday 30 August 2003 11:31 am, L.V.Gandhi wrote:
> On Saturday 30 Aug 2003 6:14 pm, Anne Wilson wrote:
> > On Friday 29 Aug 2003 2:35 pm, L.V.Gandhi wrote:
> > > In my /etc/sysconfig/harddisks in mdk91, all lines are commented
> > > out. But [EMAIL PROTECTED] lvgandhi]# hdparm  /dev/hda
> > >
> > > /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 = 2434/255/63, sectors = 39102336, start = 0
> > > From  where dma and other parameters are set?
> >
> > LV - I presume you know hdparm?  If not, there's the man info with
> > some useful comments on
> >
> > http://www.lydgate.org.uk/linux/hdparm.html
> 
> May be I was not clear in my statement. I know to set the parameters using 
> hdparm. But I wanted to know how the default parameters are set when all 
> lines are commented out in  /etc/sysconfig/harddisks in mdk91.

Have a look at /etc/rc.d/rc.sysinit
-- 
/g

"Outside of a dog, a man's best friend is a book, inside
a dog it's too dark to read" -Groucho Marx

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] hdparm and /etc/sysconfig/harddisks in mdk91

2003-08-31 Thread L.V.Gandhi
On Saturday 30 Aug 2003 6:14 pm, Anne Wilson wrote:
> On Friday 29 Aug 2003 2:35 pm, L.V.Gandhi wrote:
> > In my /etc/sysconfig/harddisks in mdk91, all lines are commented
> > out. But [EMAIL PROTECTED] lvgandhi]# hdparm  /dev/hda
> >
> > /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 = 2434/255/63, sectors = 39102336, start = 0
> > From  where dma and other parameters are set?
>
> LV - I presume you know hdparm?  If not, there's the man info with
> some useful comments on
>
> http://www.lydgate.org.uk/linux/hdparm.html

May be I was not clear in my statement. I know to set the parameters using 
hdparm. But I wanted to know how the default parameters are set when all 
lines are commented out in  /etc/sysconfig/harddisks in mdk91.
-- 
L.V.Gandhi
203, Soundaryalahari Apartments, Lawsons Bay colony, Visakhapatnam, 530017
MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] hdparm and /etc/sysconfig/harddisks in mdk91

2003-08-31 Thread L.V.Gandhi
On Saturday 30 Aug 2003 8:39 am, Dennis Myers wrote:
> On Friday 29 August 2003 08:35 am, L.V.Gandhi wrote:
> > In my /etc/sysconfig/harddisks in mdk91, all lines are commented out. But
> > [EMAIL PROTECTED] lvgandhi]# hdparm  /dev/hda
> >
> > /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 = 2434/255/63, sectors = 39102336, start = 0
> > From  where dma and other parameters are set?
>
> Your DMA is at "using_dma =1(on)" which means it is active. Here is my
> /dev/hda with a 30g Maxtor 7200rpm
>
> /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=  8 (on)
>  geometry = 3738/255/63, sectors = 60058656, start = 0

May be I was not clear in my statement. I know to set the parameters using 
hdparm. But I wanted to know how the default parameters are set when all 
lines are commented out in  /etc/sysconfig/harddisks in mdk91.
-- 
L.V.Gandhi
203, Soundaryalahari Apartments, Lawsons Bay colony, Visakhapatnam, 530017
MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] hdparm and /etc/sysconfig/harddisks in mdk91

2003-08-30 Thread Anne Wilson
On Friday 29 Aug 2003 2:35 pm, L.V.Gandhi wrote:
> In my /etc/sysconfig/harddisks in mdk91, all lines are commented
> out. But [EMAIL PROTECTED] lvgandhi]# hdparm  /dev/hda
>
> /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 = 2434/255/63, sectors = 39102336, start = 0
> From  where dma and other parameters are set?


LV - I presume you know hdparm?  If not, there's the man info with 
some useful comments on

http://www.lydgate.org.uk/linux/hdparm.html

HTH

Anne

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] hdparm and /etc/sysconfig/harddisks in mdk91

2003-08-30 Thread Dennis Myers
On Friday 29 August 2003 08:35 am, L.V.Gandhi wrote:
> In my /etc/sysconfig/harddisks in mdk91, all lines are commented out. But
> [EMAIL PROTECTED] lvgandhi]# hdparm  /dev/hda
>
> /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 = 2434/255/63, sectors = 39102336, start = 0
> From  where dma and other parameters are set?
Your DMA is at "using_dma =1(on)" which means it is active. Here is my 
/dev/hda with a 30g Maxtor 7200rpm

/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=  8 (on)
 geometry = 3738/255/63, sectors = 60058656, start = 0

HTH
-- 
Dennis M. linux user #180842

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] hdparm and /etc/sysconfig/harddisks in mdk91

2003-08-30 Thread L.V.Gandhi
In my /etc/sysconfig/harddisks in mdk91, all lines are commented out. But 
[EMAIL PROTECTED] lvgandhi]# hdparm  /dev/hda

/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 = 2434/255/63, sectors = 39102336, start = 0
From  where dma and other parameters are set?
-- 
L.V.Gandhi
203, Soundaryalahari Apartments, Lawsons Bay colony, Visakhapatnam, 530017
MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] hdparm and DMA

2003-01-21 Thread John Richard Smith
Joan Tur wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Es Dimarts 21 Gener 2003 16:39, en John Richard Smith va escriure:
 

I definately have DMA enabled in bios.

But how do I get hdparm to check and enable DMA.

my hard drive is /dev/hda

John
   

Install hdparm, then edit /etc/sysconfig/harddisks and uncomment the line 
USE_DMA=1

 

Thanks everyone,

John

--
John Richard Smith
[EMAIL PROTECTED] 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hdparm and DMA

2003-01-21 Thread Joan Tur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Es Dimarts 21 Gener 2003 16:39, en John Richard Smith va escriure:
> I definately have DMA enabled in bios.
>
> But how do I get hdparm to check and enable DMA.
>
> my hard drive is /dev/hda
>
> John
Install hdparm, then edit /etc/sysconfig/harddisks and uncomment the line 
USE_DMA=1
- -- 
  Joan Tur. Eivissa-Spain
 AOL quini2k,  ICQ 11407395
www.ClubIbosim.org
Linux: usuari registrat 190.783
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD4DBQE+LW77ok8j9RhtetwRAq4fAJwOUyhM/FSnIPMXLE41KNdvpZTVtwCXTuG5
OwCgyH7m+4WUQKFOwgKpSA==
=jN8M
-END PGP SIGNATURE-



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hdparm and DMA

2003-01-21 Thread Anne Wilson
On Tuesday 21 Jan 2003 3:39 pm, John Richard Smith wrote:
> I definately have DMA enabled in bios.
>
> But how do I get hdparm to check and enable DMA.
>
> my hard drive is /dev/hda

Attached is my notes on hdparm, mostly supplied by Technoslick.

Anne
-- 
Registered Linux User No.293302

{\rtf1\ansi\deff1\adeflang1025
{\fonttbl{\f0\froman\fprq2\fcharset0 Times New Roman{\*\falt Thorndale};}{\f1\fnil\fprq0\fcharset0 Garamond;}{\f2\fnil\fprq0\fcharset0 Garamond;}{\f3\froman\fprq2\fcharset0 Arial;}{\f4\fswiss\fprq2\fcharset0 helvetica;}{\f5\fnil\fprq2\fcharset0 HG Mincho Light J;}{\f6\fnil\fprq2\fcharset0 Arial Unicode MS;}}
{\colortbl;\red0\green0\blue0;\red0\green0\blue128;\red128\green128\blue128;}
{\stylesheet{\s1{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\afs24\lang255\ltrch\dbch\af5\afs24\langfe255\loch\f1\fs24\lang1033\snext1 Default;}
{\s2\sa120{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\afs24\lang255\ltrch\dbch\af5\afs24\langfe255\loch\f1\fs24\lang1033\sbasedon1\snext2 Text body;}
{\s3\sa120{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\afs24\lang255\ltrch\dbch\af5\afs24\langfe255\loch\fs24\lang1033\sbasedon2\snext3 List;}
{\s4\sb120\sa120{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\afs20\lang255\ai\ltrch\dbch\af5\afs20\langfe255\ai\loch\fs20\lang1033\i\sbasedon1\snext4 Caption;}
{\s5{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\afs24\lang255\ltrch\dbch\af5\afs24\langfe255\loch\fs24\lang1033\sbasedon1\snext5 Index;}
}
{\info{\comment StarWriter}{\vern6410}}\deftab720
{\*\pgdsctbl
{\pgdsc0\pgdscuse195\pgwsxn11905\pghsxn16837\marglsxn1134\margrsxn1134\margtsxn1134\margbsxn1134\pgdscnxt0 Default;}}
\paperh16837\paperw11905\margl1134\margr1134\margt1134\margb1134\sectd\sbknone\pgwsxn11905\pghsxn16837\marglsxn1134\margrsxn1134\margtsxn1134\margbsxn1134\ftnbj\ftnstart1\ftnrstcont\ftnnar\aenddoc\aftnrstcont\aftnstart1\aftnnrlc
\pard\plain \s1{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\afs24\lang255\ltrch\dbch\af5\afs24\langfe255\loch\f1\fs24\lang1033{\ltrch\loch\f1 knowledge about the {\b params} for your drives, you can almost safely assume that you can push things a bit...}
\par \pard\plain \s1{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\afs24\lang255\ltrch\dbch\af5\afs24\langfe255\loch\f1\fs24\lang1033\rtlch\af3\afs20\ltrch\dbch\af3\afs20\loch\f3\fs20 {\ltrch\loch\f3 On customers' computers, as well as my own, I start with /hda (or whatever) and try hdparm -X66 /dev/hda  - then work my way up - using 67,68.69 and 70. 70 is for UDMA6...69 for 5, 68 for 4 (you get the picture)...}
\par {\ltrch\loch\f3 Enabling DMA is simple - hdparm -d1 /dev/hda}
\par {\ltrch\loch\f3 You CAN get a bit more elaborate as well - attached is my HDPARM doco...}
\par {\ltrch\loch\f3 Overall, it's a matter of tweaking per drive, per system. When you find the right mix, mate, it's a beaut to have all the drives justa hummin!}
\par {\ltrch\loch\f3 --}
\par {\ltrch\loch\f3 NAME}
\par \pard\plain \s1{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\afs24\lang255\ltrch\dbch\af5\afs24\langfe255\loch\f1\fs24\lang1033{\ltrch\loch\f1   {\b  hdparm} - get/set hard disk parameters}
\par \pard\plain \s1{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\afs24\lang255\ltrch\dbch\af5\afs24\langfe255\loch\f1\fs24\lang1033\rtlch\af3\afs20\ltrch\dbch\af3\afs20\loch\f3\fs20 {\ltrch\loch\f3 SYNOPSIS}
\par {\ltrch\loch\f3hdparm [ flags ] [device] ..}
\par {\ltrch\loch\f3 DESCRIPTION}
\par {\ltrch\loch\f3hdparm  provides\tab  a command line interface to various hard}
\par {\ltrch\loch\f3disk ioctls supported by the stock  Linux  ATA/IDE  device}
\par {\ltrch\loch\f3driver  subsystem.   Some  options may work correctly only}
\par {\ltrch\loch\f3with the latest kernels.\tab  For best results, compile hdparm}
\par {\ltrch\loch\f3with the include files from the latest kernel source code.}
\par \pard\plain \s1{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\afs24\lang255\ltrch\dbch\af5\afs24\langfe255\loch\f1\fs24\lang1033 
\par \pard\plain \s1{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\afs24\lang255\ltrch\dbch\af5\afs24\langfe255\loch\f1\fs24\lang1033\rtlch\af3\afs20\ltrch\dbch\af3\afs20\loch\f3\fs20 {\ltrch\loch\f3 OPTIONS}
\par {\ltrch\loch\f3When no flags are given, -acdgkmnru is assumed.}
\par {\ltrch\loch\f3-a Get/set sector  count  for  filesystem  read-ahead.  \tab   This  is\tab used to improve performance in sequential reads of large  files,  by  prefetching  additional blocks  in anticipation of them being needed by the running  task In the curren
t\tab kernel version (2.0.10)\tab this  has  a default setting of 8 sectors (4KB).  This value seems good for most purposes, but in a system where most file accesses are random seeks, a smaller setting might provide better  per\-formance.\tab   Also, many IDE drives al
so have a separate built-in read-ahead function, which alleviates the need for a filesystem read-ahead in many situa\-tions.}
\par

Re: [newbie] hdparm and DMA

2003-01-21 Thread Richard Gelling
/sbin/hdparm -c1 -d1 -k1 /dev/hda

put that line in rc.local file to make it permanent


Richard G.

At 15:39 21/01/2003 +, you wrote:

I definately have DMA enabled in bios.

But how do I get hdparm to check and enable DMA.

my hard drive is /dev/hda

John

--
John Richard Smith
[EMAIL PROTECTED]




Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com


Registered Linux User: 256848


__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] hdparm and DMA

2003-01-21 Thread John Richard Smith
I definately have DMA enabled in bios.

But how do I get hdparm to check and enable DMA.

my hard drive is /dev/hda

John

--
John Richard Smith
[EMAIL PROTECTED] 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hdparm?

2002-11-28 Thread Derek Jennings
On Wednesday 27 Nov 2002 8:26 pm, Anne Wilson wrote:
> I tried to remember how to use hdparm to examine drive settings.  I opened
> a root console, then typed hdparm - command not found.  I tried man hdparm
> - no manual entry for hdparm.
>
> Am I finally, totally over the top?  If that wasn't the command, what was?
>
> Anne

urpmi hdparm


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hdparm?

2002-11-28 Thread Anne Wilson
On Thursday 28 Nov 2002 2:04 pm, Daniel Anderson wrote:
> On Wednesday 27 November 2002 16:31, Charlie wrote:
> > On November 27, 2002 01:26 pm, Anne Wilson wrote:
> > > I tried to remember how to use hdparm to examine drive settings.  I
> > > opened a root console, then typed hdparm - command not found.  I tried
> > > man hdparm - no manual entry for hdparm.
> > >
> > > Am I finally, totally over the top?  If that wasn't the command, what
> > > was?
> > >
> > > Anne
> >
> > Dunno but:
> >
> > [root@hxx-xx-xxx-xxx nanook]#locate hdparm
> > /usr/share/webmin/fdisk/apply_hdparm.cgi
> > /usr/share/webmin/fdisk/edit_hdparm.cgi
> > /etc/sysconfig/apm-scripts/resume.d/1hdparm
> > /etc/sysconfig/apm-scripts/resume.d/9hdparm
> > /etc/sysconfig/apm-scripts/suspend.d/2hdparm
> >
> > Since I've never bothered with it on this old crate I can't help any
> > further. Sorry.
> >
> > Regards;
>
> It's supposed to be on install cd 1, with 8.2 powerpack anyway, but is not
> there, so it doesn't get installed.
> Dan

The text file is in /proc, and has all the info.  (Thanks, Stephen).

Anne


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hdparm?

2002-11-28 Thread Daniel Anderson
On Wednesday 27 November 2002 16:31, Charlie wrote:
> On November 27, 2002 01:26 pm, Anne Wilson wrote:
> > I tried to remember how to use hdparm to examine drive settings.  I
> > opened a root console, then typed hdparm - command not found.  I tried
> > man hdparm - no manual entry for hdparm.
> >
> > Am I finally, totally over the top?  If that wasn't the command, what
> > was?
> >
> > Anne
>
> Dunno but:
>
> [root@hxx-xx-xxx-xxx nanook]#locate hdparm
> /usr/share/webmin/fdisk/apply_hdparm.cgi
> /usr/share/webmin/fdisk/edit_hdparm.cgi
> /etc/sysconfig/apm-scripts/resume.d/1hdparm
> /etc/sysconfig/apm-scripts/resume.d/9hdparm
> /etc/sysconfig/apm-scripts/suspend.d/2hdparm
>
> Since I've never bothered with it on this old crate I can't help any
> further. Sorry.
>
> Regards;


It's supposed to be on install cd 1, with 8.2 powerpack anyway, but is not 
there, so it doesn't get installed.
Dan

-- 
  9:02am  up 2 days, 14:46,  1 user,  load average: 0.11, 0.12, 0.06



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hdparm?

2002-11-27 Thread Len Lawrence
On Wed, 27 Nov 2002 20:26:46 +
Anne Wilson <[EMAIL PROTECTED]> wrote:

> I tried to remember how to use hdparm to examine drive settings.  I opened a 
> root console, then typed hdparm - command not found.  I tried man hdparm - no 
> manual entry for hdparm.
> 
> Am I finally, totally over the top?  If that wasn't the command, what was?
No, you still have all your marbles Anne.  I found it in /sbin on an 8.1
installation but nowhere in 8.2 or 9.0.  It must be in some package on the
installation disk(s).  You could try rpm -q --whatprovides on the CDs.  No 
time to check that myself. 
-- 
Len Lawrence




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hdparm?

2002-11-27 Thread Charlie
On November 27, 2002 01:26 pm, Anne Wilson wrote:
> I tried to remember how to use hdparm to examine drive settings.  I opened
> a root console, then typed hdparm - command not found.  I tried man hdparm
> - no manual entry for hdparm.
>
> Am I finally, totally over the top?  If that wasn't the command, what was?
>
> Anne

Dunno but:

[root@hxx-xx-xxx-xxx nanook]#locate hdparm
/usr/share/webmin/fdisk/apply_hdparm.cgi
/usr/share/webmin/fdisk/edit_hdparm.cgi
/etc/sysconfig/apm-scripts/resume.d/1hdparm
/etc/sysconfig/apm-scripts/resume.d/9hdparm
/etc/sysconfig/apm-scripts/suspend.d/2hdparm

Since I've never bothered with it on this old crate I can't help any further. 
Sorry.

Regards;
-- 
Charlie
Edmonton,AB,Canada
Registered user 244963 at http://counter.li.org
Dear Miss Manners:
My home economics teacher says that one must never place one's
elbows on the table.  However, I have read that one elbow, in between
courses, is all right.  Which is correct?

Gentle Reader:
For the purpose of answering examinations in your home economics
class, your teacher is correct.  Catching on to this principle of
education may be of even greater importance to you now than learning
correct current table manners, vital as Miss Manners believes that is.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hdparm?

2002-11-27 Thread Anne Wilson
On Wednesday 27 Nov 2002 8:36 pm, Alexander Rayborn wrote:
> You have to use this as root... So make sure you're root when you try to
> run this.  Aside from that, make sure the hdparm package is installed.
> Mandrake 9.0 doesn't install it by default.

Doh! - never thought of that

>
> Afterwards, the command is:
>
> Hdparm -Tt /dev/hda (or whatever your hard drive is)

Thanks

Anne



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [newbie] hdparm?

2002-11-27 Thread Alexander Rayborn
You have to use this as root... So make sure you're root when you try to
run this.  Aside from that, make sure the hdparm package is installed.
Mandrake 9.0 doesn't install it by default.

Afterwards, the command is:

Hdparm -Tt /dev/hda (or whatever your hard drive is)

--Alexander

> -Original Message-
> From: Guilherme Cirne [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, November 27, 2002 2:33 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [newbie] hdparm?
> 
> 
> On Wednesday 27 November 2002 18:26, Anne Wilson wrote:
> > I tried to remember how to use hdparm to examine drive settings.  I 
> > opened a root console, then typed hdparm - command not 
> found.  I tried 
> > man hdparm - no manual entry for hdparm.
> >
> > Am I finally, totally over the top?  If that wasn't the 
> command, what 
> > was?
> >
> > Anne
> 
> Just checked it here and the same is happening to me. Anybody know a 
> solution?
> 
> -- 
> Guilherme Cirne
> [EMAIL PROTECTED]
> 
> 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hdparm?

2002-11-27 Thread Guilherme Cirne
On Wednesday 27 November 2002 18:26, Anne Wilson wrote:
> I tried to remember how to use hdparm to examine drive settings.  I
> opened a root console, then typed hdparm - command not found.  I tried
> man hdparm - no manual entry for hdparm.
>
> Am I finally, totally over the top?  If that wasn't the command, what
> was?
>
> Anne

Just checked it here and the same is happening to me. Anybody know a 
solution?

-- 
Guilherme Cirne
[EMAIL PROTECTED]


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] hdparm?

2002-11-27 Thread Anne Wilson
I tried to remember how to use hdparm to examine drive settings.  I opened a 
root console, then typed hdparm - command not found.  I tried man hdparm - no 
manual entry for hdparm.

Am I finally, totally over the top?  If that wasn't the command, what was?

Anne


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hdparm and cd drive

2002-10-02 Thread Tom Brinkman

On Tuesday October 1 2002 08:59 pm, L.V.Gandhi wrote:
> On Monday 30 Sep 2002 10:44 pm, Tom Brinkman wrote:
> > (my ide burner which has scsi emulation and is dev/scd0 or hdd, dma
> > enabled)
> > tom# hdparm -t /dev/scd0
> > /dev/scd0 not supported by hdparm
> >  tom# hdparm -t /dev/hdd
> >
> > tom# '
> > /dev/hdd:
> >  Timing buffered disk reads:  read() hit EOF - device too small
>
> How these two times get two different output.
> Initially I didn't have /dev/hdd. Then I did symlink with scd0 as
> [root@localhost lvgandhi]# ln -s /dev/scsi/host0/bus0/target0/lun0/cd
> /dev/hdd still I get as follows.
> [root@localhost lvgandhi]# hdparm -v /dev/hdd
> /dev/hdd not supported by hdparm
> What to do?

Nothin to do, as the mesg says, hdparm does not support scsi 
devices, only ide. Evidently, as my 'hdparm -t /dev/hdd' error shows, 
it won't work with ide devices that are scsi emulated either. Why or 
how hdparm is able to set the burner to use dma... I don't understand 
myself.  You didn't need the symlink, you might want to remove it. ide 
burners are setup as both ide (/dev/hdd) and scsi (/dev/scd0) by the 
append, hdd=ide-scsci

> Further how to know my cdrw HP9100c will be ok with dma?

   Trial'n error. Set it to dma enabled and see if there are any 
problems.  There shouldn't be.  See 'info hdparm', it's one of the 
better written man pages.
-- 
Tom Brinkman  Corpus Christi, Texas



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hdparm and cd drive

2002-10-01 Thread s

On Monday 30 September 2002 12:14 pm, Tom Brinkman wrote:

> > > > Your comments bring up a question...
> > > >
> > > > In Windows, enabling DMA for CD-ROMs (and it variants) is
> > > > considered a 'no-no' and will cause problems most every time.
> > >
> > > really? my DVD wants DMA to work at all in winders
> > > cause it is much faster
> >
> > I've tried to check mine a couple of times (when this topic comes
> > up) and hdparm always says it's not support on my drives if I use
> > /dev/scdX and if I use /dev/hdx I get input output errors.  Could
> > this be because I have them set up under scsi emulation?  Any
> > other thoughts?
> > thanks,
> > -s
>
>I believe so, but you should still be able to enable dma.

> tom# hdparm -t /dev/hdd
> /dev/hdd:
>  Timing buffered disk reads:  read() hit EOF - device too small
>
> (my ide cdrom, no scsi emulation)
>  tom# hdparm -t /dev/hdc
> /dev/hdc:
>  Timing buffered disk reads:  64 MB in 23.96 seconds =  2.67 MB/sec
>
>  tom# hdparm -d0 /dev/hdc (turn off dma)
> /dev/hdc:
>  setting using_dma to 0 (off)
>  using_dma=  0 (off)
>
>  tom# hdparm -t /dev/hdc
> /dev/hdc:
>  Timing buffered disk reads:  64 MB in 32.68 seconds =  1.96 MB/sec

> hdparm doesn't support testing scsi drives (only ide), I suspect
> the performance increase with dma enabled is similar for scsi
> emulated drives.

Thanks for the info and running those tests for me.  Interesting 
stuff.  
-s



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hdparm and cd drive

2002-09-30 Thread Tom Brinkman

On Monday September 30 2002 11:19 am, s wrote:
> On Monday 30 September 2002 09:55 am, et wrote:
> > On Monday 30 September 2002 10:26 am, you wrote:
> > > Tom,
> > >
> > > Your comments bring up a question...
> > >
> > > In Windows, enabling DMA for CD-ROMs (and it variants) is
> > > considered a 'no-no' and will cause problems most every time.
> >
> > really? my DVD wants DMA to work at all in winders
> > cause it is much faster
>
> I've tried to check mine a couple of times (when this topic comes up)
> and hdparm always says it's not support on my drives if I use
> /dev/scdX and if I use /dev/hdx I get input output errors.  Could
> this be because I have them set up under scsi emulation?  Any other
> thoughts?
> thanks,
> -s

   I believe so, but you should still be able to enable dma. 

(my ide burner which has scsi emulation and is dev/scd0 or hdd, dma 
enabled)
tom# hdparm -t /dev/scd0
/dev/scd0 not supported by hdparm
 tom# hdparm -t /dev/hdd

tom# hdparm -t /dev/hdd
/dev/hdd:
 Timing buffered disk reads:  read() hit EOF - device too small

(my ide cdrom, no scsi emulation)
 tom# hdparm -t /dev/hdc
/dev/hdc:
 Timing buffered disk reads:  64 MB in 23.96 seconds =  2.67 MB/sec

 tom# hdparm -d0 /dev/hdc (turn off dma)
/dev/hdc:
 setting using_dma to 0 (off)
 using_dma=  0 (off)

 tom# hdparm -t /dev/hdc
/dev/hdc:
 Timing buffered disk reads:  64 MB in 32.68 seconds =  1.96 MB/sec

   I used the same data CD for all the tests, ran 'em several times, 
included results above that were about average.  So for the ide cdrom 
w/no scsi emulation, dma increases IO by ~36%.  While hdparm doesn't 
support testing scsi drives (only ide), I suspect the performance 
increase with dma enabled is similar for scsi emulated drives.

-- 
Tom Brinkman  Corpus Christi, Texas



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hdparm and cd drive

2002-09-30 Thread Technoslick

Thanks Tom!

You answered my questions. Thanks!

Please see my other post as to what some of my machines are doing. As 
for your comment on never having a problem with using DMA access on 
CD-ROMs before, under any version of Windows, I have to wonder how I 
could have been working with the wrong systems and system makers in the 
past. ;-) I never could get Win 95-98 to accept this setting as of up to 
a few years ago, when I was actively providing close systems for sale. 
Now, I see on my XP machine that it allowed one of my CD-RWs to go that 
way, but not the newer DVD. Maybe its really all a matter of the mobo's 
I have been using recently, and the fact that much of my stuff has long 
since been called "state of the art".

My reference to "just using an IRQ to gain the attention of the CPU?" is 
just my slang description for what an IRQ does. Interrupts are nothing 
more than exclusive (most of the time) doorways to speaking to the CPU. 
However, using DMA is not always possible, even if allowed to do so. 
Windows 98 SE has an aversion to disabling the use of an IRQ in your 
BIOS for your video card. It will word, but also become unstable and 
sometimes not allow the system to properly shut-down. This is most 
obviously a Windows-problem, not a hardware one, but this is my past and 
where I am coming from. I probably should have helped you some by being 
more specific on asking what DMA will do for a CD-ROM-like device. I am 
aware of the speed increase and the by-passing the CPU. I really wasn't 
asking for the definition of the terms, but the results and reliability 
of doing this. My mistake. I should have been more clear.

As for the Linux info, thanks a lot! That's really helpful stuff. I will 
also check the on-line docs and do some research on it. I will have to 
play with my Linux box to see if DMA access is enabled for the slower, 
older CD-RW drive it has in it and if it performs properly. I am really 
looking forward to all the neat things that I can do in Linux that 
Windows always hid from me. ;-)

Thanks again for response.

T


Tom Brinkman wrote:
> On Monday September 30 2002 09:26 am, Technoslick wrote:
> 
>>Tom,
>>
>>Your comments bring up a question...
>>
>>In Windows, enabling DMA for CD-ROMs (and it variants) is considered
>>a 'no-no' and will cause problems most every time. In many cases,
>>Windows will automatically deactivate it if you set it on. How is it
>>different in the Linux O/S, and what advantages are received by using
>>Direct Memory Access in Linux over just using an IRQ to gain the
>>attention of the CPU?
> 
> 
>  DMA has to do with faster disk IO. I don't know what you mean by 
> "just using an IRQ to gain the attention of the CPU?" On my mobo, as 
> with most all of 'em, the ide1 (second ide) is on IRQ 15. Enabling or 
> disabling DMA doesn't change this.  IO improvement such as DMA is very 
> important since all drives, ide or scsi run on the 33 mhz PCI bus. Also 
> PIO modes (no DMA) go thru the cpu, DMA bypasses the cpu and does data 
> tranfers directly to memory.
> 
> The various types of DMA, eg, for my CD drive, (hdparm -i)
> UDMA modes: udma0 udma1 *udma2,  employ some gimmicks to improve goin 
> thru the 33 mhz PCI bus.  Much the same as AGP compared to PCI for 
> video.  Therorectically AGP doubles it from 33 to 66 mhz, actually it 
> provides less than 10% boost.  It's more important for disk IO tho.  
> While udma2 might get 12mb/sec, udma5 will get around 40mb/sec (hdparm 
> -t). 'Course that's for harddrives. Enabling DMA for Cd drives won't be 
> near as much, but it's still better than without it  if your 
> hardware is capable.
> 
>From 'info hdparm'
> "Using DMA nearly always gives the best performance, with fast I/O  
> throughput and low CPU usage.  But there are at least a few 
> configurations of chipsets and drives for which  DMA  does not make 
> much of a difference, or may even slow things down (on really messed up 
> hardware!).  Your mileage may vary."
> 
>   I dual boot W98 (rarely ;), it sets all my drives including my CD 
> drives to DMA. I can't remember any Windoze version or combo of 
> hardware I've used in the past that didn't enable DMA.  I do remember 
> some Winsux burning software that disabled DMA, but that's a software 
> deficiency.
> 
> As to "How is it different in the Linux O/S". Memory access, 
> management and VM in Linux is much different than in Windoze. It's also 
> a moving target, with newer Linux kernels striving to constantly 
> improve it.  Google "linux memory management", or search the kernel 
> mailing list. This might be a good place to start  http://linux-mm.org/  
> 
> 
> 
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hdparm and cd drive

2002-09-30 Thread Technoslick

et wrote:



> really? my DVD wants DMA to work at all in winders
> cause it is much faster
> 



Yes, *really*. :-)
How about some real life examples?

Machine #1: XP Pro
2nd IDE Channel - Primary - Liteon DVD-ROM LTD163
Secondary - Philips PCRW404 (32/16X/4X)

XP auto selects off for DVD drive
CD-RW drive auto selects DMA on and its works fine.

Machine #2: Win 98 SE
2nd IDE Channel - Primary - Philips PCRW2412/17 (40X/24X/12X)
Secondary - "nada"

DMA off in Device Manager. Checking it off to be "on" not only doesn't 
work, but also make the entire Secondary IDE Channel unusable.

Machine #3: Win 95
2nd IDE Channel - Primary - Goldstar GCD-R542B (4X)
Secondary - "nada"
Win 95 refuses to allow the enabling of DMA for this CD-ROM drive.

Machine #4: Win 2000 Pro
2nd IDE Channel - Primary - Matshita UTDA310 (CD-RW drive in laptop - 
hot-swap module)
Win 2K auto selects DMA off.

Machine #5: MDK 8.2
2nd IDE Channel - Primary - Acer CR6202A (6X/2X/2X)
I have yet to check what MDK is doing with it, however I know that under 
every Windows version I have run it in, it either will fail under DMA or 
not allowed access to its use.

These aren't even all of my working machines, but I think that you can 
see where I am coming from. And, I haven't even thought about those of 
my clients over the last 15 years...

Not all O/S's, hardware configurations or drives (regardless of type) 
will  allow CD/DVR/DVDR/CDR/CDRW to use DMA. Not necessarily all newer 
drives, either. Consequently, I just haven't thought about going there. 
Tom's comment about its use in Linux intrigued me and made me wonder if 
this particular OS can get drives to use it where Windows won't/can't.

I'd like to hear from anyone using the Philips-brand CD-RWs, or an older 
Acer 6202A CD-RW drive with DMA access enabled under Linux. If Linux 
will drive these drives reliably (very important) faster with DMA 
enabled, I am all for it!

TIA,
T





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hdparm and cd drive

2002-09-30 Thread Tom Brinkman

On Monday September 30 2002 09:26 am, Technoslick wrote:
> Tom,
>
> Your comments bring up a question...
>
> In Windows, enabling DMA for CD-ROMs (and it variants) is considered
> a 'no-no' and will cause problems most every time. In many cases,
> Windows will automatically deactivate it if you set it on. How is it
> different in the Linux O/S, and what advantages are received by using
> Direct Memory Access in Linux over just using an IRQ to gain the
> attention of the CPU?

 DMA has to do with faster disk IO. I don't know what you mean by 
"just using an IRQ to gain the attention of the CPU?" On my mobo, as 
with most all of 'em, the ide1 (second ide) is on IRQ 15. Enabling or 
disabling DMA doesn't change this.  IO improvement such as DMA is very 
important since all drives, ide or scsi run on the 33 mhz PCI bus. Also 
PIO modes (no DMA) go thru the cpu, DMA bypasses the cpu and does data 
tranfers directly to memory.

The various types of DMA, eg, for my CD drive, (hdparm -i)
UDMA modes: udma0 udma1 *udma2,  employ some gimmicks to improve goin 
thru the 33 mhz PCI bus.  Much the same as AGP compared to PCI for 
video.  Therorectically AGP doubles it from 33 to 66 mhz, actually it 
provides less than 10% boost.  It's more important for disk IO tho.  
While udma2 might get 12mb/sec, udma5 will get around 40mb/sec (hdparm 
-t). 'Course that's for harddrives. Enabling DMA for Cd drives won't be 
near as much, but it's still better than without it  if your 
hardware is capable.

   From 'info hdparm'
"Using DMA nearly always gives the best performance, with fast I/O  
throughput and low CPU usage.  But there are at least a few 
configurations of chipsets and drives for which  DMA  does not make 
much of a difference, or may even slow things down (on really messed up 
hardware!).  Your mileage may vary."

  I dual boot W98 (rarely ;), it sets all my drives including my CD 
drives to DMA. I can't remember any Windoze version or combo of 
hardware I've used in the past that didn't enable DMA.  I do remember 
some Winsux burning software that disabled DMA, but that's a software 
deficiency.

As to "How is it different in the Linux O/S". Memory access, 
management and VM in Linux is much different than in Windoze. It's also 
a moving target, with newer Linux kernels striving to constantly 
improve it.  Google "linux memory management", or search the kernel 
mailing list. This might be a good place to start  http://linux-mm.org/  
-- 
Tom Brinkman  Corpus Christi, Texas


> Sorry for the technical question, but I can't help but ask now that
> you have mentioned this. :-)
>
> T
>
> Tom Brinkman wrote:
> > On Sunday September 29 2002 08:59 pm, L.V.Gandhi wrote:
> >>Should hdparm be run for a cdrom device say /dev/hdd after it is
> >>mounted? I have HP 9100c cd writer.
> >>Enabling dma for it is worthwhile or not?
> >
> >  Yes, if it doesn't cause problems.  Somewhere during the 9.0
> > beta process, dma ceased to be automatically enabled for both my
> > cdrom and cd-rw.  I added these lines to the end of
> > /etc/rc.d/rc.local and now all is well, no dma problems.
> >
> > hdparm -d1 /dev/hdc
> > hdparm -d1 /dev/hdd
> >
> > (Then run rc.local to make the changes happen, eg, './rc.local'  On
> > subsequent boots, dma will be enabled automatically)
> >
> > So if hdparm doesn't show dma enabled, you may need to do the
> > same rc.local edit. For example, (hdc is my cdrom)
> > tom$ su
> > Password:
> >  tom# hdparm -v /dev/hdc
> >
> > /dev/hdc:
> >  HDIO_GET_MULTCOUNT failed: Invalid argument
> >  IO_support   =  1 (32-bit)
> >  unmaskirq=  1 (on)
> >  using_dma=  1 (on)
> >  keepsettings =  0 (off)
> >  readonly =  1 (on)
> >  readahead=  8 (on)
> >  HDIO_GETGEO failed: Invalid argument
> >
> > The failed mesgs are normal for a CD drive, they apply to
> > harddrives.






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hdparm and cd drive

2002-09-30 Thread s

On Monday 30 September 2002 09:55 am, et wrote:
> On Monday 30 September 2002 10:26 am, you wrote:
> > Tom,
> >
> > Your comments bring up a question...
> >
> > In Windows, enabling DMA for CD-ROMs (and it variants) is
> > considered a 'no-no' and will cause problems most every time.
>
> really? my DVD wants DMA to work at all in winders
> cause it is much faster

I've tried to check mine a couple of times (when this topic comes up) 
and hdparm always says it's not support on my drives if I use 
/dev/scdX and if I use /dev/hdx I get input output errors.  Could 
this be because I have them set up under scsi emulation?  Any other 
thoughts?
thanks,
-s



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] hdparm and cd drive

2002-09-29 Thread L.V.Gandhi

Should hdparm be run for a cdrom device say /dev/hdd after it is mounted?
I have HP 9100c cd writer. 
Enabling dma for it is worthwhile or not?
-- 
L.V.Gandhi
203, Soundaryalahari Apartments, Lawsons Bay colony, Visakhapatnam, 530017
MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA










Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hdparm not in Mandrake 8.2?

2002-08-14 Thread Randy Kramer

civileme wrote:
> > [EMAIL PROTECTED] wrote:
> >> 1. Has hdparm been superceded by something else?  What?

> No that is what is known as a packaging error.  You can download hdparm
> from any Mandrake mirror  --just DL the 8.2 version.

Civileme,

Thanks!

Randy Kramer



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hdparm not in Mandrake 8.2?

2002-08-14 Thread John Richard Smith

civileme wrote:

> Raffaele Belardi wrote:
>
>> It's on cd 3 of the 8.2 download edition. Just use rpmdrake's 'find' 
>> feature.
>>
>> raffaele
>>
>> [EMAIL PROTECTED] wrote:
>>
>>> I just read a post on either newbie or expert about somebody who did 
>>> not
>>> have hdparm on their Mandrake 8.2 install.  I just went and checked and
>>> I don't have it either.  I made a fairly complete install so I'm
>>> surprised.  (Understand -- it might be on the CDs, but I think I
>>> selected every major "group" of stuff for installation, and IIRC, dug
>>> for a few things (like nedit) that weren't installed "by default".)
>>>
>>> Questions:
>>>
>>> 1. Has hdparm been superceded by something else?  What?
>>>
>>> 2. Assuming that hdparm has been superceded by something else, do the
>>> "announcements" of new releases of Mandrake typically mention / explain
>>> changes like this?  Where should I look for this kind of information?
>>>
>>
>>
>>
>> 
>>
>> Want to buy your Pack or Services from MandrakeSoft? Go to 
>> http://www.mandrakestore.com
>>
> No that is what is known as a packaging error.  You can download 
> hdparm from any Mandrake mirror  --just DL the 8.2 version.
>
> Civileme
>
>
>
It's on cd3 M8.2 , I was using the wrong spelling.
John

-- 
John Richard Smith
[EMAIL PROTECTED] 






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hdparm not in Mandrake 8.2?

2002-08-14 Thread civileme

Raffaele Belardi wrote:

> It's on cd 3 of the 8.2 download edition. Just use rpmdrake's 'find' 
> feature.
>
> raffaele
>
> [EMAIL PROTECTED] wrote:
>
>> I just read a post on either newbie or expert about somebody who did not
>> have hdparm on their Mandrake 8.2 install.  I just went and checked and
>> I don't have it either.  I made a fairly complete install so I'm
>> surprised.  (Understand -- it might be on the CDs, but I think I
>> selected every major "group" of stuff for installation, and IIRC, dug
>> for a few things (like nedit) that weren't installed "by default".)
>>
>> Questions:
>>
>> 1. Has hdparm been superceded by something else?  What?
>>
>> 2. Assuming that hdparm has been superceded by something else, do the
>> "announcements" of new releases of Mandrake typically mention / explain
>> changes like this?  Where should I look for this kind of information?
>>
>
>
>
>
>
>Want to buy your Pack or Services from MandrakeSoft? 
>Go to http://www.mandrakestore.com
>
No that is what is known as a packaging error.  You can download hdparm 
from any Mandrake mirror  --just DL the 8.2 version.

Civileme






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hdparm not in Mandrake 8.2?

2002-08-14 Thread Ronald J. Hall

On Wednesday 14 August 2002 12:09 pm, you wrote:
> I just read a post on either newbie or expert about somebody who did not
> have hdparm on their Mandrake 8.2 install.  I just went and checked and
> I don't have it either.  I made a fairly complete install so I'm
> surprised.  (Understand -- it might be on the CDs, but I think I
> selected every major "group" of stuff for installation, and IIRC, dug
> for a few things (like nedit) that weren't installed "by default".)

Hi Randy. You might think this odd, but I've been on this list for a while 
now, and I still label myself "newbie". 10 years from now, I think I'll still 
label myself "newbie". By choice. 

Full installation is never what it seems. I couldn't compile programs after a 
full install - that surely doesn't seem right, does it? I had to install a 
couple more RPMs thru the software manager before I could.

Hdparm was not on my powerpack version of 8.2 either. I went to RPMnet and 
d/l'ed it from there. This was talked about on the list. There is a 
difference in the download and Powerpack versions fo 8.2. Best way to stay 
ahead and keep informed is to keep that "newbie" mentality and subscribe to 
the newbie, expert and cooker mailing lists. Lurk a lot, absorb all the 
wisdom that flows thru here, and post only when you really need help, or can 
help someone else. Do NOTHING but lurk on the cooker list. 

Hope this helps!

-- 
  /\
   Dark>

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] hdparm not in Mandrake 8.2?

2002-08-14 Thread Randy Kramer

I just read a post on either newbie or expert about somebody who did not
have hdparm on their Mandrake 8.2 install.  I just went and checked and
I don't have it either.  I made a fairly complete install so I'm
surprised.  (Understand -- it might be on the CDs, but I think I
selected every major "group" of stuff for installation, and IIRC, dug
for a few things (like nedit) that weren't installed "by default".)

Questions:

1. Has hdparm been superceded by something else?  What?

2. Assuming that hdparm has been superceded by something else, do the
"announcements" of new releases of Mandrake typically mention / explain
changes like this?  Where should I look for this kind of information?

Discussion: Although I'm still a newbie, I think there is a core of
programs / utilities that should be installed with every Linux system
(except special purpose or embedded Linuxes, like SNF or similar), and 
hdparm sounds like one of those.  If one of those "core" utilities is
moved to someplace from where it is less likely to be installed (or
removed entirely), that should be announced.  I expect to "upgrade" my
Linux boxes occasionally as new versions of a distro (Mandrake) are
released, but I do it by wiping things like /, /usr, etc. off my disk
(preserving things like /home) and then doing a complete reinstall.  I
would like as few surprises as possible, except for the improvements
(but even then, I'd like to know what to expect).

Randy Kramer



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] hdparm

2001-06-13 Thread Peter Ruskin

On Wednesday 13 June 2001 00:46, civileme wrote:
> On Tuesday 12 June 2001 16:50, Scott Pletcher wrote:
> > Hi All,
> > I've got some troublesome readings from two identical hard
> > drives set up the same.  Does anyone know why they are
> > performing so differently?  I suppose hda may be bad, but I
> > was hoping to find some other way to test this.  Thanks!
> >
> > Scott
> >
> > THE DATA
> >
> > Here are the hard drives:
> > hda: Maxtor 52049H4, ATA DISK drive (master ide0)
> > hdb: Maxtor 52049H4, ATA DISK drive (slave ide0)
> >
> > Running hdparm I get:
> > [root@haldane scott]# hdparm -Tt /dev/hda
> >
> > /dev/hda:
> >  Timing buffer-cache reads:   128 MB in  0.87 seconds =147.13
> > MB/sec Timing buffered disk reads:  64 MB in 31.17 seconds =
> > 2.05 MB/sec
> >
> > [root@haldane scott]# hdparm -Tt /dev/hdb
> >
> > /dev/hdb:
> >  Timing buffer-cache reads:   128 MB in  0.85 seconds =150.59
> > MB/sec Timing buffered disk reads:  64 MB in  2.21 seconds =
> > 28.96 MB/sec [root@haldane scott]# hdparm /dev/hda
> >
> >
> > Here are the settings:
> > /dev/hda:
> >  multcount= 16 (on)
> >  I/O support  =  3 (32-bit w/sync)
> >  unmaskirq=  0 (off)
> >  using_dma=  1 (on)
> >  keepsettings =  0 (off)
> >  nowerr   =  0 (off)
> >  readonly =  0 (off)
> >  readahead=  8 (on)
> >  geometry = 2482/255/63, sectors = 39882528, start = 0
> > [root@haldane scott]# hdparm /dev/hdb
> >
> > /dev/hdb:
> >  multcount= 16 (on)
> >  I/O support  =  3 (32-bit w/sync)
> >  unmaskirq=  0 (off)
> >  using_dma=  1 (on)
> >  keepsettings =  0 (off)
> >  nowerr   =  0 (off)
> >  readonly =  0 (off)
> >  readahead=  8 (on)
> >  geometry = 2491/255/63, sectors = 40020624, start = 0
>
> if you are running 8.0, you might try this
>
> http://perso.mandrakesoft.com/~civileme/drakopt
>
> download the file drivedb2 and place it at /.drivedb
> download the file drakopt2 and put it anywhere
>
> Open a terminal
>
> log in to the directory where you downloaded drakopt2
>
> type
>
> ./drakopt2
>
> When it completes, your drives should be tuned.
>
> Drive hda seems to have a higher count of bad sectors from the
> factory, but draw no conclusions til you try drakopt.
>
> hdparm to have meaning should be run three times in a row
> without other programs perking along.  The capital T on the test
> need not be used since it simply measures the bandwidth of your
> memory buffer.
>
Nice program Civileme, but...
[14:43 root@penguin:/home/peter]# ./drakopt2
   Welcome to DrakOPT
Traceback (most recent call last):
  File "./drakopt2", line 104, in ?
if uname[:2]!='2.4':
NameError: There is no variable named 'uname'

I know I have a 2.4 kernel so I comment lines 104-109.

Then it runs and gives...
Traceback (most recent call last):
File "./drakopt2", line 164, in ?
input=open('/.drivedb','r')
IOError: [Errno 2] No such file or directory: '/.drivedb'

So `mv /.drivedb2 /.drivedb` as root gets it working but it can't find my 
drives in the database.  I have...
Maxtor 96147H6 
Maxtor 96098H8 
Maxtor 54098U8  
They are listed in  /.drivedb but in uppercase, so I copied and added the 
existing enties in proper case.  Now it works OK.  I suggest you add code to 
check the database case-insensitive -- otherwise you'll end up with a huge 
file.
-- 
Linux Mandrake release 8.0 (Traktopel) for i586
  Linux 2.4.3-20mdk-win4lin-pnr, KDE: 2.1.2, Qt: 2.3.0
   Uptime 16 hours 0 minutes




Re: [newbie] hdparm

2001-06-12 Thread civileme

On Tuesday 12 June 2001 16:50, Scott Pletcher wrote:
> Hi All,
> I've got some troublesome readings from two identical hard
> drives set up the same.  Does anyone know why they are
> performing so differently?  I suppose hda may be bad, but I
> was hoping to find some other way to test this.  Thanks!
>
> Scott
>
> THE DATA
>
> Here are the hard drives:
> hda: Maxtor 52049H4, ATA DISK drive (master ide0)
> hdb: Maxtor 52049H4, ATA DISK drive (slave ide0)
>
> Running hdparm I get:
> [root@haldane scott]# hdparm -Tt /dev/hda
>
> /dev/hda:
>  Timing buffer-cache reads:   128 MB in  0.87 seconds =147.13
> MB/sec Timing buffered disk reads:  64 MB in 31.17 seconds = 
> 2.05 MB/sec
>
> [root@haldane scott]# hdparm -Tt /dev/hdb
>
> /dev/hdb:
>  Timing buffer-cache reads:   128 MB in  0.85 seconds =150.59
> MB/sec Timing buffered disk reads:  64 MB in  2.21 seconds =
> 28.96 MB/sec [root@haldane scott]# hdparm /dev/hda
>
>
> Here are the settings:
> /dev/hda:
>  multcount= 16 (on)
>  I/O support  =  3 (32-bit w/sync)
>  unmaskirq=  0 (off)
>  using_dma=  1 (on)
>  keepsettings =  0 (off)
>  nowerr   =  0 (off)
>  readonly =  0 (off)
>  readahead=  8 (on)
>  geometry = 2482/255/63, sectors = 39882528, start = 0
> [root@haldane scott]# hdparm /dev/hdb
>
> /dev/hdb:
>  multcount= 16 (on)
>  I/O support  =  3 (32-bit w/sync)
>  unmaskirq=  0 (off)
>  using_dma=  1 (on)
>  keepsettings =  0 (off)
>  nowerr   =  0 (off)
>  readonly =  0 (off)
>  readahead=  8 (on)
>  geometry = 2491/255/63, sectors = 40020624, start = 0


if you are running 8.0, you might try this

http://perso.mandrakesoft.com/~civileme/drakopt

download the file drivedb2 and place it at /.drivedb
download the file drakopt2 and put it anywhere

Open a terminal

log in to the directory where you downloaded drakopt2

type

./drakopt2

When it completes, your drives should be tuned.

Drive hda seems to have a higher count of bad sectors from the 
factory, but draw no conclusions til you try drakopt.

hdparm to have meaning should be run three times in a row 
without other programs perking along.  The capital T on the test 
need not be used since it simply measures the bandwidth of your 
memory buffer.

Civileme




[newbie] hdparm

2001-06-12 Thread Scott Pletcher

Hi All,
I've got some troublesome readings from two identical hard drives set up the 
same.  Does anyone know why they are performing so differently?  I suppose 
hda may be bad, but I was hoping to find some other way to test this.  Thanks!

Scott

THE DATA

Here are the hard drives:
hda: Maxtor 52049H4, ATA DISK drive (master ide0)
hdb: Maxtor 52049H4, ATA DISK drive (slave ide0)

Running hdparm I get:
[root@haldane scott]# hdparm -Tt /dev/hda

/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.87 seconds =147.13 MB/sec
 Timing buffered disk reads:  64 MB in 31.17 seconds =  2.05 MB/sec

[root@haldane scott]# hdparm -Tt /dev/hdb

/dev/hdb:
 Timing buffer-cache reads:   128 MB in  0.85 seconds =150.59 MB/sec
 Timing buffered disk reads:  64 MB in  2.21 seconds = 28.96 MB/sec
[root@haldane scott]# hdparm /dev/hda


Here are the settings:
/dev/hda:
 multcount= 16 (on)
 I/O support  =  3 (32-bit w/sync)
 unmaskirq=  0 (off)
 using_dma=  1 (on)
 keepsettings =  0 (off)
 nowerr   =  0 (off)
 readonly =  0 (off)
 readahead=  8 (on)
 geometry = 2482/255/63, sectors = 39882528, start = 0
[root@haldane scott]# hdparm /dev/hdb

/dev/hdb:
 multcount= 16 (on)
 I/O support  =  3 (32-bit w/sync)
 unmaskirq=  0 (off)
 using_dma=  1 (on)
 keepsettings =  0 (off)
 nowerr   =  0 (off)
 readonly =  0 (off)
 readahead=  8 (on)
 geometry = 2491/255/63, sectors = 40020624, start = 0




RE: [newbie] Hdparm question

2001-01-23 Thread Kelly, Christopher

Great! Thanks Tom.

Chris Kelly
Why use Windows when you can use the door?
In a world without fences, who needs Gates?


-Original Message-
From: Tom Brinkman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 23, 2001 10:30 AM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] Hdparm question


On Tuesday 23 January 2001 06:37 am, Kelly, Christopher wrote:
> I was playing around with hdparm last night, and I found my optimal
> settings. Now, here is my question. I know that I have to add a line
> somewhere in /etc/rc.d/???. Can someone please give me instructions
> on how to make my hdparm settings reload upon start-up?

Add the line to the end of rc.local in the /etc/rc.d/  directory 
with any text editor (as root).   I like to use 'mc'.  Start an Xterm,
type 'cd /etc/rc.d', then 'mc'.  Scroll down to the file 'rc.local' and 
press .  This opens the file for editing. Add your hdparm line to 
the end of the file and press  to save.  exits 'mc'.  Now, 
while your still in the dir, /etc/rc.d/, type './rc.local'  which runs 
rc.local and the hdparm line you just added.  No need to reboot, but 
when you do reboot the machine in the future, the hdparm line will be 
run (as is everything in rc.local) on boot up.
-- 
Tom Brinkman   [EMAIL PROTECTED] Galveston Bay




Re: [newbie] Hdparm question

2001-01-23 Thread Tom Brinkman

On Tuesday 23 January 2001 06:37 am, Kelly, Christopher wrote:
> I was playing around with hdparm last night, and I found my optimal
> settings. Now, here is my question. I know that I have to add a line
> somewhere in /etc/rc.d/???. Can someone please give me instructions
> on how to make my hdparm settings reload upon start-up?

Add the line to the end of rc.local in the /etc/rc.d/  directory 
with any text editor (as root).   I like to use 'mc'.  Start an Xterm,
type 'cd /etc/rc.d', then 'mc'.  Scroll down to the file 'rc.local' and 
press .  This opens the file for editing. Add your hdparm line to 
the end of the file and press  to save.  exits 'mc'.  Now, 
while your still in the dir, /etc/rc.d/, type './rc.local'  which runs 
rc.local and the hdparm line you just added.  No need to reboot, but 
when you do reboot the machine in the future, the hdparm line will be 
run (as is everything in rc.local) on boot up.
-- 
Tom Brinkman   [EMAIL PROTECTED] Galveston Bay




RE: [newbie] Hdparm question

2001-01-23 Thread Kelly, Christopher

Just add the line?

hdparm -X66 -m16 -u1 -d1 -c3 /dev/hda

Just plop it in there?

Chris Kelly
Why use Windows when you can use the door?
In a world without fences, who needs Gates?


-Original Message-
From: D.M. Mattix [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 23, 2001 9:36 AM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] Hdparm question


On Tuesday 23 January 2001 06:37, you wrote:
> I have yet another question...
>
> I was playing around with hdparm last night, and I found my optimal
> settings. Now, here is my question. I know that I have to add a line
> somewhere in /etc/rc.d/???. Can someone please give me instructions on how
> to make my hdparm settings reload upon start-up?
>
> Any help is much appreciated.
>
> Ciao,
> Chris Kelly
>   Your mouse has moved. Windows must now reboot to recognize these
> changes.

I usually add it to the rc.local file.  This file is executed upon
completion 
of booting.  


-- 
Mike Mattix
[EMAIL PROTECTED]




Re: [newbie] Hdparm question

2001-01-23 Thread D.M. Mattix

On Tuesday 23 January 2001 06:37, you wrote:
> I have yet another question...
>
> I was playing around with hdparm last night, and I found my optimal
> settings. Now, here is my question. I know that I have to add a line
> somewhere in /etc/rc.d/???. Can someone please give me instructions on how
> to make my hdparm settings reload upon start-up?
>
> Any help is much appreciated.
>
> Ciao,
> Chris Kelly
>   Your mouse has moved. Windows must now reboot to recognize these
> changes.

I usually add it to the rc.local file.  This file is executed upon completion 
of booting.  


-- 
Mike Mattix
[EMAIL PROTECTED]




[newbie] Hdparm question

2001-01-23 Thread Kelly, Christopher

I have yet another question...

I was playing around with hdparm last night, and I found my optimal
settings. Now, here is my question. I know that I have to add a line
somewhere in /etc/rc.d/???. Can someone please give me instructions on how
to make my hdparm settings reload upon start-up?

Any help is much appreciated.

Ciao,
Chris Kelly
Your mouse has moved. Windows must now reboot to recognize these
changes.





Re: [newbie] HDparm question

2001-01-22 Thread abe


http://www.oreillynet.com/pub/a/272



abe






"Kelly, Christopher" wrote:
> 
> How do I use HDparm to optimize my HD settings?
> 
> Thanks guys,
> Chris Kelly
> ---
> Men are from Earth
> Women are from Earth
> Deal with it...




Re: [newbie] HDparm question

2001-01-22 Thread Emilio Correa


>How do I use HDparm to optimize my HD settings?

Hi, type "man hdparm" in the terminal and read it, it explins you how to 
use and the way to change hd settings.

>Thanks guys,
>Chris Kelly
>---
>Men are from Earth
>Women are from Earth
>Deal with it...
>





Re: [newbie] HDparm question

2001-01-22 Thread Tom Brinkman

On Monday 22 January 2001 08:46 am, Kelly, Christopher wrote:
> How do I use HDparm to optimize my HD settings?

First read 'info hdparm', it's one of the better man pages and 
contains a lot of useful and important info.

Next, make sure either lilo or grub (whichever you use) doesn't 
have any "ide autotune" statements.  

Then as root, run hdparm, prob'ly with at least the -c1 and -d1 
switches, eg,   hdparm -c1 -d1 /dev/hd*   where * is the letter of the 
drive you want to test.  This turns on 32bit and DMA. For many drives 
it's all that's needed.  Then runhdparm -tT /dev/hd*Once you 
have found the optimum  hdparm  line, add it to the end of  
/etc/rc.d/rc.local   and then run it, eg,   ./rc.local Be careful 
of enabling ata/66 (or /100). It will cause problems unless the HDD(s), 
the cable, and the motherboard/controller all together _properly_ 
support it.  If you experience any problems, it's also the first thing 
to turn off.
-- 
Tom Brinkman   [EMAIL PROTECTED] Galveston Bay




RE: [newbie] HDparm question

2001-01-22 Thread Kelly, Christopher

Thanks, Monty

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 22, 2001 10:20 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [newbie] HDparm question



Go to www.linuxnewbie.org and check out their NHF section.  They have some
good info on optimization of your hard drive using hdparm.

Hope this helps

Monty




Re: [newbie] HDparm question

2001-01-22 Thread Kevin Tambascio

Check out this article...I've tried it and it works pretty good.

http://linuxnewbie.org/nhf/intel/hardware/hdtweak.html

good luck,
Kevin


- Original Message - 
From: "Kelly, Christopher" <[EMAIL PROTECTED]>
To: "'Newbie'" <[EMAIL PROTECTED]>
Sent: Monday, January 22, 2001 9:46 AM
Subject: [newbie] HDparm question


> How do I use HDparm to optimize my HD settings?
> 
> Thanks guys,
> Chris Kelly
> ---
> Men are from Earth
> Women are from Earth
> Deal with it...
> 
> 





Re: [newbie] HDparm question

2001-01-22 Thread monty


Go to www.linuxnewbie.org and check out their NHF section.  They have some
good info on optimization of your hard drive using hdparm.

Hope this helps

Monty





[newbie] HDparm question

2001-01-22 Thread Kelly, Christopher

How do I use HDparm to optimize my HD settings?

Thanks guys,
Chris Kelly
---
Men are from Earth
Women are from Earth
Deal with it...






Re: SV: [newbie] HDParm and DMA

2001-01-19 Thread civileme

On Friday 19 January 2001 09:43, you wrote:
> > How do you know that the speed is increased?  I have been
> > having problems where
>
> I have test it with hdparm -tT /deb/hda
>
> > when I use the -d1 option by itself, the next disk access
> > locks things up.  I
>
> I have test the -X69 and -X68 as well, but the big performens increasing is
> with -d1. From around 9 to 35Mb/s. So it would be nice to get it to work.
>
> Is there anyone that has got the -d to work.
>
> /N
>
> > get around this by explicitly setting the x-fer rate (-X66
> > for Ultra33, -X68
> > for Ultra66, and -X69 for Ultra100.)
> >
> > "Blomquist, Niklas" wrote:
> > > Dear everyone!
> > >
> > > Is there anyone who has problem with using UDAM?
> > >
> > > When I turn on the UDMA the speed is increasing a lot, but
> >
> > I can't start any
> >
> > > program. The Icons on the destop is removed when I click on
> >
> > the and the
> >
> > > panel is gone when I click on that one...
> > >
> > > Any suggestions?
> > >
> > > /N
Please post the output of

dmesg

Civileme




SV: [newbie] HDParm and DMA

2001-01-19 Thread Blomquist, Niklas

> How do you know that the speed is increased?  I have been 
> having problems where

I have test it with hdparm -tT /deb/hda

> when I use the -d1 option by itself, the next disk access 
> locks things up.  I

I have test the -X69 and -X68 as well, but the big performens increasing is
with -d1. From around 9 to 35Mb/s. So it would be nice to get it to work.

Is there anyone that has got the -d to work.

/N

> get around this by explicitly setting the x-fer rate (-X66 
> for Ultra33, -X68
> for Ultra66, and -X69 for Ultra100.)
> 
> "Blomquist, Niklas" wrote:
> 
> > Dear everyone!
> >
> > Is there anyone who has problem with using UDAM?
> >
> > When I turn on the UDMA the speed is increasing a lot, but 
> I can't start any
> > program. The Icons on the destop is removed when I click on 
> the and the
> > panel is gone when I click on that one...
> >
> > Any suggestions?
> >
> > /N
> 
> 




Re: SV: [newbie] HDParm and DMA

2001-01-18 Thread Sridhar Dhanapalan

Does your hard drive actually support DMA? If it doesn't you could damage 
your data (and possibly the drive itself) by having it turned on.

On Thu, 18 Jan 2001 20:56, Blomquist, Niklas wrote:
> >I'm guess'n you're referring to 'hdparm -d1' /dev/hd*' ?
>
> That is correct, when I'm turns this on, the system become unstable and do
> strange things...
>
> > What does  'hdparm -v /dev/hd*' say?
>
>  Multcount = 16 on
> I/O Support = O
> unmaskirg = 0
> using_dma = 0
> keepsettings = 0
> nowerr = 0
> readonly = 0
> readahead = 8
>
> This is before I change anything.
>
> I can tweek it a little like:
>
> hdparm -X66 -u1 -c3 -m16 /dev/hda
>
> But I only get 9Mbs, when i turn on the -d1, i get 35, but I can't use the
> computer...
>
> /N
>
> > --
> > Tom Brinkman   [EMAIL PROTECTED] Galveston Bay

-- 
Sridhar Dhanapalan.
Your mouse has moved. Windows must be rebooted to acknowledge this change.





Re: [newbie] HDParm and DMA

2001-01-18 Thread jason-snyder

How do you know that the speed is increased?  I have been having problems where
when I use the -d1 option by itself, the next disk access locks things up.  I
get around this by explicitly setting the x-fer rate (-X66 for Ultra33, -X68
for Ultra66, and -X69 for Ultra100.)

"Blomquist, Niklas" wrote:

> Dear everyone!
>
> Is there anyone who has problem with using UDAM?
>
> When I turn on the UDMA the speed is increasing a lot, but I can't start any
> program. The Icons on the destop is removed when I click on the and the
> panel is gone when I click on that one...
>
> Any suggestions?
>
> /N





SV: [newbie] HDParm and DMA

2001-01-18 Thread Blomquist, Niklas

>I'm guess'n you're referring to 'hdparm -d1' /dev/hd*' ?

That is correct, when I'm turns this on, the system become unstable and do
strange things...
 
> What does  'hdparm -v /dev/hd*' say?
 Multcount = 16 on
I/O Support = O
unmaskirg = 0
using_dma = 0
keepsettings = 0
nowerr = 0
readonly = 0
readahead = 8

This is before I change anything.

I can tweek it a little like:

hdparm -X66 -u1 -c3 -m16 /dev/hda

But I only get 9Mbs, when i turn on the -d1, i get 35, but I can't use the
computer...

/N


> -- 
> Tom Brinkman   [EMAIL PROTECTED] Galveston Bay
> 




Re: [newbie] HDParm and DMA

2001-01-18 Thread Tom Brinkman

On Thursday 18 January 2001 01:27 am, Blomquist, Niklas wrote:
> When I turn on the UDMA the speed is increasing a lot, but I can't
> start any program. The Icons on the destop is removed when I click on
> the and the panel is gone when I click on that one...

   What does "turn on the UDMA" mean ?

   I'm guess'n you're referring to 'hdparm -d1' /dev/hd*' ?

What does  'hdparm -v /dev/hd*' say?
-- 
Tom Brinkman   [EMAIL PROTECTED] Galveston Bay




[newbie] hdparm utility

2000-11-24 Thread Barry Premeaux

Found an interesting article on hdparm.
The article stresses extreme caution in using it.
I recommend using hdparm -v /dev/hda (put in your IDE drive)
to find your current settings.  I was able to get the
buffered disk reads up from 11.5 MB/sec to 13.7 MB/sec.
Didn't think that would be much of an improvement, but
application loads were noticeably quicker.  Netscape
downloads seem to have improved somewhat as well.

Don't think I'll try and push it any further though. 


http://oreilly.linux.com/pub/a/linux/2000/06/29/hdparm.html

Barry :-)




Re: [newbie] hdparm speed test results

2000-04-26 Thread vern

Albert wrote:
> 
> Depending on the motherboard / chipset
> 
> hdparm -d1 /dev/hda is the common flag
> 
> Here is a snip from this machine
> 
> /dev/hdb:
>  Timing buffer-cache reads:   128 MB in  1.68 seconds =76.19 MB/sec
>  Timing buffered disk reads:  64 MB in  3.29 seconds =19.45 MB/sec
> 
> We have others on the bench with 150 MB/sec buffer-cache and disk reads of 26
> MB/sec
> 
> HTH
> 
WOW!  I just wanted to thank you for posting this, I decided to try
this and before DMA flag was set equaled 3.01 MB/sec, and after the
DMA flag was set it was 17.93 MB/sec!!!  WOW!  Hope the rest of the
computer can keep up with this throughput!!  This should be on a page
of Linux tweaks!
Vern

> On Mon, 24 Apr 2000, you wrote:
> > I am running Mdk 7-2 with 13 GB HD and DMA33. When I ran my first
> > hdparm -t to test the drive read speed the results were only 3 MB/sec and the
> > RealPlayer radio I had running was shut down.
> >   After setting the dma and unmask flags to on ,the test speed jumped to
> > 14 MB/sec and RealPlayer did not cut out.
> >   What are the average disk read speeds to be expected with such a hard
> > drive and is there anything else to optimize speed ?
> >This seems like a worthwhile tweak for those who suspect their hd
> > speed is slowing down the system. Just like to pass this along fyi and to see
> > what others are getting on this speed test.
> --
> Linux Tests
> http://www.linuxtests.org





Re: [newbie] hdparm speed test results

2000-04-25 Thread Larry Varney



  The downside involves just how much data you're reading in. Seeing as how the speed 
is now so much greater - about 5 times greater - you run the risk of having your hard 
drive coming loose, bouncing around inside the case, and perhaps causing bodily harm 
if it should escape altogether.
  My suggestion: line the inside of your computer case with heavy-duty duct tape, the 
handyman's secret weapon.

*** REPLY SEPARATOR  ***

On 4/25/00 at 2:14 PM vern wrote:

>Okay, being an old skeptic and a young Linux mechanic
>what's the "downside" of such a tweak??
>Will I have data errors (read/write) corrupted files,
>and such??
>Why is the "default" set so low??
>Vern
>
>Larry Varney wrote:
>> 
>>   Mine was similar, until I did the "hdparm -d1 hda", and the result jumped up into 
>the 13 MB/sec range. Changing the umask didn't seem to make any difference, though.





Re: [newbie] hdparm speed test results

2000-04-25 Thread vern

Okay, being an old skeptic and a young Linux mechanic
what's the "downside" of such a tweak??
Will I have data errors (read/write) corrupted files,
and such??
Why is the "default" set so low??
Vern

Larry Varney wrote:
> 
>   Mine was similar, until I did the "hdparm -d1 hda", and the result jumped up into 
>the 13 MB/sec range. Changing the umask didn't seem to make any difference, though.
> 
> Larry Varney
> Cold Spring, KY
> http://w3.one.net/~lvarney
> 
> *** REPLY SEPARATOR  ***
> 
> On 4/24/00 at 11:50 PM vern wrote:
> 
> >Here's what my "hunk O junk" does pretty crummy by your
> >standards!!
> >Vern
> >PS.  Looks like I'm due for a tuneup!
> >
> >/dev/hda:
> > Timing buffered disk reads:  64 MB in 21.62 seconds = 2.96 MB/sec
> >
> >
> >Albert wrote:
> >>
> >> Depending on the motherboard / chipset
> >>
> >> hdparm -d1 /dev/hda is the common flag
> >>
> >> Here is a snip from this machine
> >>
> >> /dev/hdb:
> >>  Timing buffer-cache reads:   128 MB in  1.68 seconds =76.19 MB/sec
> >>  Timing buffered disk reads:  64 MB in  3.29 seconds =19.45 MB/sec
> >>




Re: [newbie] hdparm speed test results

2000-04-24 Thread vern

Here's what my "hunk O junk" does pretty crummy by your
standards!!
Vern
PS.  Looks like I'm due for a tuneup!

/dev/hda:
 Timing buffered disk reads:  64 MB in 21.62 seconds = 2.96 MB/sec 


Albert wrote:
> 
> Depending on the motherboard / chipset
> 
> hdparm -d1 /dev/hda is the common flag
> 
> Here is a snip from this machine
> 
> /dev/hdb:
>  Timing buffer-cache reads:   128 MB in  1.68 seconds =76.19 MB/sec
>  Timing buffered disk reads:  64 MB in  3.29 seconds =19.45 MB/sec
> 
> We have others on the bench with 150 MB/sec buffer-cache and disk reads of 26
> MB/sec
> 
> HTH
> 
> On Mon, 24 Apr 2000, you wrote:
> > I am running Mdk 7-2 with 13 GB HD and DMA33. When I ran my first
> > hdparm -t to test the drive read speed the results were only 3 MB/sec and the
> > RealPlayer radio I had running was shut down.
> >   After setting the dma and unmask flags to on ,the test speed jumped to
> > 14 MB/sec and RealPlayer did not cut out.
> >   What are the average disk read speeds to be expected with such a hard
> > drive and is there anything else to optimize speed ?
> >This seems like a worthwhile tweak for those who suspect their hd
> > speed is slowing down the system. Just like to pass this along fyi and to see
> > what others are getting on this speed test.
> --
> Linux Tests
> http://www.linuxtests.org




Re: [newbie] hdparm speed test results

2000-04-24 Thread Albert


Depending on the motherboard / chipset 

hdparm -d1 /dev/hda is the common flag


Here is a snip from this machine 

/dev/hdb:
 Timing buffer-cache reads:   128 MB in  1.68 seconds =76.19 MB/sec
 Timing buffered disk reads:  64 MB in  3.29 seconds =19.45 MB/sec 


We have others on the bench with 150 MB/sec buffer-cache and disk reads of 26
MB/sec

HTH


On Mon, 24 Apr 2000, you wrote:
> I am running Mdk 7-2 with 13 GB HD and DMA33. When I ran my first
> hdparm -t to test the drive read speed the results were only 3 MB/sec and the
> RealPlayer radio I had running was shut down. 
>   After setting the dma and unmask flags to on ,the test speed jumped to
> 14 MB/sec and RealPlayer did not cut out.
>   What are the average disk read speeds to be expected with such a hard
> drive and is there anything else to optimize speed ?
>This seems like a worthwhile tweak for those who suspect their hd
> speed is slowing down the system. Just like to pass this along fyi and to see
> what others are getting on this speed test.
-- 
Linux Tests
http://www.linuxtests.org




[newbie] hdparm speed test results

2000-04-24 Thread mike

I am running Mdk 7-2 with 13 GB HD and DMA33. When I ran my first
hdparm -t to test the drive read speed the results were only 3 MB/sec and the
RealPlayer radio I had running was shut down. 
After setting the dma and unmask flags to on ,the test speed jumped to
14 MB/sec and RealPlayer did not cut out.
What are the average disk read speeds to be expected with such a hard
drive and is there anything else to optimize speed ?
 This seems like a worthwhile tweak for those who suspect their hd
speed is slowing down the system. Just like to pass this along fyi and to see
what others are getting on this speed test.




Re: [newbie] HDPARM settings.

2000-01-25 Thread John Aldrich

On Mon, 24 Jan 2000, you wrote:
> When I first ran a /sbin/hdparm -tT /dev/hda1 it gave me very poor 
> results.  I did some research and modified the settings of hdparm.  Now it 
> gives me very acceptable results.  However, I haven't rebooted my computer 
> since I made those changes.  Is there a way to make sure that the settings 
> do not get modified every time I restart the computer?
> 
Add hdparm with your "tweaked" settings to
/etc/rc.d/rc.sysinit or some such.
John



Re: [newbie] hdparm installed?

1999-12-08 Thread Mark Fitzgerald

Hello,

Thanks Axalon .. I'll check.

Mark

- Original Message -
From: Axalon Bloodstone <[EMAIL PROTECTED]>
To: Mandrake-List-Support <[EMAIL PROTECTED]>
Sent: December 6, 1999 1:41 PM
Subject: Re: [newbie] hdparm installed?


> On Mon, 6 Dec 1999, Mark Fitzgerald wrote:
>
> >
> > John & Axa ..
> >
> > Mandrake 6.1- PP .. is hdparm available for selection when picking
> > packages for installation?
> >
> > Thanks!
>
> I'm not sure off the top of my head if it's part of base(from comps)
or
> not, it will be in "System Environment/Base" if it's selectable
though.
>
> --
> MandrakeSoft  http://www.mandrakesoft.com/
> --Axalon



Re: [newbie] hdparm installed?

1999-12-06 Thread Axalon Bloodstone

On Mon, 6 Dec 1999, Mark Fitzgerald wrote:

> 
> John & Axa ..
> 
> Mandrake 6.1- PP .. is hdparm available for selection when picking
> packages for installation?
> 
> Thanks!

I'm not sure off the top of my head if it's part of base(from comps) or
not, it will be in "System Environment/Base" if it's selectable though. 

--
MandrakeSoft  http://www.mandrakesoft.com/
--Axalon



[newbie] hdparm installed?

1999-12-06 Thread Mark Fitzgerald


John & Axa ..

Mandrake 6.1- PP .. is hdparm available for selection when picking
packages for installation?

Thanks!

--
Mark
mailto:[EMAIL PROTECTED]

" It is now safe to shutdown your computer
_  or is it ... HAHAHAHA ?! "





Re: [newbie] hdparm and ATA66 drive (drive running slow)!

1999-11-07 Thread Steve Philp

M Thompson wrote:
> 
> When I type "hdparm /dev/hdg" I receive the following:
> multcount   =   0 (off)
> I/O support =   0 (default 16-bit)
> unmaskirq   =   0 (off)
> using_dma   =   0 (off)
> keepsettings=   0 (off)
> nowerr  =   0 (off)
> readonly=   0 (off)
> readahead   =   8 (on)
> geometry=   2246/255/63 , sectors=36094464,start=0
> 
> It bothered me that my ATA66 hard drive wasn't running in Ultra DMA 4 mode,
> so I then typed "hdparm -d1 /dev/hdg" only to be greeted by the following:
> Operation not permitted
> 
> What do I do to make my hard drive operate at it full potential?
> 
> Background: I installed a Promise Ultra66 controller card.  To install Linux
> Mandrake 6.1, I passed "ide3=0xfff0,0xffe4" to the kernel when the
> installation started.  That allowed the kernel to see the Promise Ultra66
> card and then install all files to hard disk.
> 
> Please help!

Well, if it makes you feel any better, even if you manage to get DMA
turned on, it will get turned back off again the first time you access
the drive.  At least, that is what's happening here.

I've got an Abit BP6 motherboard with the Ultra66 controller onboard. 
Attempting to tune the drive is darn near useless as it doesn't seem to
react correctly anyway.  hdparm timings from the drive are absolutely
atrocious:

[root@localhost /root]# hdparm -tT /dev/hde
 
/dev/hde:
 Timing buffer-cache reads:   128 MB in  1.82 seconds =70.33 MB/sec
 Timing buffered disk reads:  64 MB in 17.13 seconds = 3.74
MB/sec  

I get better read times from my ancient Bigfoot 6.4G drive that does
plain-old PIO transfers!


I know support for the Ultra66 controllers is still extremely alpha/beta
code, so I'm really just happy that it even works.

As for tuning your hard drive, you'll probably be best off (for now)
with something like:

hdparm -m16 -c1 -u1 -a128 -k /dev/hdg

That will set multcount to 16, turn on the 32 bit interface, enable
interrupt handling during hard drive access, set filesystem readahead to
128 and tell the controller to keep these settings if it has to reset
itself.

I'm hoping stable Ultra66 code comes soon, I'd like to see what this
drive can do!

-- 
Steve Philp
Network Administrator
Advance Packaging Corporation
[EMAIL PROTECTED]



Re: [newbie] hdparm and ATA66 drive (drive running slow)!

1999-11-07 Thread Tom Brinkman


> It bothered me that my ATA66 hard drive wasn't running in Ultra DMA 4 mode, 
> so I then typed "hdparm -d1 /dev/hdg" only to be greeted by the following:
> Operation not permitted
> 
> What do I do to make my hard drive operate at it full potential?
> 

   I had basically the same questions recently.  Here's what
Steve Philp (on this list) replied:
-

Run:  hdparm -m16 -c1 -u1 -d1 -k1 -a128 /dev/hdb

If it goes without error, put it at the end of /etc/rc.d/rc.local.

The command will setup 16 sectors for multi-sector transfer, turn on
32bit interface support, turn on interrupt masking (will allow other
interrupts to be serviced while hard drive is busy), turn on DMA
transfers, set the drive to keep these settings over a reset and set
filesystem readahead to 128 sectors.

After running this, rerun the hdparm -tT a few times to see what the new
rates are.  If they still seem low, tweak the -m and -a values.

-

   Reading ' info hdparm '  was also a big help to me.

..  Tom Brinkman[EMAIL PROTECTED]  .




[newbie] hdparm and ATA66 drive (drive running slow)!

1999-11-07 Thread M Thompson

When I type "hdparm /dev/hdg" I receive the following:
multcount   =   0 (off)
I/O support =   0 (default 16-bit)
unmaskirq   =   0 (off)
using_dma   =   0 (off)
keepsettings=   0 (off)
nowerr  =   0 (off)
readonly=   0 (off)
readahead   =   8 (on)
geometry=   2246/255/63 , sectors=36094464,start=0

It bothered me that my ATA66 hard drive wasn't running in Ultra DMA 4 mode, 
so I then typed "hdparm -d1 /dev/hdg" only to be greeted by the following:
Operation not permitted

What do I do to make my hard drive operate at it full potential?

Background: I installed a Promise Ultra66 controller card.  To install Linux 
Mandrake 6.1, I passed "ide3=0xfff0,0xffe4" to the kernel when the 
installation started.  That allowed the kernel to see the Promise Ultra66 
card and then install all files to hard disk.

Please help!




Thanks in advance,
Matt

__
Get Your Private, Free Email at http://www.hotmail.com