Subject: Re: [IPV4 0/9] TRIE performance patches

From: Stephen Hemminger <[email-masked]>
Date: Thu, 24 Jan 2008 08:18:21 -0800

On Thu, 24 Jan 2008 10:36:45 +0100
Robert Olsson <[email-masked]> wrote:

> 
> Stephen Hemminger writes:
> 
>  > Dumping by prefix is possible, but unless 32x slower. Dumping in
>  > address order is just as logical. Like I said, I'm investigating what
>  > quagga handles.
> 
>  How about taking a snapshot to in address order (as you did) to some 
>  allocated memory, returning from that memory in prefix order? This would 
>  solve the  -EBUSY too and give a consistent view of the routing table at
>  the time for the dump/snapshot.
> 
>  Cheers
> 					--ro

Snapshotting is going to work, because of scale and because the kernel can't
tell when application is going to come back.

-- 
Stephen Hemminger <[email-masked]>