Re: [patch] latency tracer, 2.6.15-rc7
- From: Lee Revell <rlrevell@xxxxxxxxxxx>
- Date: Fri, 30 Dec 2005 20:15:31 -0500
On Fri, 2005-12-30 at 17:02 -0800, Linus Torvalds wrote:
>
> On Fri, 30 Dec 2005, Lee Revell wrote:
> >
> > It seems that the networking code's use of RCU can cause 10ms+
> > latencies:
>
> Hmm. Is there a big jump at the 10ms mark? Do you have a 100Hz timer
> source?
>
> A latency jump at 10ms would tend to indicate a missed wakeup that
> was "picked up" by the next timer tick.
No there are no large jumps, it really seems that this was the network
code causing an RCU callback to drop ~2K routes at once. Specifically
RCU invokes dst_rcu_free 2085 times in a single batch
(call_rcu_bh(&rt->u.dst.rcu_head, dst_rcu_free) is only called from
rt_free() and rt_drop()).
I have found that many of the paths in the network stack that can cause
high latencies can be tuned via sysctls (for example
net.ipv4.route.gc_thresh); this one may be the same.
Lee
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [patch] latency tracer, 2.6.15-rc7
- From: Linus Torvalds
- Re: [patch] latency tracer, 2.6.15-rc7
- References:
- 2.6.15-rc5: latency regression vs 2.6.14 in exit_mmap->free_pgtables
- From: Lee Revell
- Re: 2.6.15-rc5: latency regression vs 2.6.14 in exit_mmap->free_pgtables
- From: Hugh Dickins
- Re: 2.6.15-rc5: latency regression vs 2.6.14 in exit_mmap->free_pgtables
- From: Lee Revell
- [patch] latency tracer, 2.6.15-rc7
- From: Ingo Molnar
- Re: [patch] latency tracer, 2.6.15-rc7
- From: Dave Jones
- Re: [patch] latency tracer, 2.6.15-rc7
- From: Ingo Molnar
- Re: [patch] latency tracer, 2.6.15-rc7
- From: Lee Revell
- Re: [patch] latency tracer, 2.6.15-rc7
- From: Lee Revell
- Re: [patch] latency tracer, 2.6.15-rc7
- From: Ingo Molnar
- Re: [patch] latency tracer, 2.6.15-rc7
- From: Lee Revell
- Re: [patch] latency tracer, 2.6.15-rc7
- From: Ingo Molnar
- Re: [patch] latency tracer, 2.6.15-rc7
- From: Lee Revell
- Re: [patch] latency tracer, 2.6.15-rc7
- From: Linus Torvalds
- 2.6.15-rc5: latency regression vs 2.6.14 in exit_mmap->free_pgtables
- Prev by Date: Re: [PATCH 14/14] page-replace-kswapd-incmin.patch
- Next by Date: Re: [PATCH 6/9] clockpro-clockpro.patch
- Previous by thread: Re: [patch] latency tracer, 2.6.15-rc7
- Next by thread: Re: [patch] latency tracer, 2.6.15-rc7
- Index(es):