Re: [Openstack] URGENT: packet loss on openstack instance

2018-09-16 Thread Liping Mao (limao)
> Question: I have br-vlan interface mapp with bond0 to run my VM (VLAN traffic), so do i need to do anything in bond0 to enable VF/PF function? Just confused because currently my VM nic map with compute node br-vlan bridge. I had not actually used SRIOV in my env~ maybe others could help.

Re: [Openstack] URGENT: packet loss on openstack instance

2018-09-16 Thread Satish Patel
Thanks Liping, I will check bug for tx/rx queue size and see if i can make it work but look like my 10G NIC support SR-IOV so i am trying that path because it will be better for long run. I have deploy my cloud using openstack-ansible so now i need to figure out how do i wire that up with opensta

Re: [Openstack] Can any user add or delete OpenStack Swift middleware?

2018-09-16 Thread John Dickinson
You may be interested in Storlets. It's another OpenStack project, maintained by a Swift core reviewer, that provides this sort of user-defined middleware functionality. You can also ask about it in #openstack-swift --John On 16 Sep 2018, at 9:25, Qiao Kang wrote: Hi, I'm wondering wheth

Re: [Openstack] Can any user add or delete OpenStack Swift middleware?

2018-09-16 Thread Remo Mattei
https://docs.openstack.org/swift/latest/overview_acl.html This should help. Remo > On Sep 16, 2018, at 16:15, Qiao Kang wrote: > > Thanks Remo. > > What did you mean by using ACL? Does it mean different users can see > different mid

Re: [Openstack] URGENT: packet loss on openstack instance

2018-09-16 Thread Liping Mao (limao)
Hi Satish, There are hard limitations in nova's code, I did not actually used more thant 8 queues: def _get_max_tap_queues(self): # NOTE(kengo.sakai): In kernels prior to 3.0, # multiple queues on a tap interface is not supported. # In kernels 3.x, the number o

Re: [Openstack] Can any user add or delete OpenStack Swift middleware?

2018-09-16 Thread Qiao Kang
Thanks Remo. What did you mean by using ACL? Does it mean different users can see different middleware pipelines? For instance, Alice: middleware_1 -> middleware_2 -> middleware_3 ... Bob: middleware_2 -> middleware_4 ... Is that feasible? Thanks, Qiao On Sun, Sep 16, 2018 at 6:05 PM Remo M

Re: [Openstack] Can any user add or delete OpenStack Swift middleware?

2018-09-16 Thread Remo Mattei
Users cannot install middleware. You can use ACL for users with the same share. Remo > On Sep 16, 2018, at 09:25, Qiao Kang wrote: > > Hi, > > I'm wondering whether Swift allows any user (not the administrator) to > specify which middleware that she/he wants his data object to go throught. >

Re: [Openstack] URGENT: packet loss on openstack instance

2018-09-16 Thread Satish Patel
Update on my last email. I am able to achieve 150kpps with queue=8 and my goal is to do 300kpps because some of voice application using 300kps. Here i am trying to increase rx_queue_size & tx_queue_size but its not working somehow. I have tired following. 1. add rx/tx size in /etc/nova/nova.conf

Re: [Openstack] URGENT: packet loss on openstack instance

2018-09-16 Thread Satish Patel
I successful reproduce this error with hping3 tool and look like multiqueue is our solution :) but i have few question you may have answer of that. 1. I have created two instance (vm1.example.com & vm2.example.com) 2. I have flood traffic from vm1 using "hping3 vm2.example.com --flood" and i ha

[Openstack] Can any user add or delete OpenStack Swift middleware?

2018-09-16 Thread Qiao Kang
Hi, I'm wondering whether Swift allows any user (not the administrator) to specify which middleware that she/he wants his data object to go throught. For instance, Alice wants to install a middleware but doesn't want Bob to use it, where Alice and Bob are two accounts in a single Swift cluster. O

Re: [Openstack] URGENT: packet loss on openstack instance

2018-09-16 Thread Satish Patel
Hi Liping, >> I think multi queue feature should help.(be careful to make sure the ethtool >> update queue number action also did after reboot the vm). Is there a way i can automate this last task to update queue number action after reboot vm :) otherwise i can use cloud-init to make sure all VM

Re: [Openstack] URGENT: packet loss on openstack instance

2018-09-16 Thread Satish Patel
I am currently playing with those setting and trying to generate traffic with hping3 tools, do you have any tool to test traffic performance for specially udp style small packets. I am going to share all my result and see what do you feel because i have noticed you went through this pain :) I wil

Re: [Openstack] URGENT: packet loss on openstack instance

2018-09-16 Thread Liping Mao (limao)
I think multi queue feature should help.(be careful to make sure the ethtool update queue number action also did after reboot the vm). Numa cpu pin and queue length will be a plus in my exp. You may need yo have performance test in your situatuon,in my case cpu numa helpped the app get very sta

Re: [Openstack] URGENT: packet loss on openstack instance

2018-09-16 Thread Satish Patel
Thanks Liping, I am using libvertd 3.9.0 version so look like i am eligible take advantage of that feature. phew! [root@compute-47 ~]# libvirtd -V libvirtd (libvirt) 3.9.0 Let me tell you how i am running instance on my openstack, my compute has 32 core / 32G memory and i have created two insta

Re: [Openstack] URGENT: packet loss on openstack instance

2018-09-16 Thread Liping Mao (limao)
It is still possible to update rx and tx queues length if your qemu and libvirt version is higher than the version recorded in [3]. (You should possible to update directly in libvirt configuration if my memory is correct) We also have some similar use case which run audio/vedio serivcs. They are

Re: [Openstack] URGENT: packet loss on openstack instance

2018-09-16 Thread Satish Patel
Hi Liping, Thank you for your reply, We notice packet drops during high load, I did try txqueue and didn't help so I believe I am going to try miltiqueue. For SRIOV I have to look if I have support in my nic. We are using queens so I think queue size option not possible :( We are using voip