netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon Kirby <sim@netnation.com>
To: Martin Josefsson <gandalf@wlug.westbo.se>
Cc: Robert Olsson <Robert.Olsson@data.slu.se>,
	"David S. Miller" <davem@redhat.com>,
	ralph+d@istop.com, hadi@shell.cyberus.ca, xerox@foonet.net,
	fw@deneb.enyo.de, netdev@oss.sgi.com, linux-net@vger.kernel.org
Subject: Re: Route cache performance tests
Date: Tue, 17 Jun 2003 13:37:03 -0700	[thread overview]
Message-ID: <20030617203703.GB25773@netnation.com> (raw)
In-Reply-To: <1055881034.3199.43.camel@tux.rsn.bth.se>

On Tue, Jun 17, 2003 at 10:17:14PM +0200, Martin Josefsson wrote:
> 
> >  size   IN: hit     tot    mc no_rt bcast madst masrc  OUT: hit     tot     mc GC: tot ignored goal_miss ovrf
> > 17929        13  214343     0     0     0     0 163822         0       0      0   50521   50519         0    0
> 
> Did you have rp_filter enabled? Looks like it.

Yes, good spotting.  Forwarding rate more than doubles when I turn off
rp_filter off (Debian turns it on by default).

60.0049 seconds passed, avg forwarding rate: 108222.462 pps
60.0041 seconds passed, avg forwarding rate: 108868.822 pps
60.0042 seconds passed, avg forwarding rate: 108767.194 pps
60.0040 seconds passed, avg forwarding rate: 108872.188 pps
60.0045 seconds passed, avg forwarding rate: 108856.575 pps
60.0041 seconds passed, avg forwarding rate: 108743.443 pps

Cpu type: Athlon
Cpu speed was (MHz estimation) : 1394.26
Counter 0 counted RETIRED_INSNS events (Retired instructions (includes exceptions, interrupts, resyncs)) with a unit mask of 0x00 (No unit mask) count 697000
vma      samples  %           symbol name
c02bf730 15382    33.0213     fn_hash_lookup
c0292b70 2127     4.56614     ip_route_input_slow
c02916b0 1380     2.96252     rt_intern_hash
c0222330 1340     2.87665     tg3_start_xmit
c02bd550 1336     2.86806     fib_validate_source
c0221710 1219     2.61689     tg3_rx
c02be8e0 1154     2.47735     fib_semantic_match
c0294e50 1068     2.29273     ip_rcv
c028f220 983      2.11026     pfifo_fast_dequeue
c0135230 981      2.10596     kmem_cache_free
c02b8040 906      1.94496     inet_select_addr
c0290d70 901      1.93422     rt_hash_code
c0134ff0 877      1.8827      free_block
c028eb20 873      1.87411     eth_header
c0135170 805      1.72814     kmem_cache_alloc
c02885c0 798      1.71311     netif_receive_skb
c02933a0 788      1.69164     ip_route_input
c028c520 778      1.67017     neigh_resolve_output
c0295df0 744      1.59718     ip_forward
c0134e20 734      1.57572     cache_alloc_refill
c01351b0 727      1.56069     __kmalloc
c028b530 686      1.47267     neigh_lookup
c01adc80 535      1.14851     memcpy
c0135270 510      1.09484     kfree
c0284620 506      1.08626     alloc_skb
c0291460 498      1.06908     rt_garbage_collect
c028ec90 480      1.03044     eth_type_trans
c028ae20 439      0.942424    dst_alloc
c0128a00 437      0.938131    call_rcu
c02972d0 433      0.929544    ip_finish_output
c0297570 407      0.873728    ip_output
c011f080 380      0.815766    local_bh_enable
c0288080 376      0.807179    dev_queue_xmit
c028eeb0 369      0.792151    qdisc_restart
c0221e90 361      0.774977    tg3_set_txd
c028af50 360      0.772831    dst_destroy
c028f1a0 352      0.755657    pfifo_fast_enqueue
c028c3a0 317      0.68052     neigh_hh_init
c02215c0 315      0.676227    tg3_recycle_rx
c0221350 308      0.6612      tg3_tx
c02be9b0 294      0.631145    __fib_res_prefsrc
c010fc40 200      0.42935     do_gettimeofday
c02b48c0 195      0.418617    arp_hash
c0292860 195      0.418617    rt_set_nexthop
c02b4df0 178      0.382122    arp_bind_neighbour
c0294500 159      0.341334    dst_free

 size   IN: hit     tot    mc no_rt bcast madst masrc  OUT: hit     tot     mc GC: tot ignored goal_miss ovrf
