Adding VirtIO SCSI to KVM hypervisors

2017-01-20 Thread Wido den Hollander
Hi, VirtIO SCSI [0] has been supported a while now by Linux and all kernels, but inside CloudStack we are not using it. There is a issue for this [1]. It would bring more (theoretical) performance to VMs, but one of the motivators (for me) is that we can support TRIM/DISCARD [2]. This would al

Re: Adding VirtIO SCSI to KVM hypervisors

2017-02-21 Thread Nathan Johnson
parameter? It would be great if someone familiar with the vmware code could chime in here. Thanks, Nathan > > Wido > >> Thoughts? >> >> >> >> From: Syed Ahmed >> Sent: Tuesday, January 24, 2017 10:46 AM >> T

Re: Adding VirtIO SCSI to KVM hypervisors

2017-02-21 Thread Sergey Levitskiy
Nathan > > Wido > >> Thoughts? >> >> >> >> From: Syed Ahmed >> Sent: Tuesday, January 24, 2017 10:46 AM >> To: dev@cloudstack.apache.org >> Cc: Simon Weller >>

Re: Adding VirtIO SCSI to KVM hypervisors

2017-02-21 Thread Nathan Johnson
> Wido >> >>> Thoughts? >>> >>> >>> >>> From: Syed Ahmed >>> Sent: Tuesday, January 24, 2017 10:46 AM >>> To: dev@cloudstack.apache.org >>> Cc: Simon Weller >>> Subject: Re: Add

Re: Adding VirtIO SCSI to KVM hypervisors

2017-02-21 Thread Sergey Levitskiy
; > Thanks, > > Nathan > > > >> Wido >> >>> Thoughts? >>> >>> >>> >>> From: Syed Ahmed >>> Sent: Tuesday, January 24, 20

Re: Adding VirtIO SCSI to KVM hypervisors

2017-02-21 Thread Nathan Johnson
ware code, it >> looks like maybe they already use this parameter? It would be great if >> someone familiar with the vmware code could chime in here. >> >> Thanks, >> >> Nathan >> >> >> >>> Wido >>> >>>

Re: Adding VirtIO SCSI to KVM hypervisors

2017-02-21 Thread Sergey Levitskiy
iar with the vmware code could chime in here. > > Thanks, > > Nathan > > > >> Wido >> >>> Thoughts? >>> >>> >>> >>> From: Syed Ahmed

Re: Adding VirtIO SCSI to KVM hypervisors

2017-02-21 Thread Nathan Johnson
>> name inside the agent code. From a quick glance at the vmware code, it >> looks like maybe they already use this parameter? It would be great if >> someone familiar with the vmware code could chime in here. >> >> Thanks, >> >> Nathan

Re: Adding VirtIO SCSI to KVM hypervisors

2017-01-21 Thread Laszlo Hornyak
Hi Wido, If I understand correctly from the documentation and your examples, virtio provides virtio interface to the guest while virtio-scsi provides scsi interface, therefore an IaaS service should not replace it without user request / approval. It would be probably better to let the user set wha

Re: Adding VirtIO SCSI to KVM hypervisors

2017-01-21 Thread Syed Ahmed
Wido, Were you thinking of adding this as a global setting? I can see why it will be useful. I'm happy to review any ideas you might have around this. Thanks, -Syed On Sat, Jan 21, 2017 at 04:46 Laszlo Hornyak wrote: > Hi Wido, > > If I understand correctly from the documentation and your examp

Re: Adding VirtIO SCSI to KVM hypervisors

2017-01-21 Thread Wido den Hollander
> Op 21 januari 2017 om 16:15 schreef Syed Ahmed : > > > Wido, > > Were you thinking of adding this as a global setting? I can see why it will > be useful. I'm happy to review any ideas you might have around this. > Well, not really. We don't have any structure for this in place right now to

RE: Adding VirtIO SCSI to KVM hypervisors

2017-01-21 Thread Simon Weller
- From: Wido den Hollander [w...@widodh.nl] Received: Saturday, 21 Jan 2017, 2:56PM To: Syed Ahmed [sah...@cloudops.com]; dev@cloudstack.apache.org [dev@cloudstack.apache.org] Subject: Re: Adding VirtIO SCSI to KVM hypervisors > Op 21 januari 2017 om 16:15 schreef Syed Ahmed : > > >

Re: Adding VirtIO SCSI to KVM hypervisors

2017-01-21 Thread Syed Ahmed
stomers. > > > > Simon Weller/615-312-6068 <(615)%20312-6068> > > > -Original Message- > *From:* Wido den Hollander [w...@widodh.nl] > *Received:* Saturday, 21 Jan 2017, 2:56PM > *To:* Syed Ahmed [sah...@cloudops.com]; dev@cloudstack.apache.org [ > dev@c

RE: Adding VirtIO SCSI to KVM hypervisors

2017-01-21 Thread Simon Weller
[dev@cloudstack.apache.org] Subject: Re: Adding VirtIO SCSI to KVM hypervisors Exposing this via an API would be tricky but it can definitely be added as a cluster-wide or a global setting in my opinion. By enabling that, all the instances would be using VirtIO SCSI. Is there a reason you'd want some instan

Re: Adding VirtIO SCSI to KVM hypervisors

2017-01-21 Thread Wido den Hollander
t;> *From:* Wido den Hollander [w...@widodh.nl] >> *Received:* Saturday, 21 Jan 2017, 2:56PM >> *To:* Syed Ahmed [sah...@cloudops.com]; dev@cloudstack.apache.org [ >> dev@cloudstack.apache.org] >> *Subject:* Re: Adding VirtIO SCSI to KVM hypervisors >> >> >>&g

Re: Adding VirtIO SCSI to KVM hypervisors

2017-01-23 Thread Wido den Hollander
; > >> > >> > >> Simon Weller/615-312-6068 <(615)%20312-6068> > >> > >> > >> -Original Message- > >> *From:* Wido den Hollander [w...@widodh.nl] > >> *Received:* Saturday, 21 Jan 2017, 2:56PM > >> *

Re: Adding VirtIO SCSI to KVM hypervisors

2017-01-24 Thread Syed Ahmed
with Windows VMs before? The standard virtio > driver > > >> doesn't support spanned disks and that's something we'd really like to > > >> enable for our customers. > > >> > > >> > > >> > > >> Simon Weller/615-3

Re: Adding VirtIO SCSI to KVM hypervisors

2017-01-24 Thread Simon Weller
Subject: Re: Adding VirtIO SCSI to KVM hypervisors To maintain backward compatibility we would have to add a config option here unfortunately. I do like the idea however. We can make the default VirtIO ISCSI and keep the VirtIO-blk as an alternative for existing installations. On Mon, Jan 23, 2017 at

Re: Adding VirtIO SCSI to KVM hypervisors

2017-01-24 Thread Wido den Hollander
indows VMs before? The standard virtio driver > > >> doesn't support spanned disks and that's something we'd really like to > > >> enable for our customers. > > >> > > >> > > >> > > >> Simon Weller/615-312-6068