From: Dave Taht <hidden> Date: 2012-05-01 10:14:39
On Tue, May 1, 2012 at 2:28 AM, Hagen Paul Pfeifer [off-list ref] wrote:
Nice!
Applause as well! While this is something of a fork of this
discussion, I would rather like to resurrect a variant of the old
'time in queue' patch...
http://patchwork.ozlabs.org/patch/125329/
As best as I recall we'd run into trouble with combining things like
netem and complex qdiscs, because we had basically overrun the size of
the control block.
And then there was a long discussion of all that and I forget if any
conclusion was reached.
An alternative to reducing the length of the control block was to find
some way to leverage this sanely in the qdisc layer...
#define HAVE_HW_TIME_STAMP
/**
* struct skb_shared_hwtstamps - hardware time stamps
* @hwtstamp: hardware time stamp transformed into duration
* since arbitrary point in time
* @syststamp: hwtstamp transformed to system time base
*
--
Dave Täht
SKYPE: davetaht
US Tel: 1-239-829-5608
http://www.bufferbloat.net
From: David Miller <davem@davemloft.net> Date: 2012-05-01 13:41:01
From: Eric Dumazet <redacted>
Date: Tue, 01 May 2012 11:11:05 +0200
From: Eric Dumazet <edumazet@google.com>
Add ECN (Explicit Congestion Notification) marking capability to netem
tc qdisc add dev eth0 root netem drop 0.5 ecn
Instead of dropping packets, try to ECN mark them.
Signed-off-by: Eric Dumazet <edumazet@google.com>
The concept is fine, but a couple of questions.
1. Why a whole u32 for boolean?
2. The logic in this part of netem is setup to handle case of random duplication
combined with random loss. With ecn option set, will this code correctly
handled a duplication combined with a loss and send one packet?
It looks like the new code would change that behaviour.
From: Stephen Hemminger <hidden> Date: 2012-05-01 16:59:47
On Tue, 01 May 2012 09:40:51 -0400 (EDT)
David Miller [off-list ref] wrote:
From: Eric Dumazet <redacted>
Date: Tue, 01 May 2012 11:11:05 +0200
quoted
From: Eric Dumazet <edumazet@google.com>
Add ECN (Explicit Congestion Notification) marking capability to netem
tc qdisc add dev eth0 root netem drop 0.5 ecn
Instead of dropping packets, try to ECN mark them.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Applied.
At least give a day of review, rather than premature acceptance
From: Eric Dumazet <hidden> Date: 2012-05-01 17:10:48
On Tue, 2012-05-01 at 09:59 -0700, Stephen Hemminger wrote:
The concept is fine, but a couple of questions.
1. Why a whole u32 for boolean?
a boolean in this structure wont save space, and this file is full of
u32. Why bother ?
IMHO boolean are fine for function arguments, but in a structure, not
very helpful.
2. The logic in this part of netem is setup to handle case of random duplication
combined with random loss. With ecn option set, will this code correctly
handled a duplication combined with a loss and send one packet?
It looks like the new code would change that behaviour.
From: David Miller <davem@davemloft.net> Date: 2012-05-01 17:17:58
From: Stephen Hemminger <redacted>
Date: Tue, 1 May 2012 09:59:38 -0700
On Tue, 01 May 2012 09:40:51 -0400 (EDT)
David Miller [off-list ref] wrote:
quoted
From: Eric Dumazet <redacted>
Date: Tue, 01 May 2012 11:11:05 +0200
quoted
From: Eric Dumazet <edumazet@google.com>
Add ECN (Explicit Congestion Notification) marking capability to netem
tc qdisc add dev eth0 root netem drop 0.5 ecn
Instead of dropping packets, try to ECN mark them.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Applied.
At least give a day of review, rather than premature acceptance
Yeah, because Eric Dumazet is going to fall off the face of the
planet and not fix whatever problems you have with his work.
Get real Stephen.
From: Dave Taht <hidden> Date: 2012-05-01 18:49:53
On Tue, May 1, 2012 at 10:17 AM, David Miller [off-list ref] wrote:
From: Stephen Hemminger <redacted>
Date: Tue, 1 May 2012 09:59:38 -0700
quoted
On Tue, 01 May 2012 09:40:51 -0400 (EDT)
David Miller [off-list ref] wrote:
quoted
From: Eric Dumazet <redacted>
Date: Tue, 01 May 2012 11:11:05 +0200
quoted
From: Eric Dumazet <edumazet@google.com>
Add ECN (Explicit Congestion Notification) marking capability to netem
tc qdisc add dev eth0 root netem drop 0.5 ecn
Instead of dropping packets, try to ECN mark them.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Applied.
At least give a day of review, rather than premature acceptance
Yeah, because Eric Dumazet is going to fall off the face of the
planet and not fix whatever problems you have with his work.
Get real Stephen.
I'd be more concerned about wayward buses, or a team of elite
ninja's hired by outraged BSD and windows hackers sent to slow
eric down.
As I think about it, I think he could handle the ninja problem, tho.
--
Dave Täht
SKYPE: davetaht
US Tel: 1-239-829-5608
http://www.bufferbloat.net