20262         5  109659     0     0     0     0     0         0       0      0  109659  109657         1    0
19229         7  109493     0     0     0     0     0         0       0      0  109493  109491         0    0
20320         4  109576     0     0     0     0     0         0       0      0  109576  109574         1    0
19280         9  109439     0     0     0     0     0         0       0      0  109439  109437         1    0
20325        10  109314     0     0     0     0     0         0       0      0  109314  109312         1    0
18983         6  109530     0     0     0     0     0         0       0      0  109530  109528         1    0
20313         5  109867     0     0     0     0     0         0       0      0  109867  109865         0    0
19127         4  109256     0     0     0     0     0         0       0      0  109256  109254         1    0
18897         4  109508     0     0     0     0     0         0       0      0  109508  109506         1    0
20338        11  109717     0     0     0     0     0         0       0      0  109717  109715         0    0
19054         7  109209     0     0     0     0     0         0       0      0  109209  109207         1    0
20397        11  109273     0     0     0     0     0         0       0      0  109273  109271         1    0

Simon-

[        Simon Kirby        ][        Network Operations        ]
[     sim@netnation.com     ][   NetNation Communications Inc.  ]
[  Opinions expressed are not necessarily those of my employer. ]

  reply	other threads:[~2003-06-17 20:37 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-10  7:57 Route cache performance tests Simon Kirby
2003-06-10 11:23 ` Jamal Hadi
2003-06-10 20:36   ` CIT/Paul
2003-06-10 13:34 ` Ralph Doncaster
2003-06-10 13:39   ` Jamal Hadi
2003-06-13  6:20 ` David S. Miller
2003-06-16 22:37   ` Simon Kirby
2003-06-16 22:44     ` David S. Miller
2003-06-16 23:09       ` Simon Kirby
2003-06-16 23:08         ` David S. Miller
2003-06-16 23:27           ` Simon Kirby
2003-06-16 23:49             ` Simon Kirby
2003-06-17 15:59               ` David S. Miller
2003-06-17 16:50                 ` Robert Olsson
2003-06-17 16:50                   ` David S. Miller
2003-06-17 17:29                     ` Robert Olsson
2003-06-17 19:06                       ` Mr. James W. Laferriere
2003-06-17 20:12                         ` Robert Olsson
2003-06-17 20:07                   ` Simon Kirby
2003-06-17 20:17                     ` Martin Josefsson
2003-06-17 20:37                       ` Simon Kirby [this message]
2003-06-17 20:36                         ` David S. Miller
2003-06-17 20:51                           ` Simon Kirby
2003-06-17 20:49                             ` David S. Miller
2003-06-18  5:50                             ` Pekka Savola
2003-06-17 20:49                     ` Robert Olsson
2003-06-17 21:07                     ` Simon Kirby
2003-06-17 22:50                       ` Simon Kirby
2003-06-17 23:07                         ` David S. Miller
2003-06-17 22:11                     ` Ralph Doncaster
2003-06-17 22:08                       ` David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030617203703.GB25773@netnation.com \
    --to=sim@netnation.com \
    --cc=Robert.Olsson@data.slu.se \
    --cc=davem@redhat.com \
    --cc=fw@deneb.enyo.de \
    --cc=gandalf@wlug.westbo.se \
    --cc=hadi@shell.cyberus.ca \
    --cc=linux-net@vger.kernel.org \
    --cc=netdev@oss.sgi.com \
    --cc=ralph+d@istop.com \
    --cc=xerox@foonet.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).