Hi

You can mount your disks with sync-option in order to go around the
buffer/cache. Have a try (e.g. mount -o sync /dev/sda1 /mnt) and compare the
performance.
I think you will go back to the async-mode very fast...

Dietmar

Mateu Batle i Sastre wrote:

> Hi everybody,
>
> I'm trying to get the maximum transfer datarate from several SCSI disks
> from a user application. I think the problem now is that all the transfers
> go through the buffer cache, which implies a lot of memory copy and this
> bounds the maximum I/O. It should be possible to access the SCSI disks
> bypassing the buffer cache of the block devices.
> Is there any easy way to do this ?
>
> My first option would be to use some special flag when openning the file
> to avoid going through the buffer cache. But I have not found anything
> similar.
>
> If not, I would have to modify the sd.c to to perform direct transfers
> without using the buffer cache.
>
> Bye,
>         Mateu Batle
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to [EMAIL PROTECTED]






-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to