Hello

Cool that worked for you.

My other suggestion was that you can test other virtual nics and see what
goes faster.

Lots of things to test, example:

  config.vm.provider "virtualbox" do |vb|

    vb.customize ["modifyvm", :id, "--memory", "2048"]

    vb.customize ["modifyvm", :id, "--cpus", "2"]

    vb.customize ["modifyvm", :id, "--nictype2", "Am79C973"]

  end

2 is for the 2nd nic, the first one after the nat ..

Types of nic:

                            [--nictype<1-N>Am79C970A|Am79C973|
82540EM|82543GC|82545EM|virtio]

You can also test hw assisted virtualization:

                            [--paravirtprovider none|default|legacy|minimal|
hyperv|kvm]

none is what is used today, but kvm should do the trick in new linux kernel

    vb.customize ["modifyvm", :id, "--paravirtprovider", "kvm"]


Alvaro.

On Thu, Jan 14, 2016 at 10:27 PM, mario rossi <[email protected]> wrote:

> Hey!
> that was clever:
>
> Thank you very much
>
> > 411.20 Mbit/s | 00:00:00 | 73.11 % | 133.30 MB / 182.32 MB
>
>
>
>
> On Thursday, January 14, 2016 at 6:35:13 AM UTC+1, Alvaro Miranda Aguilera
> wrote:
>>
>> Hello. if you are using the port 8080 that goes over the nat of
>> virtualbox.
>>
>> Try to use the ip set from private_network. ifconfig will show you the
>> ip, and try with that ip as test.
>>
>> If does better, you can put a fixed ip, and use that ip that will be
>> directly from host to vm without nat.
>> You will be using a virtual nic on the guest, so you could test different
>> virtual nics and see if that does any better.
>>
>> Alvaro
>>
>> On Thu, Jan 14, 2016 at 4:18 AM, mario rossi <[email protected]> wrote:
>>
>>> Hi, I recently updated to the latest version of Vagrant (1.8.1) and for
>>> some reasons it is now _very_ slow to upload files via http.
>>>
>>> I use NFS and I can successfully copy huge files between shared mounts
>>> at a decent speed, but port 80 is really really slow.
>>>
>>> I tried different uploaders, so it's not something with the code. do you
>>> have any idea of what it could be?
>>>
>>> VAGRANTFILE_API_VERSION = "2"
>>>>
>>>> Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
>>>>>
>>>>   config.vm.hostname = "poorthing"
>>>>>
>>>>   config.vm.synced_folder ".", "/localhost", type:"nfs", :mount_options
>>>>> => ['nolock,vers=3,udp,noatime']
>>>>
>>>>   config.vm.network "forwarded_port", guest: 80, host: 8080
>>>>
>>>>   config.vm.network "forwarded_port", guest: 15672, host: 15672
>>>>
>>>>   # Required for NFS to work, pick any local IP
>>>>
>>>>   config.vm.network "private_network", type: "dhcp"
>>>>
>>>> end
>>>>>
>>>>
>>>
>>>  thank you
>>>
>>> --
>>> This mailing list is governed under the HashiCorp Community Guidelines -
>>> https://www.hashicorp.com/community-guidelines.html. Behavior in
>>> violation of those guidelines may result in your removal from this mailing
>>> list.
>>>
>>> GitHub Issues: https://github.com/mitchellh/vagrant/issues
>>> IRC: #vagrant on Freenode
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Vagrant" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/vagrant-up/13f3833c-5c5d-49ff-b1b4-784aa0b6b681%40googlegroups.com
>>> <https://groups.google.com/d/msgid/vagrant-up/13f3833c-5c5d-49ff-b1b4-784aa0b6b681%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/71f5b3e9-11b3-497a-ae16-a4e75f4fce49%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/71f5b3e9-11b3-497a-ae16-a4e75f4fce49%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0exfm4JjY_%3DoC8643ZO5a0TGHXda%2BvYuEgkWHAw_qB-RcA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to