netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-2.6.25 0/4] [NET]: Bloat, bloat and more bloat
@ 2008-01-05 13:39 Ilpo Järvinen
  2008-01-05 13:39 ` [PATCH 1/4] [NETFILTER]: Kill some supper dupper bloatry Ilpo Järvinen
  2008-01-05 14:46 ` [PATCH net-2.6.25 0/4] [NET]: Bloat, bloat and more bloat Arnaldo Carvalho de Melo
  0 siblings, 2 replies; 29+ messages in thread
From: Ilpo Järvinen @ 2008-01-05 13:39 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, Arnaldo Carvalho de Melo

Hi Dave,

After Arnaldo got codiff's inline instrumentation bugs fixed
(thanks! :-)), I got my .c-inline-bloat-o-meter to power up
reliably after some tweaking and bug fixing on my behalf...
It shows some very high readings every now and then in the
code under net/.

...Aand... we've a sovereign winner, though it was only fifth
on a kernel wide list (arch/ excluded due to number of
reasons) :-/.

Hall of (unquestionable) fame (measured per inline, top 10 under
net/):
  -4496 ctnetlink_parse_tuple        netfilter/nf_conntrack_netlink.c
  -2165 ctnetlink_dump_tuples        netfilter/nf_conntrack_netlink.c
  -2115 __ip_vs_get_out_rt           ipv4/ipvs/ip_vs_xmit.c
  -1924 xfrm_audit_helper_pktinfo    xfrm/xfrm_state.c
  -1799 ctnetlink_parse_tuple_proto  netfilter/nf_conntrack_netlink.c
  -1268 ctnetlink_parse_tuple_ip     netfilter/nf_conntrack_netlink.c
  -1093 ctnetlink_exp_dump_expect    netfilter/nf_conntrack_netlink.c
  -1060 ccid3_update_send_interval   dccp/ccids/ccid3.c
  -983  ctnetlink_dump_tuples_proto  netfilter/nf_conntrack_netlink.c
  -827  ctnetlink_exp_dump_tuple     netfilter/nf_conntrack_netlink.c

Removing inlines is done iteratively because e.g., uninlining
ctnetlink_parse_tuple affected ..._{proto,ip} prices as well.

i386/gcc (GCC) 4.1.2 20070626 (Red Hat 4.1.2-13)/allyesconfig
except CONFIG_FORCED_INLINING. Tried without some CONFIG.*DEBUG
as well and got slightly better numbers for some functions, yet
the number don't differ enough to be that meaningful, ie., if  
there's bloat somewhere, removing DEBUGs won't make it go away.

...After this first aid we're at least below 1k :-).

--
 i.



^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2008-01-10 13:53 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-05 13:39 [PATCH net-2.6.25 0/4] [NET]: Bloat, bloat and more bloat Ilpo Järvinen
2008-01-05 13:39 ` [PATCH 1/4] [NETFILTER]: Kill some supper dupper bloatry Ilpo Järvinen
2008-01-05 13:39   ` [PATCH 2/4] [IPVS]: Kill some bloat Ilpo Järvinen
2008-01-05 13:39     ` [PATCH 3/4] [XFRM]: " Ilpo Järvinen
2008-01-05 13:39       ` [PATCH 4/4] [CCID3]: " Ilpo Järvinen
2008-01-05 14:44         ` Arnaldo Carvalho de Melo
2008-01-06  7:13         ` David Miller
2008-01-06  0:29       ` [PATCH 3/4] [XFRM]: " Herbert Xu
2008-01-06  3:25         ` Paul Moore
2008-01-06  7:16         ` David Miller
2008-01-07  7:13           ` Ilpo Järvinen
2008-01-07  7:32             ` Herbert Xu
2008-01-08  0:23           ` Andi Kleen
2008-01-08  1:54             ` David Miller
2008-01-08  2:05               ` Andi Kleen
2008-01-08  2:08                 ` [PATCH 3/4] [XFRM]: Kill some bloat II Andi Kleen
2008-01-08  3:37                 ` [PATCH 3/4] [XFRM]: Kill some bloat David Miller
2008-01-08  5:00                   ` Andi Kleen
2008-01-08  5:10                     ` David Miller
2008-01-08 10:48                       ` Ilpo Järvinen
2008-01-10 13:53                         ` Ilpo Järvinen
2008-01-08 10:57             ` Ilpo Järvinen
2008-01-07  8:21         ` Ilpo Järvinen
2008-01-07 10:02           ` Herbert Xu
2008-01-06  7:13       ` David Miller
2008-01-06  7:12     ` [PATCH 2/4] [IPVS]: " David Miller
2008-01-06  7:11   ` [PATCH 1/4] [NETFILTER]: Kill some supper dupper bloatry David Miller
2008-01-05 14:46 ` [PATCH net-2.6.25 0/4] [NET]: Bloat, bloat and more bloat Arnaldo Carvalho de Melo
2008-01-09 11:35   ` Ilpo Järvinen

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).