Re: [RFC] net_sched: mark packet staying on queue too long

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: jamal
Date: Monday, January 3, 2011 - 6:52 am

On Sun, 2011-01-02 at 22:27 +0100, Eric Dumazet wrote:

I think for this to be effective, it would require maintaining some
history of the effect (some form of moving window average)
and probably a randomness in marking instead of a deterministic one.
Something like what Stochastic Fair RED/BLUE Queueing does.
Otherwise you get a burst of marked packets then silence then a burst
etc (i.e the classical synchronization effect).

It would probably be more effective to provide feedback to the local tcp
since we can detect this locally instead of waiting to some round trip
(or half roundtrip) effect at the receiver with ECN i.e in the same
spirit as NET_XMIT_CN but for which local TCP does something useful with
that info (instead of "retransmit shortly"). But even that would require
maintaining some state on the scheduler per hash in this case....

cheers,
jamal


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH net-2.6] net_sched: always clone skbs, Changli Gao, (Mon Dec 20, 7:35 am)
Re: [PATCH net-2.6] net_sched: always clone skbs, Eric Dumazet, (Mon Dec 20, 7:37 am)
Re: [PATCH net-2.6] net_sched: always clone skbs, David Miller, (Mon Dec 20, 11:27 am)
Re: [PATCH net-2.6] net_sched: always clone skbs, Jarek Poplawski, (Mon Dec 20, 4:20 pm)
Re: [PATCH net-2.6] net_sched: always clone skbs, Eric Dumazet, (Mon Dec 20, 4:28 pm)
Re: [PATCH net-2.6] net_sched: always clone skbs, Jarek Poplawski, (Mon Dec 20, 4:52 pm)
Re: [PATCH net-2.6] net_sched: always clone skbs, Changli Gao, (Mon Dec 20, 5:21 pm)
Re: [PATCH net-2.6] net_sched: always clone skbs, David Miller, (Mon Dec 20, 8:55 pm)
Re: [PATCH net-2.6] net_sched: always clone skbs, Changli Gao, (Tue Dec 21, 7:17 am)
Re: [PATCH net-2.6] net_sched: always clone skbs, Jarek Poplawski, (Tue Dec 21, 3:37 pm)
Re: [PATCH net-2.6] net_sched: always clone skbs, Jarek Poplawski, (Thu Dec 23, 4:04 pm)
[RFC] net_sched: mark packet staying on queue too long, Eric Dumazet, (Sun Jan 2, 2:27 pm)
Re: [RFC] net_sched: mark packet staying on queue too long, jamal, (Mon Jan 3, 6:52 am)
Re: [RFC] net_sched: mark packet staying on queue too long, Stephen Hemminger, (Mon Jan 3, 10:58 am)
[PATCH] sch_red: report backlog information, Eric Dumazet, (Mon Jan 3, 11:11 am)
Re: [PATCH] sch_red: report backlog information, David Miller, (Mon Jan 3, 1:13 pm)
Re: [RFC] net_sched: mark packet staying on queue too long, Jesper Dangaard Brouer, (Tue Jan 4, 7:19 am)
Re: [RFC] net_sched: mark packet staying on queue too long, Stephen Hemminger, (Tue Jan 4, 9:05 am)