General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: "Steinar H. Gunderson" <sgunderson@bigfoot.com>
Cc: bloat@lists.bufferbloat.net
Subject: Re: [Bloat] [Codel]  The challenge
Date: Thu, 10 May 2012 11:27:22 +0200	[thread overview]
Message-ID: <1336642042.12504.148.camel@edumazet-glaptop> (raw)
In-Reply-To: <20120510091943.GC8131@uio.no>

On Thu, 2012-05-10 at 11:19 +0200, Steinar H. Gunderson wrote:
> On Thu, May 10, 2012 at 02:16:31AM +0200, Eric Dumazet wrote:
> > Starting from kernel 2.6.13 Hybla has been included in the official
> > Linux kernel. However, this implementation, based on the "module" Linux
> > technology, does not include the last two Hybla components: Hoe's
> > channel bandwidth estimate and packet spacing. Their addition is
> > mandatory to fully benefit from Hybla performance improvement. To this
> > end, it is enough to patch the official kernel with the MultiTCP
> > package, downloadable from the downloads section.
> 
> That explains it, indeed. Their latest patch is for 3.0.0, which is maybe
> recent enough that I can try to coax it in next time I compile my kernel :-)
> 
> /* Steinar */

Unfortunately patchs seems in a bad shape...

random examples :

+void __tcp_pacing_reset_timer(struct sock *sk)
+{
+	struct tcp_sock *tp = tcp_sk(sk);
+	__u32 timeout = jiffies + tp->pacing.delta;
+
+	if (!mod_timer(&tp->pacing.timer, timeout))
+			sock_hold(sk);
+}
+EXPORT_SYMBOL(__tcp_pacing_reset_timer);
+

timeout should be an "unsigned long"

-static void tcp_conservative_spur_to_response(struct tcp_sock *tp)
+static void tcp_conservative_spur_to_response(struct sock *sk)
 {
+	struct tcp_sock *tp = tcp_sk(sk);
 	tp->snd_cwnd = min(tp->snd_cwnd, tp->snd_ssthresh);
 	tp->snd_cwnd_cnt = 0;
 	tp->bytes_acked = 0;
 	TCP_ECN_queue_cwr(tp);
-	tcp_moderate_cwnd(tp);
+	tcp_moderate_cwnd(sk, tp);
 }
 

There is no point passing both sk and tp to a function, since tcp_sk(sk)
is a nop.




  reply	other threads:[~2012-05-10  9:27 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-09  1:04 [Bloat] " Dave Taht
2012-05-09  2:02 ` Kevin Gross
2012-05-09  5:16 ` Simon Barber
2012-05-09  5:40   ` Eric Dumazet
2012-05-09  5:41     ` Dave Taht
2012-05-09  7:32       ` [Bloat] [codel] some numbers on dual 10Gb links Eric Dumazet
2012-05-09 13:04   ` [Bloat] The challenge Kevin Gross
2012-05-16  5:55     ` Jonathan Morton
2012-05-16  6:09       ` Eric Dumazet
2012-05-16  7:05         ` [Bloat] Exploring the potential of codel, fq_codel, and qfq dave taht
2012-05-16  7:20           ` Dave Taht
2012-05-16  7:42             ` Eric Dumazet
2012-05-16  7:46             ` Eric Dumazet
2012-05-16  8:17               ` Eric Dumazet
2012-05-16  9:02                 ` Jonathan Morton
2012-05-16  9:14                   ` Eric Dumazet
2012-05-16  9:31                     ` Jonathan Morton
2012-05-16  9:37                       ` Eric Dumazet
2012-05-16  9:59                         ` Jonathan Morton
2012-05-16 10:10                           ` Eric Dumazet
2012-05-16 13:58                 ` Eric Dumazet
2012-05-16 17:40               ` [Bloat] [Codel] " Rick Jones
2012-05-16 17:53                 ` Eric Dumazet
2012-05-16 17:33             ` Rick Jones
2012-05-16 17:48               ` Eric Dumazet
2012-05-16  6:09       ` [Bloat] The challenge Dave Taht
2012-05-16  6:31         ` [Bloat] [Codel] " Eric Dumazet
2012-05-16  8:15           ` Jonathan Morton
2012-05-09 19:10   ` [Bloat] " Roger Jørgensen
2012-05-09 19:15     ` Dave Taht
2012-05-09 19:28       ` Dave Taht
2012-05-09 20:02     ` Simon Barber
2012-05-09 20:06   ` Fred Baker
2012-05-09 21:47     ` Jim Gettys
2012-05-09 23:58       ` [Bloat] [Codel] " Eric Dumazet
2012-05-10  0:02         ` Steinar H. Gunderson
2012-05-10  0:08           ` Eric Dumazet
2012-05-10  0:08         ` Steinar H. Gunderson
2012-05-10  0:16           ` Eric Dumazet
2012-05-10  9:19             ` Steinar H. Gunderson
2012-05-10  9:27               ` Eric Dumazet [this message]
2012-05-10  9:38                 ` Steinar H. Gunderson
2012-05-10  2:34 ` [Bloat] " Jonathan Morton
2012-05-10  2:37   ` Dave Taht
2012-05-10  6:35     ` David Woodhouse
2012-05-10  6:54       ` Jonathan Morton
2012-05-10  7:02         ` David Woodhouse
2012-05-10 14:25           ` Justin McCann
2012-05-10 14:42             ` David Woodhouse
2012-05-10 15:34               ` Neil Davies
2012-05-10 21:20               ` [Bloat] [Codel] " Jim Gettys
2012-05-14  7:27           ` [Bloat] " Jonathan Morton
2012-05-14  7:34             ` [Bloat] [Codel] " Eric Dumazet
2012-05-14 13:55             ` [Bloat] " David Woodhouse
2012-05-18 20:56               ` [Bloat] Linux-able modems Jonathan Morton
2012-05-18 21:36                 ` Dave Taht
2012-05-18 22:34                   ` Dave Taht

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

  List information: https://lists.bufferbloat.net/postorius/lists/bloat.lists.bufferbloat.net/

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

  git send-email \
    --in-reply-to=1336642042.12504.148.camel@edumazet-glaptop \
    --to=eric.dumazet@gmail.com \
    --cc=bloat@lists.bufferbloat.net \
    --cc=sgunderson@bigfoot.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