linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben McKeegan <ben@netservers.co.uk>
To: Paul Mackerras <paulus@samba.org>
Cc: netdev@vger.kernel.org, linux-ppp@vger.kernel.org,
	Alan Cox <alan@lxorguk.ukuu.org.uk>,
	"Alexander E. Patrakov" <patrakov@gmail.com>,
	Richard Hartmann <richih.mailinglist@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [Patch] fix packet loss and massive ping spikes with PPP multi-link
Date: Mon, 31 May 2010 16:20:29 +0000	[thread overview]
Message-ID: <4C03E1CD.4000809@netservers.co.uk> (raw)
In-Reply-To: <20100529021624.GA2538@brick.ozlabs.ibm.com>

Paul Mackerras wrote:

>> I needed to do something similar a while back and I took a very
>> different approach, which I think is more flexible.   Rather than
>> implement a new round-robin scheduler I simply introduced a target
>> minimum fragment size into the fragment size calculation, as a per
>> bundle parameter that can be configured via a new ioctl.  This
>> modifies the algorithm so that it tries to limit the number of
>> fragments such that each fragment is at least the minimum size.  If
>> the minimum size is greater than the packet size it will not be
>> fragmented all but will instead just get sent down the next
>> available channel.
>>
>> A pppd plugin generates the ioctl call allowing this to be tweaked
>> per connection.  It is more flexible in that you can still have the
>> larger packets fragmented if you wish.
> 
> I like this a lot better than the other proposed patch.  It adds less
> code because it uses the fact that ppp_mp_explode() already has a
> round-robin capability using the ppp->nxchan field, plus it provides a
> way to control it per bundle via pppd.
> 
> If you fix up the indentation issues (2-space indent in some of the
> added code -- if you're using emacs, set c-basic-offset to 8), I'll
> ack it and hopefully DaveM will pick it up.

Okay, I'll fix it up when I'm back at work Tuesday and submit (today is 
a UK public holiday) and also dig out and fix up the userspace code to 
go with it.

Ben.


  parent reply	other threads:[~2010-05-31 16:20 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-26 15:50 [Patch] fix packet loss and massive ping spikes with PPP multi-link Richard Hartmann
2010-03-26 15:58 ` [Patch] fix packet loss and massive ping spikes with PPP Alan Cox
2010-03-26 16:33   ` Joe Perches
2010-03-26 16:39   ` Richard Hartmann
2010-03-26 16:59     ` David Miller
2010-03-26 17:04       ` David Miller
2010-03-26 17:04     ` [Patch] fix packet loss and massive ping spikes with PPP multi-link James Carlson
2010-03-26 16:59   ` Alexander E. Patrakov
2010-03-26 17:04     ` [Patch] fix packet loss and massive ping spikes with PPP Alan Cox
2010-03-31 10:03       ` [Patch] fix packet loss and massive ping spikes with PPP multi-link Ben McKeegan
2010-05-29  2:16         ` [Patch] fix packet loss and massive ping spikes with PPP Paul Mackerras
2010-05-29  9:06           ` Richard Hartmann
2010-05-31 13:39           ` Richard Hartmann
2010-05-31 16:20           ` Ben McKeegan [this message]
2010-06-02 14:55             ` [Patch] fix packet loss and massive ping spikes with PPP multi-link Ben McKeegan
2010-06-02 15:04               ` [PATCH] ppp_generic: fix multilink fragment sizes Ben McKeegan
2010-06-02 15:17                 ` Paoloni, Gabriele
2010-06-02 15:31                   ` David Miller
2010-06-02 15:55                   ` Ben McKeegan
2010-06-03  8:41                     ` Paoloni, Gabriele
2010-06-03  9:14                       ` Ben McKeegan
2010-11-08 14:05               ` [Patch] fix packet loss and massive ping spikes with PPP multi-link Richard Hartmann
2010-11-15 12:07                 ` Richard Hartmann
2010-06-01 10:20           ` [Patch] fix packet loss and massive ping spikes with PPP Richard Hartmann
2010-06-01 11:18             ` [Patch] fix packet loss and massive ping spikes with PPP multi-link Ben McKeegan
2010-06-01 11:28               ` [Patch] fix packet loss and massive ping spikes with PPP Richard Hartmann
2010-06-01 22:15                 ` David Miller
2010-03-31  9:01 ` Richard Hartmann
2010-05-25  9:52 ` Richard Hartmann
2010-05-25 10:18 ` [Patch] fix packet loss and massive ping spikes with PPP multi-link walter harms
2010-05-25 14:58 ` [Patch] fix packet loss and massive ping spikes with PPP Richard Hartmann
2010-05-25 17:30 ` [Patch] fix packet loss and massive ping spikes with PPP multi-link walter harms
2010-05-26  8:47   ` [Patch] fix packet loss and massive ping spikes with PPP Richard Hartmann
2010-05-28  7:28     ` [Patch] fix packet loss and massive ping spikes with PPP multi-link walter harms

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=4C03E1CD.4000809@netservers.co.uk \
    --to=ben@netservers.co.uk \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-ppp@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=patrakov@gmail.com \
    --cc=paulus@samba.org \
    --cc=richih.mailinglist@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).