2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 18:23:53 +08:00
linux-next/tools/virtio
Rusty Russell 13816c768d virtio_ring: virtqueue_add_sgs, to add multiple sgs.
virtio_scsi can really use this, to avoid the current hack of copying
the whole sg array.  Some other things get slightly neater, too.

This causes a slowdown in virtqueue_add_buf(), which is implemented as
a wrapper.  This is addressed in the next patches.

for i in `seq 50`; do /usr/bin/time -f 'Wall time:%e' ./vringh_test --indirect --eventidx --parallel --fast-vringh; done 2>&1 | stats --trim-outliers:

Before:
	Using CPUS 0 and 3
	Guest: notified 0, pinged 39009-39063(39062)
	Host: notified 39009-39063(39062), pinged 0
	Wall time:1.700000-1.950000(1.723542)

After:
	Using CPUS 0 and 3
	Guest: notified 0, pinged 39062-39063(39063)
	Host: notified 39062-39063(39063), pinged 0
	Wall time:1.760000-2.220000(1.789167)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Reviewed-by: Asias He <asias@redhat.com>
2013-03-20 15:43:29 +10:30
..
asm tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
linux virtio_ring: virtqueue_add_sgs, to add multiple sgs. 2013-03-20 15:43:29 +10:30
uapi/linux tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
vhost_test vhost test module 2010-12-09 16:00:21 +02:00
virtio-trace tools: Fix pthread flag for Makefile of trace-agent used by virtio-trace 2012-09-28 15:05:13 +09:30
Makefile tools/virtio: add vring_test. 2013-03-20 14:06:04 +10:30
virtio_test.c tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
vringh_test.c tools/virtio: add vring_test. 2013-03-20 14:06:04 +10:30