Thread (17 messages) flat view 17 messages, 3 authors, 2011-12-02

Re: [RFC] virtio: use mandatory barriers for remote processor vdevs

From: Ohad Ben-Cohen <hidden>
Date: 2011-11-30 22:43:31
Also in: kvm, linux-arm-kernel, lkml

Possibly related (same subject, not in this thread)

On Wed, Nov 30, 2011 at 4:50 PM, Michael S. Tsirkin [off-list ref] wrote:
make headers_install
make -C tools/virtio/
(you'll need an empty stub for tools/virtio/linux/module.h,
 I just sent a patch to add that)
sudo insmod tools/virtio/vhost_test/vhost_test.ko
./tools/virtio/virtio_test
Ok, I gave this a spin.

I've tried to see if reverting d57ed95 has any measurable effect on
the execution time of virtio_test's run_test(), but I couldn't see any
(several attempts with and without d57ed95 yielded very similar range
of execution times).

YMMV though, especially with real workloads.
Real virtualization/x86 can keep using current smp_XX barriers, right?
Yes, sure. ARM virtualization can too, since smp_XX barriers are
enough for that scenario.
We can have some config for your kind of setup.
Please note that it can't be a compile-time decision though (unless
we're willing to effectively revert d57ed95 when this config kicks
in): it's not unlikely that one would want to have both use cases
running on the same time.

Thanks,
Ohad.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help