login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
28
Re: loaded router, excessive getnstimeofday in oprofile
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Stephen Hemminger
Subject:
Re: loaded router, excessive getnstimeofday in oprofile
Date: Wednesday, August 27, 2008 - 8:35 pm
On Fri, 22 Aug 2008 04:57:40 +0300 Denys Fedoryshchenko <denys@visp.net.lb> wrote:
quoted text
> I have loaded router (~650 Mbps In+Out), based on 2xAMD Opteron 248, Sun Fire > X4100. HPET timer available (TSC seems not available on this platform). > Network interfaces is onboard, connected over PCI-X. > > Right now i am using only one processor, cause using only one interface and > interrupts stick to it. Other is almost not used. > At peak time i notice in mpstat, that this processor is almost "dead", and if > i run minor application consuming resources - ping over this router will be > terrible. For me it is clear - system overloaded. I did oprofile, and here is > result (at low load time, but at peak time it is very similar). > > CPU: AMD64 processors, speed 2193.74 MHz (estimated) > Counted CPU_CLK_UNHALTED events (Cycles outside of halt state) with a unit > mask of 0x00 (No unit mask) count 100000 > CPU_CLK_UNHALT...| > samples| %| > ------------------ > 2679376 71.9851 vmlinux > 287212 7.7163 e1000 > 278674 7.4870 ip_tables > 259923 6.9832 nf_conntrack > 29699 0.7979 iptable_nat > 26752 0.7187 nf_nat > 26093 0.7010 nf_conntrack_ipv4 > 16525 0.4440 iptable_mangle > 14988 0.4027 oprofiled > > > CPU: AMD64 processors, speed 2193.74 MHz (estimated) > Counted CPU_CLK_UNHALTED events (Cycles outside of halt state) with a unit > mask of 0x00 (No unit mask) count 100000 > samples % symbol name > 1031727 37.1736 getnstimeofday > 230457 8.3035 __napi_schedule > 122154 4.4013 __do_softirq > 110036 3.9647 dev_queue_xmit > 88800 3.1995 net_rx_action > 71163 2.5640 ip_route_input > 52232 1.8819 local_bh_enable > 43804 1.5783 get_next_timer_interrupt > 43387 1.5633 ip_forward > 35501 1.2791 nf_iterate > 35212 1.2687 __slab_alloc > 34652 1.2485 default_idle > 32375 1.1665 kfree > 28127 1.0134 kmem_cache_alloc > > What is bothering me, why getnstimeofday called so much? Even i remove HTB > shaper, it still takes 30-40% of whole vmlinux time. From other > applications - only zebra is running. > Any ideas?
What kernel version is this? There was a fix to AF_PACKET about a year ago to reduce this. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
loaded router, excessive getnstimeofday in oprofile
, Denys Fedoryshchenko
, (Thu Aug 21, 6:57 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Denys Fedoryshchenko
, (Thu Aug 21, 7:23 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Jarek Poplawski
, (Tue Aug 26, 2:51 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Denys Fedoryshchenko
, (Tue Aug 26, 3:29 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Jarek Poplawski
, (Tue Aug 26, 3:47 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Denys Fedoryshchenko
, (Tue Aug 26, 3:49 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Jarek Poplawski
, (Tue Aug 26, 4:07 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Jarek Poplawski
, (Tue Aug 26, 4:15 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Denys Fedoryshchenko
, (Tue Aug 26, 4:16 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Denys Fedoryshchenko
, (Tue Aug 26, 4:32 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Jarek Poplawski
, (Tue Aug 26, 4:32 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Evgeniy Polyakov
, (Tue Aug 26, 1:14 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Eric Dumazet
, (Tue Aug 26, 1:44 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Evgeniy Polyakov
, (Tue Aug 26, 1:51 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Denys Fedoryshchenko
, (Wed Aug 27, 5:09 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Evgeniy Polyakov
, (Wed Aug 27, 5:36 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Andi Kleen
, (Wed Aug 27, 5:54 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Denys Fedoryshchenko
, (Wed Aug 27, 7:00 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Evgeniy Polyakov
, (Wed Aug 27, 7:23 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Rick Jones
, (Wed Aug 27, 9:07 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Stephen Hemminger
, (Wed Aug 27, 9:17 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Andi Kleen
, (Wed Aug 27, 9:27 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Rick Jones
, (Wed Aug 27, 9:49 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Andi Kleen
, (Wed Aug 27, 9:56 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Rick Jones
, (Wed Aug 27, 9:57 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Jarek Poplawski
, (Wed Aug 27, 10:14 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Eric Dumazet
, (Wed Aug 27, 10:27 am)
Re: loaded router, excessive getnstimeofday in oprofile\
, Andi Kleen
, (Wed Aug 27, 11:32 am)
Re: loaded router, excessive getnstimeofday in oprofile
, David Miller
, (Wed Aug 27, 2:34 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, David Miller
, (Wed Aug 27, 3:18 pm)
Re: loaded router, excessive getnstimeofday in oprofile\
, David Miller
, (Wed Aug 27, 3:23 pm)
Re: loaded router, excessive getnstimeofday in oprofile\
, Andi Kleen
, (Wed Aug 27, 3:38 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Andi Kleen
, (Wed Aug 27, 3:39 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Nick Piggin
, (Wed Aug 27, 5:45 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, David Miller
, (Wed Aug 27, 5:48 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Nick Piggin
, (Wed Aug 27, 6:07 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Jason Uhlenkott
, (Wed Aug 27, 7:39 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, David Miller
, (Wed Aug 27, 8:10 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Stephen Hemminger
, (Wed Aug 27, 8:35 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Joe Malicki
, (Wed Aug 27, 11:28 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Andi Kleen
, (Thu Aug 28, 12:22 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Denys Fedoryshchenko
, (Thu Aug 28, 1:49 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Denys Fedoryshchenko
, (Thu Aug 28, 8:02 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Denys Fedoryshchenko
, (Thu Aug 28, 9:48 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Andi Kleen
, (Thu Aug 28, 9:56 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Rick Jones
, (Thu Aug 28, 11:00 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Eric Dumazet
, (Thu Aug 28, 11:57 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Ilpo Järvinen
, (Thu Aug 28, 12:01 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Denys Fedoryshchenko
, (Thu Aug 28, 12:25 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, David Miller
, (Thu Aug 28, 12:31 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, David Miller
, (Thu Aug 28, 12:36 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Eric Dumazet
, (Thu Aug 28, 12:37 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, David Miller
, (Thu Aug 28, 12:42 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Denys Fedoryshchenko
, (Thu Aug 28, 12:55 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Denys Fedoryshchenko
, (Thu Aug 28, 12:59 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Rick Jones
, (Thu Aug 28, 1:29 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, David Miller
, (Thu Aug 28, 1:32 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Rick Jones
, (Thu Aug 28, 1:45 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, David Miller
, (Thu Aug 28, 1:47 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Joe Malicki
, (Fri Aug 29, 8:21 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Andi Kleen
, (Fri Aug 29, 8:30 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Stephen Hemminger
, (Fri Aug 29, 8:43 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Joe Malicki
, (Fri Aug 29, 8:43 am)
Re: loaded router, excessive getnstimeofday in oprofile
, Evgeniy Polyakov
, (Fri Aug 29, 1:43 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Valdis.Kletnieks
, (Sun Aug 31, 7:39 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, David Miller
, (Sun Aug 31, 8:51 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Valdis.Kletnieks
, (Sun Aug 31, 9:08 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, David Miller
, (Sun Aug 31, 9:10 pm)
Re: loaded router, excessive getnstimeofday in oprofile
, Rick Jones
, (Tue Sep 2, 10:04 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Michael Trimarchi
Re: [PATCH] VFS: make file->f_pos access atomic on 32bit arch
Miklos Szeredi
[patch 14/15] vfs: more path_permission() conversions
Serge E. Hallyn
Re: [RFC v5][PATCH 7/8] Infrastructure for shared objects
Bernd Schmidt
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Takashi Iwai
[PATCH 2/2] input: Add LED support to Synaptics device
git
:
Junio C Hamano
Re: mingw, windows, crlf/lf, and git
Eyvind Bernhardsen
Re: Where has "git ls-remote" reference pattern matching gone?
Shawn O. Pearce
Re: Switching from CVS to GIT
Todd Zullinger
Re: [PATCH 2/2] send-email: rfc2047-quote subject lines with non-ascii characters
Santi Béjar
Re: How to use git-fmt-merge-msg?
linux-netdev
:
Ramkrishna Vepa
[net-2.6 PATCH 1/10] Neterion: New driver: Driver help file
Mark Anthony
invitation / inquiry
Ingo Molnar
Re: [PATCH 08/16] dma-debug: add core checking functions
David Miller
Re: [PATCH 1/3] f_phonet: dev_kfree_skb instead of dev_kfree_skb_any in TX callback
Sascha Hauer
[PATCH 03/12] fec: do not typedef struct types
git-commits-head
:
Linux Kernel Mailing List
amba: struct device - replace bus_id with dev_name(), dev_set_name()
Linux Kernel Mailing List
MIPS: Yosemite: Convert SMP startup lock to arch spinlock.
Linux Kernel Mailing List
ARM: S5PC100: IRQ and timer
Linux Kernel Mailing List
davinci: edma: clear interrupt status for interrupt enabled channels only
Linux Kernel Mailing List
x86, mm, kprobes: fault.c, simplify notify_page_fault()
openbsd-misc
:
Daniel A. Ramaley
Re: [semi-OT] Can anyone recommend an OpenBSD-compatible colour laser printer?
Matthias Kilian
Re: can't get vesa @ 1280x800 or nv
Tobias Ulmer
Re: Problem after upgrade 4.5 to 4.6: ERR M
Philip Guenther
Re: SIGCHLD and libpthread.so
J.C. Roberts
Re: [semi-OT] Can anyone recommend an OpenBSD-compatible colour laser printer?
Colocation donated by:
Syndicate