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

2012-12-07 Thread Paolo Bonzini
Il 07/12/2012 12:20, Kirill A. Shutemov ha scritto: >> > Is this that much faster than scsi-debug? The discarding options surely >> > can be added there. > scsi_ram is about 9% faster (without fake_rw/throw_away_*) on my machine: There are two main differences in the data path: - scsi_debug uses

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

2012-12-07 Thread Kirill A. Shutemov
On Thu, Dec 06, 2012 at 11:09:07AM +0100, Paolo Bonzini wrote: > Il 05/12/2012 17:45, Kirill A. Shutemov ha scritto: > > From: "Kirill A. Shutemov" > > > > 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 i

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

2012-12-06 Thread Paolo Bonzini
Il 05/12/2012 17:45, Kirill A. Shutemov ha scritto: > From: "Kirill A. Shutemov" > > 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