Re: Tuning Hard Disks

2005-05-25 Thread Christian Hiris
On Wednesday 25 May 2005 04:51:04, Luyt wrote:
 Interesting.

 I did an 'atacontrol cap 0 0' and this came up (see below).  It tells that
 my disk has 'SMART' support, but it isnt enabled. Any idea how I can enable
 it?

Try the port sysutils/smartmontools. AFAIR it installs the command 'smartctl' 
that can be used to enable various device features.   

Cheers, 
ch

-- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu


pgpI1PhsKcvZV.pgp
Description: PGP signature


Re: Tuning Hard Disks

2005-05-24 Thread Alex Zbyslaw

Roland Smith wrote:


On Mon, May 23, 2005 at 02:47:21PM -0700, Benjamin Keating wrote:
 


Thank you. This is exactly what I was looking for. How did you learn
about these tools? From the pages i've read (most of) the handbook, I
didn't see it mention them.
   



I came across one of the control programs in a manual page, and then I
used ls to look for others:
 


Another useful command is man -k e.g.

man -k control

and if you're not a C programmer

man -k control | egrep -v '(3)' | less

Or even locate control

--Alex

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Tuning Hard Disks

2005-05-24 Thread Luyt
Interesting.

I did an 'atacontrol cap 0 0' and this came up (see below).  It tells that my 
disk has 'SMART' support, but it isnt enabled. Any idea how I can enable it?


ATA channel 0, Master, device ad0:

Protocol  Serial ATA v1.0
device model  Maxtor 6Y200M0
serial number Y6988PLE
firmware revision YAR511W0
cylinders 16383
heads 16
sectors/track 63
lba supported 268435455 sectors
lba48 supported   398297088 sectors
dma supported
overlap not supported

Feature  Support  EnableValue   Vendor
write cacheyes  yes
read ahead yes  yes
SATA NCQ   no-  0/0x00
SMART  yes  no
microcode download yes  yes
security   yes  no
power management   yes  yes
advanced power management  yes  no  0/0x00
automatic acoustic management  yes  yes 254/0xFE192/0xC0



-- 

The ability of the OSS process to collect and harness 
the collective IQ of thousands of individuals across 
the Internet is simply amazing. - Vinod Vallopillil
http://www.opensource.org/halloween/halloween4.php



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Tuning Hard Disks

2005-05-23 Thread Benjamin Keating
Hey all,

I'd like to tweak my drives / view there current configurations. I get
really slow xfers from two machine in the same, quite, LAN (both
running FBSD 5.4 with good Intell Pro100 NICS). Im not sure if DMA is
enabled or not so I'd like to start with figuring out what to use to
view this info. Anything like hdparm?

I did a apropos on `dma` but didn't find what I'm looking for.

thx
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Tuning Hard Disks

2005-05-23 Thread Craig Kleski

On Monday 23 May 2005 06:12 pm, Benjamin Keating wrote:
 Hey all,

 I'd like to tweak my drives / view there current configurations. I get
 really slow xfers from two machine in the same, quite, LAN (both
 running FBSD 5.4 with good Intell Pro100 NICS). Im not sure if DMA is
 enabled or not so I'd like to start with figuring out what to use to
 view this info. Anything like hdparm?

 I did a apropos on `dma` but didn't find what I'm looking for.

 thx
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

Try tuning(7).

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Tuning Hard Disks

2005-05-23 Thread Roland Smith
On Mon, May 23, 2005 at 11:12:59AM -0700, Benjamin Keating wrote:
 Hey all,
 
 I'd like to tweak my drives / view there current configurations. I get
 really slow xfers from two machine in the same, quite, LAN (both
 running FBSD 5.4 with good Intell Pro100 NICS). Im not sure if DMA is
 enabled or not so I'd like to start with figuring out what to use to
 view this info. Anything like hdparm?

Assuming you have ATA drives, do the following (as root)

run 'atacontrol list' to see which channel number the drive is on. Then
try 'atacontrol mode N', where N is the channel number. This wil give
you the current transfer mode of the drive. You can also use atacontrol
to set the mode. See the manual page.

