<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/virtio/vringh_test.c, branch linux-3.11.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.11.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.11.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-03-20T05:15:07Z</updated>
<entry>
<title>tools/virtio: remove virtqueue_add_buf() from tests.</title>
<updated>2013-03-20T05:15:07Z</updated>
<author>
<name>Rusty Russell</name>
</author>
<published>2013-03-20T05:14:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cf994e0afae97382c0aa3cbc395805605d07a6e9'/>
<id>urn:sha1:cf994e0afae97382c0aa3cbc395805605d07a6e9</id>
<content type='text'>
Make the rest of the paths use virtqueue_add_sgs or add_outbuf.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>tools/virtio: make vringh_test use inbuf/outbuf.</title>
<updated>2013-03-20T05:14:53Z</updated>
<author>
<name>Rusty Russell</name>
</author>
<published>2013-03-20T05:14:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e538ebaf78455ff87dec2c34d4f9c128844e3f3f'/>
<id>urn:sha1:e538ebaf78455ff87dec2c34d4f9c128844e3f3f</id>
<content type='text'>
As expected, the simplified accessors are faster.

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

Before:
	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)

After:
	Using CPUS 0 and 3
	Guest: notified 0, pinged 39037-39063(39062)
	Host: notified 39037-39063(39062), pinged 0
	Wall time:1.640000-1.810000(1.676875)

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>tools/virtio: add vring_test.</title>
<updated>2013-03-20T03:36:04Z</updated>
<author>
<name>Rusty Russell</name>
</author>
<published>2013-03-20T03:20:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1515c5ce26ae45a8ecea4e68a484562ca4356442'/>
<id>urn:sha1:1515c5ce26ae45a8ecea4e68a484562ca4356442</id>
<content type='text'>
This is mainly to test the drivers/vhost/vringh.c code, but it also
uses the drivers/virtio/virtio_ring.c code for the guest side.

Usage for testing the basic implementation:

	./vringh_test
	# Test with indirect descriptors
	./vringh_test --indirect
	# Test with indirect descriptors and event indexex
	./vringh_test --indirect --eventidx

You can run a parallel stress test by adding --parallel to any of the
above options.

eg ./vringh_test --parallel:
	Using CPUS 0 and 3
	Guest: notified 10107974, pinged 107970
	Host: notified 108158, pinged 3172148

./vringh_test --indirect --eventidx --parallel:
	Using CPUS 0 and 3
	Guest: notified 156357, pinged 156251
	Host: notified 156251, pinged 78179

Average of 50 times doing ./vringh_test --indirect --eventidx --parallel:
	2.840000-3.040000(2.927292)user

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
</feed>
