netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Dumazet <dada1@cosmosbay.com>
To: Denys Fedoryshchenko <denys@visp.net.lb>
Cc: netdev@vger.kernel.org
Subject: Re: packetloss, on e1000e worse than r8169?
Date: Tue, 17 Jun 2008 04:17:22 +0200	[thread overview]
Message-ID: <48571EB2.50301@cosmosbay.com> (raw)
In-Reply-To: <20080616220004.M32074@visp.net.lb>

Denys Fedoryshchenko a e'crit :
> On Mon, 16 Jun 2008 23:44:07 +0200, Eric Dumazet wrote
> 
> opreport -l /mnt/flash/vmlinux |more
> Here is oprofile
> CPU: Core 2, speed 2397.64 MHz (estimated)
> Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit
> mask of 0x00 (Unhalted core cycles) count 100000
> samples  %        symbol name
> 25409    15.0068  mwait_idle
> 14330     8.4634  ip_route_input
> 7827      4.6227  irq_entries_start
> 6488      3.8319  dev_queue_xmit
> 5497      3.2466  __qdisc_run
> 5033      2.9725  __slab_free
> 3569      2.1079  native_read_tsc
> 3560      2.1026  ip_rcv
> 3520      2.0789  __alloc_skb
> 3435      2.0287  __kmalloc_track_caller
> 3381      1.9968  kmem_cache_alloc
> 3340      1.9726  ip_forward
> 3289      1.9425  kfree
> 
> MegaRouter-KARAM /lib # opreport
> CPU: Core 2, speed 2397.64 MHz (estimated)
> Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit
> mask of 0x00 (Unhalted core cycles) count 100000
> CPU_CLK_UNHALT...|
>   samples|      %|
> ------------------
>    612990 64.5673 vmlinux
>    276274 29.1004 e1000e
>     31470  3.3148 ip_tables

How often is iptables used on your machine ?

>      9676  1.0192 libzebra.so.0.0.0
>      3763  0.3964 oprofiled
> 
> MegaRouter-KARAM ~ # opreport image:/e1000e -l
> CPU: Core 2, speed 2397.64 MHz (estimated)
> Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit
> mask of 0x00 (Unhalted core cycles) count 100000
> warning: could not check that the binary file /e1000e has not been modified
> since the profile was taken. Results may be inaccurate.
> samples  %        symbol name
> 144449   25.7521  e1000_irq_enable

I wonder why this one is called so often. If your
interface is really flooded with packets, we should not
exit from NAPI polling...


> 97006    17.2941  e1000_intr_msi
> 95009    16.9380  e1000_clean_rx_irq
> 87833    15.6587  e1000_xmit_frame
> 53723     9.5776  e1000_clean_tx_irq
> 26546     4.7326  e1000_clean
> 19968     3.5599  e1000_alloc_rx_buffers
> 11941     2.1288  e1000_receive_skb
> 6578      1.1727  e1000_update_itr
> 5864      1.0454  e1000_desc_unused
> 4847      0.8641  e1000_maybe_stop_tx
> 3537      0.6306  e1000_put_txbuf
> 3490      0.6222  e1000_rx_checksum
> 107       0.0191  e1000e_update_stats
> 9         0.0016  e1000_acquire_swflag_ich8lan
> 7         0.0012  e1000_release_swflag_ich8lan
> 5        8.9e-04  e1000e_read_phy_reg_mdic
> 1        1.8e-04  e1000_get_settings
> 1        1.8e-04  e1000_ioctl






  reply	other threads:[~2008-06-17  2:17 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-16 19:37 packetloss, on e1000e worse than r8169? Denys Fedoryshchenko
2008-06-16 19:48 ` Eric Dumazet
2008-06-16 20:20   ` Denys Fedoryshchenko
2008-06-16 20:23   ` Denys Fedoryshchenko
2008-06-16 20:36     ` Kok, Auke
     [not found]       ` <20080616204411.M52834@visp.net.lb>
2008-06-16 20:49         ` Kok, Auke
2008-06-16 20:59           ` Denys Fedoryshchenko
2008-06-16 21:13           ` Denys Fedoryshchenko
2008-06-16 21:29             ` Eric Dumazet
2008-06-16 21:41               ` Denys Fedoryshchenko
2008-06-16 21:41               ` Denys Fedoryshchenko
     [not found]               ` <20080616213419.M212@visp.net.lb>
2008-06-16 21:41                 ` Eric Dumazet
2008-06-16 21:44                   ` Eric Dumazet
2008-06-16 22:08                     ` Denys Fedoryshchenko
2008-06-17  2:17                       ` Eric Dumazet [this message]
2008-06-17  2:47                         ` Denys Fedoryshchenko
2008-06-16 22:08                     ` Denys Fedoryshchenko
2008-06-16 23:24                       ` Brandeburg, Jesse
2008-06-17  1:53                         ` Denys Fedoryshchenko
2008-06-17  6:46                         ` Denys Fedoryshchenko
2008-06-17 17:22                           ` Denys Fedoryshchenko
2008-06-18  0:58                             ` Brandeburg, Jesse
2008-06-17 21:04                         ` Denys Fedoryshchenko
2008-06-18 16:50                           ` Brandeburg, Jesse
2008-06-18 17:03                             ` Denys Fedoryshchenko
2008-06-16 21:17           ` Denys Fedoryshchenko
2008-06-16 21:05         ` Eric Dumazet
2008-06-16 20:52       ` Denys Fedoryshchenko
2008-06-16 20:15 ` Auke Kok
2008-06-16 20:29   ` Denys Fedoryshchenko
2008-06-16 20:26 ` Francois Romieu
2008-06-16 20:37 ` Waskiewicz Jr, Peter P
2008-06-16 20:42   ` Denys Fedoryshchenko

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=48571EB2.50301@cosmosbay.com \
    --to=dada1@cosmosbay.com \
    --cc=denys@visp.net.lb \
    --cc=netdev@vger.kernel.org \
    /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).