You can see if DMA is enabled with 'sysctl hw.ata.ata_dma'.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpVyoGWJaXYe.pgp
Description: PGP signature


Re: Tuning Hard Disks

2005-05-23 Thread Benjamin Keating
Thank you. This is exactly what I was looking for. How did you learn
about these tools? From the pages i've read (most of) the handbook, I
didn't see it mention them.

On 5/23/05, Roland Smith [EMAIL PROTECTED] wrote:
 On Mon, May 23, 2005 at 11:12:59AM -0700, Benjamin Keating wrote:
  Hey all,
 
  I'd like to tweak my drives / view there current configurations. I get
  really slow xfers from two machine in the same, quite, LAN (both
  running FBSD 5.4 with good Intell Pro100 NICS). Im not sure if DMA is
  enabled or not so I'd like to start with figuring out what to use to
  view this info. Anything like hdparm?
 
 Assuming you have ATA drives, do the following (as root)
 
 run 'atacontrol list' to see which channel number the drive is on. Then
 try 'atacontrol mode N', where N is the channel number. This wil give
 you the current transfer mode of the drive. You can also use atacontrol
 to set the mode. See the manual page.
 
 You can see if DMA is enabled with 'sysctl hw.ata.ata_dma'.
 
 Roland
 --
 R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
 public key: http://www.xs4all.nl/~rsmith/pubkey.txt
 
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Tuning Hard Disks

2005-05-23 Thread Benjamin Keating
I just noticed, 3ware managed devices (obviously) don't show up. Is
there 3rd party software that needs to be installed in order to
view/tune 3ware (twe) devices? Nothing  FreeBSD specific came with the
card.

On 5/23/05, Benjamin Keating [EMAIL PROTECTED] wrote:
 Thank you. This is exactly what I was looking for. How did you learn
 about these tools? From the pages i've read (most of) the handbook, I
 didn't see it mention them.
 
 On 5/23/05, Roland Smith [EMAIL PROTECTED] wrote:
  On Mon, May 23, 2005 at 11:12:59AM -0700, Benjamin Keating wrote:
   Hey all,
  
   I'd like to tweak my drives / view there current configurations. I get
   really slow xfers from two machine in the same, quite, LAN (both
   running FBSD 5.4 with good Intell Pro100 NICS). Im not sure if DMA is
   enabled or not so I'd like to start with figuring out what to use to
   view this info. Anything like hdparm?
 
  Assuming you have ATA drives, do the following (as root)
 
  run 'atacontrol list' to see which channel number the drive is on. Then
  try 'atacontrol mode N', where N is the channel number. This wil give
  you the current transfer mode of the drive. You can also use atacontrol
  to set the mode. See the manual page.
 
  You can see if DMA is enabled with 'sysctl hw.ata.ata_dma'.
 
  Roland
  --
  R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
  public key: http://www.xs4all.nl/~rsmith/pubkey.txt
 
 
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Tuning Hard Disks

2005-05-23 Thread Roland Smith
On Mon, May 23, 2005 at 02:47:21PM -0700, Benjamin Keating wrote:

(please don't top-post.)

 Thank you. This is exactly what I was looking for. How did you learn
 about these tools? From the pages i've read (most of) the handbook, I
 didn't see it mention them.

I came across one of the control programs in a manual page, and then I
used ls to look for others:

slackbox:~$ ls /usr/sbin/*control
/usr/sbin/ancontrol  /usr/sbin/kbdcontrol /usr/sbin/raycontrol
/usr/sbin/cdcontrol  /usr/sbin/l2control  /usr/sbin/sdpcontrol
/usr/sbin/fdcontrol  /usr/sbin/lptcontrol /usr/sbin/sicontrol
/usr/sbin/fwcontrol  /usr/sbin/memcontrol /usr/sbin/vidcontrol
/usr/sbin/hccontrol  /usr/sbin/mlxcontrol /usr/sbin/wicontrol
slackbox:~$ ls /sbin/*control
/sbin/atacontrol  /sbin/comcontrol  /sbin/spppcontrol
/sbin/camcontrol  /sbin/conscontrol

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpxfhah87l0l.pgp
Description: PGP signature