[openstack-dev] [Openstack] Internet access within launched instances too slow

Rahul Sharma rahulsharmaait at gmail.com
Thu May 30 06:01:17 UTC 2013


Hi All,

I was able to resolve this issue by changing the MTU size within the
instances from 1500 to 1454. I got these pointers from this mailthread:-
https://lists.launchpad.net/openstack/msg24050.html

Thanks and Regards
Rahul Sharma


On Tue, May 28, 2013 at 5:00 PM, Rahul Sharma <rahulsharmaait at gmail.com>wrote:

> Here is the content of my nova-compute.conf file:-
>
> root at compute1:~# cat /etc/nova/nova-compute.conf
> [DEFAULT]
> libvirt_type=kvm
> libvirt_ovs_bridge=br-int
> libvirt_vif_type=ethernet
> libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver
> libvirt_use_virtio_for_bridges=True
> libvirt_cpu_mode=host-passthrough
>
>
> -Regards
> Rahul
>
>
> On Tue, May 28, 2013 at 4:46 PM, Rahul Sharma <rahulsharmaait at gmail.com>wrote:
>
>> Yes, same issue after restarting the nova-compute daemon.
>>
>> -Regards
>> Rahul
>>
>>
>> On Tue, May 28, 2013 at 4:29 PM, JuanFra Rodriguez Cardoso <
>> juanfra.rodriguez.cardoso at gmail.com> wrote:
>>
>>> Same issues after restarting nova-compute daemons and launching new
>>> instances?
>>>
>>> ---
>>> JuanFra
>>>
>>>
>>> 2013/5/28 Rahul Sharma <rahulsharmaait at gmail.com>
>>>
>>>> Nope. Still the same problem.
>>>>
>>>> -Regards
>>>> Rahul
>>>>
>>>>
>>>> On Tue, May 28, 2013 at 4:15 PM, Rahul Sharma <rahulsharmaait at gmail.com
>>>> > wrote:
>>>>
>>>>> Thanks JuanFra. I will use these and let you know the status.
>>>>>
>>>>> Thanks and Regards
>>>>> Rahul Sharma
>>>>>
>>>>>
>>>>> On Tue, May 28, 2013 at 4:04 PM, JuanFra Rodriguez Cardoso <
>>>>> juanfra.rodriguez.cardoso at gmail.com> wrote:
>>>>>
>>>>>> Have you tried configuring your compute nodes with the following
>>>>>> options in file 'nova.conf'?
>>>>>>
>>>>>> These options could be improve your instance performance:
>>>>>>
>>>>>> libvirt_cpu_mode = host-passthrough
>>>>>> libvirt_use_virtio_for_bridges = True
>>>>>>
>>>>>>
>>>>>>
>>>>>> PD: I suppose you are using:
>>>>>>
>>>>>> libvirt_type = kvm
>>>>>> compute_driver = libvirt.LibvirtDriver
>>>>>>
>>>>>>
>>>>>>  ---
>>>>>> JuanFra
>>>>>>
>>>>>>
>>>>>> 2013/5/28 Rahul Sharma <rahulsharmaait at gmail.com>
>>>>>>
>>>>>>> I checked, they are fine. nslookup is giving correct result.
>>>>>>>
>>>>>>> root at instance1:/home/ubuntu# nslookup www.google.com
>>>>>>> Server:         192.168.0.4
>>>>>>> Address:        192.168.0.4#53
>>>>>>>
>>>>>>> Non-authoritative answer:
>>>>>>> Name:   www.google.com
>>>>>>> Address: 74.125.135.147
>>>>>>> Name:   www.google.com
>>>>>>> Address: 74.125.135.99
>>>>>>> Name:   www.google.com
>>>>>>> Address: 74.125.135.103
>>>>>>> Name:   www.google.com
>>>>>>> Address: 74.125.135.104
>>>>>>> Name:   www.google.com
>>>>>>> Address: 74.125.135.105
>>>>>>> Name:   www.google.com
>>>>>>> Address: 74.125.135.106
>>>>>>>
>>>>>>> -Regards
>>>>>>> Rahul
>>>>>>>
>>>>>>>
>>>>>>> On Tue, May 28, 2013 at 3:42 PM, Balamurugan V G <
>>>>>>> balamuruganvg at gmail.com> wrote:
>>>>>>>
>>>>>>>> Check if you have the right DNS server settings on your VM.
>>>>>>>> Sometimes
>>>>>>>> even that can slow the access.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Balu
>>>>>>>>
>>>>>>>> On Tue, May 28, 2013 at 3:31 PM, Rahul Sharma <
>>>>>>>> rahulsharmaait at gmail.com> wrote:
>>>>>>>> > Yes, I am using KVM.
>>>>>>>> >
>>>>>>>> > -Regards
>>>>>>>> > Rahul Sharma
>>>>>>>> >
>>>>>>>> >
>>>>>>>> > On Tue, May 28, 2013 at 2:49 PM, JuanFra Rodriguez Cardoso
>>>>>>>> > <juanfra.rodriguez.cardoso at gmail.com> wrote:
>>>>>>>> >>
>>>>>>>> >> Hi:
>>>>>>>> >>
>>>>>>>> >> Which hypervisor are you using? KVM with virtio driver?
>>>>>>>> >>
>>>>>>>> >> ---
>>>>>>>> >> JuanFra
>>>>>>>> >>
>>>>>>>> >>
>>>>>>>> >> 2013/5/28 Rahul Sharma <rahulsharmaait at gmail.com>
>>>>>>>> >>>
>>>>>>>> >>> Hi All,
>>>>>>>> >>>
>>>>>>>> >>> I have a multinode setup of Openstack-Grizzly release with
>>>>>>>> Networking
>>>>>>>> >>> node as a separate machine. I am able to successfully bring up
>>>>>>>> instances and
>>>>>>>> >>> ping to google from within the instances. Everything is working
>>>>>>>> fine except
>>>>>>>> >>> the speed of internet access from within the instances.
>>>>>>>> >>>
>>>>>>>> >>> When I try to "wget <file>" or do "apt-get update", its taking
>>>>>>>> a lot of
>>>>>>>> >>> time(1 hr 40 mins for apt-get update). However, if I do the
>>>>>>>> same on the
>>>>>>>> >>> physical compute-nodes or on the network-node, it updates
>>>>>>>> within seconds. I
>>>>>>>> >>> am not sure why the network access within the instances is so
>>>>>>>> slow which on
>>>>>>>> >>> the other hand is quite fast on the hosts.
>>>>>>>> >>>
>>>>>>>> >>> Any pointers or steps to debug the issue would be really
>>>>>>>> helpful. Please
>>>>>>>> >>> let me know how I can debug this scenario.
>>>>>>>> >>>
>>>>>>>> >>> Thanks and Regards
>>>>>>>> >>> Rahul Sharma
>>>>>>>> >>>
>>>>>>>> >>> _______________________________________________
>>>>>>>> >>> Mailing list: https://launchpad.net/~openstack
>>>>>>>> >>> Post to     : openstack at lists.launchpad.net
>>>>>>>> >>> Unsubscribe : https://launchpad.net/~openstack
>>>>>>>> >>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>> >>>
>>>>>>>> >>
>>>>>>>> >
>>>>>>>> >
>>>>>>>> > _______________________________________________
>>>>>>>> > Mailing list: https://launchpad.net/~openstack
>>>>>>>> > Post to     : openstack at lists.launchpad.net
>>>>>>>> > Unsubscribe : https://launchpad.net/~openstack
>>>>>>>> > More help   : https://help.launchpad.net/ListHelp
>>>>>>>> >
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130530/32c16540/attachment.html>


More information about the OpenStack-dev mailing list