Michal Privoznik
2017-Oct-26 08:46 UTC
Re: [libvirt-users] Need to increase the rx and tx buffer size of my interface
On 10/26/2017 10:38 AM, Ashish Kurian wrote:> Hi Yalan and Michal, > > Thank you for your response. So what I understand is that I can change > rx_queue size even if I use direct type interface and qemu driver as long > as the driver is virtio. Am I right?Yes.> If that is the case why am I getting > the error saying that > > error: XML document failed to validate against schema: Unable to validate > doc against /usr/share/libvirt/schemas/domain.rng > Extra element devices in interleave > Element domain failed to validate contentWhat's your libvirt version? For rx_queue_size you need 2.3.0 or newer. For tx_queue_size you need 3.7.0 or newer (not that there's one yet).> > for the following xml config? Btw I changed vepa to bridged mode hoping it > would help me. Also note that I tried the following without any driver name > and it still failed. > > > <interface type='direct'> > <mac address='52:54:00:72:f9:eb'/> > <source dev='enp7s0f0' mode='bridge'/> > <model type='virtio'/> > <driver name='qemu' queues='5' rx_queue_size='512'> > <host csum='off' gso='off' tso4='off' tso6='off' ecn='off' > ufo='off' mrg_rxbuf='off'/> > <guest csum='off' tso4='off' tso6='off' ecn='off' ufo='off'/> > </driver> >This works for me. I'm running recent git. Michal
Ashish Kurian
2017-Oct-26 08:50 UTC
Re: [libvirt-users] Need to increase the rx and tx buffer size of my interface
Hi Michal, Mine is iplab@iceman:~$ libvirtd --version libvirtd (libvirt) 1.3.1 I think this can be the issue. I will update and try again Best Regards, Ashish Kurian On Thu, Oct 26, 2017 at 10:46 AM, Michal Privoznik <mprivozn@redhat.com> wrote:> On 10/26/2017 10:38 AM, Ashish Kurian wrote: > > Hi Yalan and Michal, > > > > Thank you for your response. So what I understand is that I can change > > rx_queue size even if I use direct type interface and qemu driver as long > > as the driver is virtio. Am I right? > > Yes. > > > If that is the case why am I getting > > the error saying that > > > > error: XML document failed to validate against schema: Unable to validate > > doc against /usr/share/libvirt/schemas/domain.rng > > Extra element devices in interleave > > Element domain failed to validate content > > What's your libvirt version? For rx_queue_size you need 2.3.0 or newer. > For tx_queue_size you need 3.7.0 or newer (not that there's one yet). > > > > > for the following xml config? Btw I changed vepa to bridged mode hoping > it > > would help me. Also note that I tried the following without any driver > name > > and it still failed. > > > > > > <interface type='direct'> > > <mac address='52:54:00:72:f9:eb'/> > > <source dev='enp7s0f0' mode='bridge'/> > > <model type='virtio'/> > > <driver name='qemu' queues='5' rx_queue_size='512'> > > <host csum='off' gso='off' tso4='off' tso6='off' ecn='off' > > ufo='off' mrg_rxbuf='off'/> > > <guest csum='off' tso4='off' tso6='off' ecn='off' ufo='off'/> > > </driver> > > > > This works for me. I'm running recent git. > > Michal >
Ashish Kurian
2017-Oct-26 10:18 UTC
Re: [libvirt-users] Need to increase the rx and tx buffer size of my interface
Hi Michal, I installed the latest version from the git and did run the libvirt from the new directory using /home/to/your/checkout/daemon/libvirtd But I still see that the version is 1.3.1. I have also stopped the already running libvirt daemon and ran the new daemon from the directory and it is showing 1.3.1 Best Regards, Ashish Kurian On Thu, Oct 26, 2017 at 10:50 AM, Ashish Kurian <ashishbnv@gmail.com> wrote:> Hi Michal, > > Mine is > > iplab@iceman:~$ libvirtd --version > libvirtd (libvirt) 1.3.1 > > I think this can be the issue. I will update and try again > > > > Best Regards, > Ashish Kurian > > On Thu, Oct 26, 2017 at 10:46 AM, Michal Privoznik <mprivozn@redhat.com> > wrote: > >> On 10/26/2017 10:38 AM, Ashish Kurian wrote: >> > Hi Yalan and Michal, >> > >> > Thank you for your response. So what I understand is that I can change >> > rx_queue size even if I use direct type interface and qemu driver as >> long >> > as the driver is virtio. Am I right? >> >> Yes. >> >> > If that is the case why am I getting >> > the error saying that >> > >> > error: XML document failed to validate against schema: Unable to >> validate >> > doc against /usr/share/libvirt/schemas/domain.rng >> > Extra element devices in interleave >> > Element domain failed to validate content >> >> What's your libvirt version? For rx_queue_size you need 2.3.0 or newer. >> For tx_queue_size you need 3.7.0 or newer (not that there's one yet). >> >> > >> > for the following xml config? Btw I changed vepa to bridged mode hoping >> it >> > would help me. Also note that I tried the following without any driver >> name >> > and it still failed. >> > >> > >> > <interface type='direct'> >> > <mac address='52:54:00:72:f9:eb'/> >> > <source dev='enp7s0f0' mode='bridge'/> >> > <model type='virtio'/> >> > <driver name='qemu' queues='5' rx_queue_size='512'> >> > <host csum='off' gso='off' tso4='off' tso6='off' ecn='off' >> > ufo='off' mrg_rxbuf='off'/> >> > <guest csum='off' tso4='off' tso6='off' ecn='off' ufo='off'/> >> > </driver> >> > >> >> This works for me. I'm running recent git. >> >> Michal >> > >
Maybe Matching Threads
- Re: Need to increase the rx and tx buffer size of my interface
- Re: Need to increase the rx and tx buffer size of my interface
- Re: Need to increase the rx and tx buffer size of my interface
- Re: Need to increase the rx and tx buffer size of my interface
- Re: Need to increase the rx and tx buffer size of my interface