[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Slow network performance with KVM



> -----Original Message-----
> From: Bob Proulx [mailto:bob@proulx.com]
> Sent: Saturday, December 15, 2012 5:54 AM
> To: debian-user@lists.debian.org
> Subject: Re: Slow network performance with KVM
> 
> Katynski, Bogdan wrote:
> 
> > I noticed a rather poor network guest-guest performance.
> 
> Have you loaded the vhost-net kernel module?  It is a huge lever for
> network performance.
> 
> What is the output:
> 
>   $ lsmod | grep vhost_net

Hi Bob.

Thank you for the answer.


I don't have the module loaded and what's worse - I don't have this module :(

root@vmhost:~# modprobe vhost-net
FATAL: Module vhost_net not found.

> Since you haven't mentioned the vhost-net driver I am going to assume
> that you are not running it.  Set that up.  Verify that your kvm host
> configuration is using it.
> 
>   $ ps -ef | grep qemu | grep --color vhost
>   ... vhost=on,vhostfd=21 ...
> 
>   $ ps -ef | grep --color vhost
>   root      9599     2  0 21:51 ?        00:00:00 [vhost-9598]
> 

I don't have these options In my kvm processes. Do I need an additional package with this module? Or maybe a backported more recent kernel?

Best regards
Bogdan Katynski


Reply to: