linux-um archives
 help / color / mirror / Atom feed
From: Nuutti Kotivuori <naked@iki.fi>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Re: UML tuntap driver problem with queueing
Date: Tue, 08 Feb 2005 21:37:06 +0200	[thread overview]
Message-ID: <87zmyej125.fsf@aka.i.naked.iki.fi> (raw)
In-Reply-To: 87hdks5y35.fsf@aka.i.naked.iki.fi

Nuutti Kotivuori wrote:
> As a workaround to the problem, I've added the IFF_ONE_QUEUE option
> to all the places that open a tap device (namely tunctl, uml_net and
> uml_router). The patch is attached. But the actual problem should
> most likely be fixed once found.

Just a heads up here to the UML folks in case it was missed - with the
current code, packet delivery to UML machines using tuntap driver
*will* mess up (stall totally or major bursts of lag) if more than 10
packets are queued to UML at a time.

This will happen if Linux reassembles packets (connection tracking is
enabled) and a packet of around 17000 bytes or more arrives, or if UML
is given packets faster than it can handle them (not very likely to
happen if the packets are received from a 100Mbit network, and not
generated locally, unless there is heavy load on the machine).

So this is a real problem, for which the patch given is a decent
workaround, as it works perfectly and only changes things if one
employs QoS on the tap device itself.

Ofcourse, the actual cause for this should be fixed (SIGIO mess up or
whatever it is).

-- Naked



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2005-02-08 19:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-04 12:06 [uml-devel] UML tuntap driver problem with queueing Nuutti Kotivuori
2005-02-08 19:37 ` Nuutti Kotivuori [this message]
2005-02-09  0:17   ` [uml-devel] " Jeff Dike

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zmyej125.fsf@aka.i.naked.iki.fi \
    --to=naked@iki.fi \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox