From: vertigo on
Hello

Is there any tool similar to Linux hdparm on solaris ?

Thanx
From: Richard B. Gilbert on
vertigo wrote:
> Hello
>
> Is there any tool similar to Linux hdparm on solaris ?
>
> Thanx

Are we supposed to know what "hdparm" is or does under Linux?

See: http://www.catb.org/~esr/faqs/smart-questions.html
From: vertigo on


> vertigo wrote:
>> Hello
>> Is there any tool similar to Linux hdparm on solaris ?
>> Thanx
>
> Are we supposed to know what "hdparm" is or does under Linux?
>
> See: http://www.catb.org/~esr/faqs/smart-questions.html


sorry. I mean tool which can test how fast partitions are.
In linux it works like this:
# hdparm -tT /dev/sda1

/dev/sda1:
Timing cached reads: 3364 MB in 2.00 seconds = 1682.08 MB/sec
Timing buffered disk reads: 86 MB in 2.49 seconds = 34.53 MB/sec


Thanx
From: Dave Uhring on
On Wed, 18 Jun 2008 14:22:02 +0200, vertigo wrote:

> sorry. I mean tool which can test how fast partitions are.

duhring(a)maxwell:~# time dd if=/dev/rdsk/c5d0s2 of=/dev/null bs=32k count=32k
32768+0 records in
32768+0 records out

real 0m11.022s
user 0m0.038s
sys 0m0.452s

From: Andrew Gabriel on
In article <op.ucx1y0v7mv59ja(a)pluton>,
vertigo <teknet7(a)poczta.onet.pl> writes:
> sorry. I mean tool which can test how fast partitions are.
> In linux it works like this:
> # hdparm -tT /dev/sda1
>
> /dev/sda1:
> Timing cached reads: 3364 MB in 2.00 seconds =3D 1682.08 MB/sec
> Timing buffered disk reads: 86 MB in 2.49 seconds =3D 34.53 MB/sec=

I suggest you measure the performance of the application or operation
you care about. The performance of a tool like that doesn't generally
convey anything useful, and can be quite misleading. If you want to
investigate low level performance, e.g. when designing an application
and wanting to know what access patterns generates fast IO and what
don't, something like iozone can be useful.

--
Andrew Gabriel
[email address is not usable -- followup in the newsgroup]