netdev
[Top] [All Lists]

Re: Route cache performance

To: Robert Olsson <Robert.Olsson@xxxxxxxxxxx>
Subject: Re: Route cache performance
From: Alexey Kuznetsov <kuznet@xxxxxxxxxxxxx>
Date: Fri, 16 Sep 2005 02:21:02 +0400
Cc: Alexey Kuznetsov <kuznet@xxxxxxxxxxxxx>, Simon Kirby <sim@xxxxxxxxxxxxx>, Eric Dumazet <dada1@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ms2.inr.ac.ru; b=P5jrLoWUJYOH1XbVN2xjSHsJpt1rcpaLO/Lq9ipb0eqxMEP6cfV4qxJGC2E09+/6lkDWm7TRlYnmH3iA2uXarB8AolkYOMT2edMbbeCYkckN7dNRdRxShMkuLTIFoZxxs/9Z802AiB8NS2Q3kxfsDrHtJm4BLbSSosum7Err8oU=;
In-reply-to: <17193.59406.200787.819069@xxxxxxxxxxxx>
References: <20050825212211.GA23384@xxxxxxxxxxxxx> <20050826115520.GA12351@xxxxxxxxxxxxxxx> <17167.29239.469711.847951@xxxxxxxxxxxx> <20050906235700.GA31820@xxxxxxxxxxxxx> <17182.64751.340488.996748@xxxxxxxxxxxx> <20050907162854.GB24735@xxxxxxxxxxxxx> <20050907195911.GA8382@xxxxxxxxxxxxxxx> <20050913221448.GD15704@xxxxxxxxxxxxx> <20050915210432.GD28925@xxxxxxxxxxxxxxx> <17193.59406.200787.819069@xxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6i
Hello!

>  No. There must be an explanation... I've seen around 1 Mpps in the best
>  single flow tests w. 2.6 kernels of course decent HW. Simon can you 
>  report in pps as you use 64 byte pkts.

Sender: 367 Mbps, 717883 pps valid src/dst, 64 byte (Ethernet) packets

2.4.27-rc1: 297 Mbps forwarded (w/idle time?!)

So, his best number is (717883/367)*297 ~= 580kpps

>  Yes. I'll guess the thinking was that RCU is for read mostly

RCU should not add essential overhead to DoS, actually. The difference
between direct dst_free and RCU is strange as well.


>  Also interesing to get BSD numbers? Sounds like they use something like
>  old FASTROUTE.

Yes, it is quite funny. I guess it required irq protection to radix tree
manipulations, grr... Anyway, I would expect BSD with fastforwarding beat
NAPI.

Alexey

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