LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 09-21-2015, 04:23 AM   #1
atelszewski.versades
Member
 
Registered: Oct 2014
Posts: 61

Rep: Reputation: Disabled
qemu, virtio, difference between viostor and vioscsi


Hi,

I'm struggling to find out what is the difference between viostor and vioscsi.
I know that viostor allows me to pass file to be seen as SCSI disk in the guest, but I have no clue what the vioscsi is for.

Could somebody explain please?

--
Best regards,
Andrzej Telszewski
 
Old 09-21-2015, 07:37 AM   #2
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
There are two virtio block devices available. viostor is the driver for virtio_blk, a very basic block device that only supports a small number of scsi commands, but also has a small overhead and very fast. For a simple VM disk it is all you will ever require. the other device is virtio_scsi, with the driver vioscsi, it supports the complete scsi protocol, so you do do things like windows clusters over such devices.

for your particular use case, run both, check which performs best under your specific workloads and choose.
 
Old 09-21-2015, 08:02 AM   #3
atelszewski.versades
Member
 
Registered: Oct 2014
Posts: 61

Original Poster
Rep: Reputation: Disabled
Hi,

Thanks for the reply, basically that's everything I needed to know.

Does it make sense to try vioscsi (now I'm using viostor), if I have just a simple qemu machine with no "clusters", etc.?
Since viostor is simpler (I guess there's less abstraction, e.g. function calls), I guess this should be my choice.
Or is it only possible to know by trying them both?

--
Best regards,
Andrzej Telszewski
 
Old 09-21-2015, 10:13 AM   #4
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
There are some additional differences in the way these two devices are implemented, some workloads might turn out to be faster on virtio_scsi than on virtio_blk, so the answer is - try it and choose for yourself
 
Old 09-23-2015, 02:28 AM   #5
atelszewski.versades
Member
 
Registered: Oct 2014
Posts: 61

Original Poster
Rep: Reputation: Disabled
Hi,

Thanks for the hints. As of now I'm gonna skip the tests.
Basically I'm running Windows 7 to work with some Windows-only applications, but all the files are hosted on the Linux host through Samba, so there shouldn't be any significant I/O when it comes to the virtualized disk.

Thanks for the help!

--
Best regards,
Andrzej Telszewski
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Qemu virtio-9p host filesystem passthrough failure in Slackware-current-13MAY2015 kingbeowulf Slackware 6 06-03-2015 10:31 AM
LXer: Install QEMU on ubuntu 15.04 and mange QEMU with Virt Manager LXer Syndicated Linux News 0 05-29-2015 04:41 PM
LXer: Set up qemu-kvm-1.0+noroms as spice enabled qemu server vs qemu-kvm-spice on Ubuntu Precise LXer Syndicated Linux News 0 05-26-2012 07:41 AM
qemu: hardware error: qemu: could not load PowerPC bios 'openbios-ppc' Skaperen Linux - Virtualization and Cloud 8 06-09-2011 07:15 AM
LXer: Set up RH VirtIO SCSI driver on Windows XP KVM at KVM-QEMU Instance on F14 LXer Syndicated Linux News 14 01-09-2011 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration