Re: [PATCH] scsi_ram: a RAM-based SCSI driver

From: Paolo Bonzini
Date: Thu Dec 06 2012 - 05:36:27 EST


Il 05/12/2012 17:45, Kirill A. Shutemov ha scritto:
> From: "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx>
>
> This driver is intended to run as fast as possible, hence the options to
> discard writes and reads. It's designed to let us find latency issues
> elsewhere in the storage stack (eg filesystem, block layer, scsi layer).
>
> There are a few different options, controlled through module parameters.
> The sector size and disc capacity are load-time parameters, but the
> parameters affecting performance are tweakable at runtime.
>
> By default, it'll allocate half a gigabyte of RAM to use as a ramdisc;
> you can change this with the `capacity' module parameter.

Is this that much faster than scsi-debug? The discarding options surely
can be added there.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/