All of lore.kernel.org
 help / color / mirror / Atom feed
* Doubts about Kvm architecture
@ 2017-05-31 17:09 Maurício Almeida
  2017-05-31 17:48   ` [Qemu-devel] " Mihai Donțu
  0 siblings, 1 reply; 3+ messages in thread
From: Maurício Almeida @ 2017-05-31 17:09 UTC (permalink / raw)
  To: qemu-devel, kvm

Hello Guys!
My name is Maurício, we are making a study about Kvm Paravirtualized
and Full virtualized at our University, we are from University Federal
of Santa Maria.
Can you give us some papers about how the Kvm or Qemu executes the I/O
Network with one emulated Device?

We executed some tests using Virtio Driver and e1000 emulated driver,
the network output of Virtio is normal and use four of the four
Machine Cpu's, but the output of e1000 Emulated driver was too low
about Virtio and It onlyused one of the four machine cpu's during the
network test execution.
The Traffic of Virtio was 956 MB/s while e1000 Emulated Driver was 192
MB/s, both using Packet size of 1518 Bytes.

Why when it used e1000 Emulated Driver the traffic was to low and use
only one Cpu all the time?
Do Qemu or Kvm Guest need some specific configuration to use all CPU's?

Do you have any paper where we can find in details if Qemu is limited
to use one CPU when use Network Emulated Driver?

Thank you
Att Maurício Almeida

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Doubts about Kvm architecture
  2017-05-31 17:09 Doubts about Kvm architecture Maurício Almeida
@ 2017-05-31 17:48   ` Mihai Donțu
  0 siblings, 0 replies; 3+ messages in thread
From: Mihai Donțu @ 2017-05-31 17:48 UTC (permalink / raw)
  To: Maurício Almeida; +Cc: qemu-devel, kvm

On Wed, 2017-05-31 at 14:09 -0300, Maurício Almeida wrote:
> My name is Maurício, we are making a study about Kvm Paravirtualized
> and Full virtualized at our University, we are from University Federal
> of Santa Maria.
> Can you give us some papers about how the Kvm or Qemu executes the I/O
> Network with one emulated Device?
> 
> We executed some tests using Virtio Driver and e1000 emulated driver,
> the network output of Virtio is normal and use four of the four
> Machine Cpu's, but the output of e1000 Emulated driver was too low
> about Virtio and It onlyused one of the four machine cpu's during the
> network test execution.
> The Traffic of Virtio was 956 MB/s while e1000 Emulated Driver was 192
> MB/s, both using Packet size of 1518 Bytes.
> 
> Why when it used e1000 Emulated Driver the traffic was to low and use
> only one Cpu all the time?
> Do Qemu or Kvm Guest need some specific configuration to use all CPU's?
> 
> Do you have any paper where we can find in details if Qemu is limited
> to use one CPU when use Network Emulated Driver?

A cursory look over the qemu e1000 driver would suggest that it does
not support multithreading. virtio largely bypasses the qemu hw
machinery.

-- 
Mihai Donțu

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] Doubts about Kvm architecture
@ 2017-05-31 17:48   ` Mihai Donțu
  0 siblings, 0 replies; 3+ messages in thread
From: Mihai Donțu @ 2017-05-31 17:48 UTC (permalink / raw)
  To: Maurício Almeida; +Cc: qemu-devel, kvm

On Wed, 2017-05-31 at 14:09 -0300, Maurício Almeida wrote:
> My name is Maurício, we are making a study about Kvm Paravirtualized
> and Full virtualized at our University, we are from University Federal
> of Santa Maria.
> Can you give us some papers about how the Kvm or Qemu executes the I/O
> Network with one emulated Device?
> 
> We executed some tests using Virtio Driver and e1000 emulated driver,
> the network output of Virtio is normal and use four of the four
> Machine Cpu's, but the output of e1000 Emulated driver was too low
> about Virtio and It onlyused one of the four machine cpu's during the
> network test execution.
> The Traffic of Virtio was 956 MB/s while e1000 Emulated Driver was 192
> MB/s, both using Packet size of 1518 Bytes.
> 
> Why when it used e1000 Emulated Driver the traffic was to low and use
> only one Cpu all the time?
> Do Qemu or Kvm Guest need some specific configuration to use all CPU's?
> 
> Do you have any paper where we can find in details if Qemu is limited
> to use one CPU when use Network Emulated Driver?

A cursory look over the qemu e1000 driver would suggest that it does
not support multithreading. virtio largely bypasses the qemu hw
machinery.

-- 
Mihai Donțu

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-05-31 17:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-31 17:09 Doubts about Kvm architecture Maurício Almeida
2017-05-31 17:48 ` Mihai Donțu
2017-05-31 17:48   ` [Qemu-devel] " Mihai Donțu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.