This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Hyper-v how reduce lag and increase throughput?

I just got my sophos going thanks to the help of ruhllatio.  I am static about the way this UTM works and the features.  The problem I am having is that lag is horrendous and my speed is as bad.  Before sophos I was pinging at 5 ms and now I am pushing 300.  I have a 105 internet connection and I am barelly getting thirty.

I have IPS turned off, I know that virtual nic's add overhead but wao that much?

If there is not much I can do, If I create a dedicated box, will I be able to get 100 megs even with IPS turned on?

Right now my machine is an intel I5-2500 it has 8 gigs of ram, I am allocating 3 gigs to astaro CPU at 2 percent and ram at 24 percent.


Thanks


This thread was automatically locked due to age.
  • I just got my sophos going thanks to the help of ruhllatio.  I am static about the way this UTM works and the features.  The problem I am having is that lag is horrendous and my speed is as bad.  Before sophos I was pinging at 5 ms and now I am pushing 300.  I have a 105 internet connection and I am barelly getting thirty.

    I have IPS turned off, I know that virtual nic's add overhead but wao that much?

    If there is not much I can do, If I create a dedicated box, will I be able to get 100 megs even with IPS turned on?

    Right now my machine is an intel I5-2500 it has 8 gigs of ram, I am allocating 3 gigs to astaro CPU at 2 percent and ram at 24 percent.

    Thanks


    Hello

    A dedicated, non virtualized box definately would definately delivering much higher ips throughput.

    A few very basic things to check on your UTM VM.

    Are all virtualization features activated on the host system as Intel VT-x and VT-d etc. (to check in Bios)

    Did you add another vCPU? 2 cores are minimum to have fun, that one core mainly serves ips, the second one the rest.

    Probably you also may assign the VM cpu core(s) to fixed physical cpu cores on the host.

    The laggyness also may occur, if your VMs on the host are totally overcommited to available physical RAM, as soon as your UTM VM starts to swap on your host due heavy memory overcommitement, IPS and Webfilter performance drops. I don't know how many VMs you're running on that host, but 8Gigs can become quickly a bottleneck.

    Geschrieben auf meinem Galaxy Nexus mit Astaro.org
  • Hello

    A dedicated, non virtualized box definately would definately delivering much higher ips throughput.

    A few very basic things to check on your UTM VM.

    Are all virtualization features activated on the host system as Intel VT-x and VT-d etc. (to check in Bios)

    Did you add another vCPU? 2 cores are minimum to have fun, that one core mainly serves ips, the second one the rest.

    Probably you also may assign the VM cpu core(s) to fixed physical cpu cores on the host.

    The laggyness also may occur, if your VMs on the host are totally overcommited to available physical RAM, as soon as your UTM VM starts to swap on your host due heavy memory overcommitement, IPS and Webfilter performance drops. I don't know how many VMs you're running on that host, but 8Gigs can become quickly a bottleneck.

    Geschrieben auf meinem Galaxy Nexus mit Astaro.org



    Hi,

    Thanks for the reply, I was only using one vcore, I added the second and I gained about another 5 or 6 megs so now I am about 38 megs on a 100 meg connection.  I disabled everything on astaro and my ping is down to 23 ms.  Once I figure out what is up with my download I will start turning one service at a time on to figure out what is causing the lag.  

    I am only using one virtual server on my machine. I will check the bios set up now. thanks for the help
  • Hello

    A dedicated, non virtualized box definately would definately delivering much higher ips throughput.

    A few very basic things to check on your UTM VM.

    Are all virtualization features activated on the host system as Intel VT-x and VT-d etc. (to check in Bios)

    Did you add another vCPU? 2 cores are minimum to have fun, that one core mainly serves ips, the second one the rest.

    Probably you also may assign the VM cpu core(s) to fixed physical cpu cores on the host.

    The laggyness also may occur, if your VMs on the host are totally overcommited to available physical RAM, as soon as your UTM VM starts to swap on your host due heavy memory overcommitement, IPS and Webfilter performance drops. I don't know how many VMs you're running on that host, but 8Gigs can become quickly a bottleneck.

    Geschrieben auf meinem Galaxy Nexus mit Astaro.org


    Wrong.  I can get maximum performance in BOTH physical and virtual setups.  I have two vm on astaro and 2 physical astaros and ANY of them can max ouut their lines.  The biggest thing is making sure your setup is correct.  Modern hypervisors have nearly zero overhead so there's no discernable difference barring a misconfiguration of some sort.

    For the OP,

    We need full disclosure of your physical hardware and full disclosure of EVERY VM on that box.
  • Hello

    A dedicated, non virtualized box definately would definately delivering much higher ips throughput.

    A few very basic things to check on your UTM VM.

    Are all virtualization features activated on the host system as Intel VT-x and VT-d etc. (to check in Bios)

    Did you add another vCPU? 2 cores are minimum to have fun, that one core mainly serves ips, the second one the rest.

    Probably you also may assign the VM cpu core(s) to fixed physical cpu cores on the host.

    The laggyness also may occur, if your VMs on the host are totally overcommited to available physical RAM, as soon as your UTM VM starts to swap on your host due heavy memory overcommitement, IPS and Webfilter performance drops. I don't know how many VMs you're running on that host, but 8Gigs can become quickly a bottleneck.

    Geschrieben auf meinem Galaxy Nexus mit Astaro.org


    Wrong.  I can get maximum performance in BOTH physical and virtual setups.  I have two vm on astaro and 2 physical astaros and ANY of them can max ouut their lines.  The biggest thing is making sure your setup is correct.  Modern hypervisors have nearly zero overhead so there's no discernable difference barring a misconfiguration of some sort.

    For the OP,

    We need full disclosure of your physical hardware and full disclosure of EVERY VM on that box.


    I am not sure about what you mean for full disclosure but I will do my best.

     
    intel I5-2500
    Geforce GT 430 Video Card with latest drivers
    Gygabyte Mother Board with latest driver P55a UD4P
    8 Gigs Ram
    1 TB hard Drive
    Using the Two nic cards on the mobo

    I only have one VM on the machine the one with AStaro
  • how is the astaro setup?  are you only using two nics for the astaro..aka one for internal and one for wan?  

    here's some things to check:
    set two vcpus
    set mimum cpu percentage to 50 and maximum cpu percentage to 100.
    set ram to 4 gigs.
    are you running hyper-v directly or using hyper-v inside of server 2008?

    Let me know about this part first then we can troubleshoot the rest.  Baby steps you don't want to go changing a bunch of things at once or you won't be able to nail down where the issue is.
  • how is the astaro setup?  are you only using two nics for the astaro..aka one for internal and one for wan?  

    here's some things to check:
    set two vcpus
    set mimum cpu percentage to 50 and maximum cpu percentage to 100.
    set ram to 4 gigs.
    are you running hyper-v directly or using hyper-v inside of server 2008?

    Let me know about this part first then we can troubleshoot the rest.  Baby steps you don't want to go changing a bunch of things at once or you won't be able to nail down where the issue is.



    I am using both nics for astaro, One for Wan and one for internal.I am using Hyper V inside windows Server 2012. 

    I made the changes suggested but the speed still the same, 40 megs or so download.  I did not realize that you could install Hyper-V by itself.
  • I want to report some progress, I set both nick cards to 100 mb connection full duplex and now my download speed is bumped to 75 megs.  Only 25 more megs to go [:)]  Thanks again for helping me trouble shoot this.

    I forgot to mention, the cards I am using in hyper v are set up as Legacy cards, should I use the virtual or are the legacy cards fine?
  • Did you install the hyper-v integration services in the guest os?
  • Astaro has hyper-v tools built in.  

    Redemption,

    you won't see 100 megs with them set to 100 megs due to overhead.  I would set the nics to virtual..this way the hyhper-v tools can actually work correctly.  Try that and then change back to gig-e.  

    Also onboard nics on consumer boards tend to be realtek or marvel or some other kind of cruddy nic.  Also hwich switch are you using?  if you can't go gigabit either your nics aren't playing nice or the switch isn't.
  • Did you install the hyper-v integration services in the guest os?



    Yes, I installed the integration services on the guest os.