KVM network packet loss to guest
I am running a server with Debian 8.3, uname output
Linux x 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux
I am using KVM to run a virtual machine with CentOS 7.2.1511 inside it, there are two network interfaces on the host and two network interfaces on the guest using bridges and virt-io.
One of the network interfaces is used for receiving multicasts (around 300mbps, received on the host's eth1 device) and it has packet loss, with the dropped packets visible on the host on "vnet1" interface. I increased the txqueuelen of the interface and the drop counter no longer increases, but packets are still lost.
I tried using virt-io, e1000 and rtl8139 drivers and macvtap (passtrough mode), it all results in more or less packet loss which is a big problem for multicasts. The server cpu usage is low.
How do I make the virtual network behave correctly.
linux debian networking kvm
add a comment |
I am running a server with Debian 8.3, uname output
Linux x 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux
I am using KVM to run a virtual machine with CentOS 7.2.1511 inside it, there are two network interfaces on the host and two network interfaces on the guest using bridges and virt-io.
One of the network interfaces is used for receiving multicasts (around 300mbps, received on the host's eth1 device) and it has packet loss, with the dropped packets visible on the host on "vnet1" interface. I increased the txqueuelen of the interface and the drop counter no longer increases, but packets are still lost.
I tried using virt-io, e1000 and rtl8139 drivers and macvtap (passtrough mode), it all results in more or less packet loss which is a big problem for multicasts. The server cpu usage is low.
How do I make the virtual network behave correctly.
linux debian networking kvm
add a comment |
I am running a server with Debian 8.3, uname output
Linux x 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux
I am using KVM to run a virtual machine with CentOS 7.2.1511 inside it, there are two network interfaces on the host and two network interfaces on the guest using bridges and virt-io.
One of the network interfaces is used for receiving multicasts (around 300mbps, received on the host's eth1 device) and it has packet loss, with the dropped packets visible on the host on "vnet1" interface. I increased the txqueuelen of the interface and the drop counter no longer increases, but packets are still lost.
I tried using virt-io, e1000 and rtl8139 drivers and macvtap (passtrough mode), it all results in more or less packet loss which is a big problem for multicasts. The server cpu usage is low.
How do I make the virtual network behave correctly.
linux debian networking kvm
I am running a server with Debian 8.3, uname output
Linux x 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux
I am using KVM to run a virtual machine with CentOS 7.2.1511 inside it, there are two network interfaces on the host and two network interfaces on the guest using bridges and virt-io.
One of the network interfaces is used for receiving multicasts (around 300mbps, received on the host's eth1 device) and it has packet loss, with the dropped packets visible on the host on "vnet1" interface. I increased the txqueuelen of the interface and the drop counter no longer increases, but packets are still lost.
I tried using virt-io, e1000 and rtl8139 drivers and macvtap (passtrough mode), it all results in more or less packet loss which is a big problem for multicasts. The server cpu usage is low.
How do I make the virtual network behave correctly.
linux debian networking kvm
linux debian networking kvm
asked Feb 1 '16 at 9:21
Pentium100
163128
163128
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Try looking at disabling some of the nic offloading features (ethtool -k/-K tso
, gro
, sg
, etc)
I found the solution to my problem here.
3
Welcome to StackExchange! When using a link in an answer, please provide some context, such as quoting the relevant part.
– JigglyNaga
Aug 23 '16 at 15:45
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f259031%2fkvm-network-packet-loss-to-guest%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try looking at disabling some of the nic offloading features (ethtool -k/-K tso
, gro
, sg
, etc)
I found the solution to my problem here.
3
Welcome to StackExchange! When using a link in an answer, please provide some context, such as quoting the relevant part.
– JigglyNaga
Aug 23 '16 at 15:45
add a comment |
Try looking at disabling some of the nic offloading features (ethtool -k/-K tso
, gro
, sg
, etc)
I found the solution to my problem here.
3
Welcome to StackExchange! When using a link in an answer, please provide some context, such as quoting the relevant part.
– JigglyNaga
Aug 23 '16 at 15:45
add a comment |
Try looking at disabling some of the nic offloading features (ethtool -k/-K tso
, gro
, sg
, etc)
I found the solution to my problem here.
Try looking at disabling some of the nic offloading features (ethtool -k/-K tso
, gro
, sg
, etc)
I found the solution to my problem here.
edited Aug 23 '16 at 15:48
HalosGhost
3,70592235
3,70592235
answered Aug 23 '16 at 15:32
kyleo
32
32
3
Welcome to StackExchange! When using a link in an answer, please provide some context, such as quoting the relevant part.
– JigglyNaga
Aug 23 '16 at 15:45
add a comment |
3
Welcome to StackExchange! When using a link in an answer, please provide some context, such as quoting the relevant part.
– JigglyNaga
Aug 23 '16 at 15:45
3
3
Welcome to StackExchange! When using a link in an answer, please provide some context, such as quoting the relevant part.
– JigglyNaga
Aug 23 '16 at 15:45
Welcome to StackExchange! When using a link in an answer, please provide some context, such as quoting the relevant part.
– JigglyNaga
Aug 23 '16 at 15:45
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f259031%2fkvm-network-packet-loss-to-guest%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown