Skip to contentSkip to conversation

[5385] qemu: improve scsi dma speed by increasing the dma buffer size

Qemu-devel Aurelien Jarno 1 participant 1 message Oct 1, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5385

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5385
Author:   aurel32
Date:     2008-10-01 21:46:23 +0000 (Wed, 01 Oct 2008)

Log Message:
-----------
qemu: improve scsi dma speed by increasing the dma buffer size

taken from Xen 17267:f4a92f0db20f, original patch by Samuel Thibault.

Modified Paths:
--------------
trunk/hw/scsi-disk.c

Modified: trunk/hw/scsi-disk.c
===================================================================

hw/scsi-disk.c +1 -1
@@ -34,7 +34,7 @@
 #define SENSE_HARDWARE_ERROR  4
 #define SENSE_ILLEGAL_REQUEST 5
 
-#define SCSI_DMA_BUF_SIZE    65536
+#define SCSI_DMA_BUF_SIZE    131072
 
 typedef struct SCSIRequest {
     SCSIDeviceState *dev;