netdev
[Top] [All Lists]

Re: Route cache performance under stress

To: Robert.Olsson@xxxxxxxxxxx
Subject: Re: Route cache performance under stress
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Mon, 09 Jun 2003 10:21:31 -0700 (PDT)
Cc: sim@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx, kuznet@xxxxxxxxxxxxx
In-reply-to: <16091.32021.75335.227150@robur.slu.se>
References: <16091.11735.721251.925522@robur.slu.se> <20030602151852.GA6070@netnation.com> <16091.32021.75335.227150@robur.slu.se>
Sender: netdev-bounce@xxxxxxxxxxx
   From: Robert Olsson <Robert.Olsson@xxxxxxxxxxx>
   Date: Mon, 2 Jun 2003 18:36:37 +0200
   
   Simon Kirby writes:
   
    > Is it possible to have a dst LRU or a simpler approximation of such and
    > recycle dst entries rather than deallocating/reallocating them?  This
    > would relieve a lot of work from the garbage collector and avoid the
    > periodic large garbage collection latency.  It could be tuned to only
    > occur in an attack (I remember Alexey saying that the deferred garbage
    > collection was implemented to reduce latency in normal opreation).
   
    I don't see how this can be done. Others may?

Full recycle is very doable in 2.4.x, in 2.5.x is an enormously hard
problem because we use RCU there (readers run completely without
locks).

<Prev in Thread] Current Thread [Next in Thread>