UNSOLVED

clepron1

updated

15 years ago

C

clepron1

32 Posts

0

2077

November 28th, 2011 06:00

Cache hit ratio and Read/write ratio

Hi  all

I would like to retrieve, using command line or SMC, the global cache hit ratio of our DMX4 and the global read/write ratio.

I think symstat could help me but there is a lot of parameter, and I'm not sure to use the good one.

I've tried this one, but displays anything except the date and time :/

symstat -type cache  -i 6 -c 4 -sid  XXXX

Thanks a lot.

Christophe

  • clepron1

    32 Posts

    630

    0

    Posted November 28th, 2011 07:00

    yes we have, but we don't use it often. We will check in.Thanks

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    630

    1

    Posted November 28th, 2011 07:00

    do you have SPA ? It's all in there nice and pretty graphs.

  • clepron1

    32 Posts

    630

    0

    Posted November 28th, 2011 07:00

    Following that, I've found a command, and cleaned it with 'grep' like this.

    symstat -type REQUEST -sid 3423  -i 6 -c 4|grep -E "Total|DEVICE|READ"

             DEVICE                   IO/sec        KB/sec     % Hits   %Seq     Num WP

    16:06:51                       READ  WRITE    READ  WRITE  RD  WRT  RD  WRT  Tracks

    Total                          18015   8120 600200 289422  90  99   13   8 193010

    Total                          19875   8848 594633 303927  89  99   12   9 189172

    Total                          20083  11256 589119 391190  89  99   11   9 203140

    Total                          21741   8696 686311 305755  90  99   16  12 201140

    The following statistics are returned:1. Host timestamp of the sample.2. Active Symmetrix device name and host physical device name (if the device isvisible).3. Read cache request rate (requests per second).4. Write cache request rate (requests per second).5. Read throughput rate (kilobytes per second).6. Write throughput rate (kilobytes per second).7. Read/write cache hit ratio (percentage of write hits).8. Sequential read/write ratio (percentage of sequential reads).9. Write-pending track count

    Do you think is the good command to use ?