11-13-05 10:47 PM
"Erez" <erezz@tx.technion.ac.il> wrote in message
news:1131888133.316976.246140@g14g2000cwa.googlegroups.com...
> I'm trying to check if the following optimization makes sense:
> When the controller wants to read blocks 02 & 07 (without P1), it will
> use SCSI PRE-FETCH command to ask the disk to read 02, P1 & 07 to its
> cache and then, the controller will send 2 READ commands (for 02 & for
> 07). By doing that, only a single disk operation is required and
> unnecessary data isn't written to the data-in buffer.
>
> Again, here's the example that I'm talking about :
> D0-D3 are disks 0-3.
> P0-P2 are the parity blocks.
> 00-08 are the requested data blocks.
>
> D0 D1 D2 D3
> 00 01 02 P0
> 03 04 P1 05
> 06 P2 07 08
>
> Do you have any idea if vendors use something like that? I don't know
> if it makes sense in terms of latency and throughput.
>
> Thanks
> Erez
I think you should take a look at the overhead involved with sending a
command, versus transferring an extra block of data. You may find that the
data transfer of an extra block takes nowhere near as much time as sending
extra commands. I don't have the specs in front of me, but I'm sure you can
do the math yourself to find if it makes sense.
Rob
[ Post a follow-up to this message ]
|