[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

code size latest snapshop versus 200206




Peter Mueller wrote:



> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Sorry for the delayed answer. I use a modified efi332 with networking
> (cs8900) and ide interface.

Looks like you are networking so 

> Latest tool set from the CD directory. I can't remember to tool versions I
> used for the old build - already deleted :-(

Do you happen to remember the RTEMS version?  It looks like it is before
the "fast semaphore" work.

> I have used the diffcalc script. Here are some major differences:

Chris.. by line count sysctl is a lot of this. :(

I also see about 1K total in the increase of
_vfiprintf_r and _vfprintf_r.

Other than that I see some str* routines in the new executable not in
the old and the rest is largely noise.  Some new routines due to 
restructuring in RTEMS.  But the code was properly already there in
different places.

> _vfiprintf_r C 2166 2624
> _vfprintf_r C 4166 4622
> avl_search_for_sync N 0 174
> _CORE_mutex_Seize_interrupt_trylock N 0 244
> _CORE_mutex_Seize_interrupt_trylock N 0 244
> _CORE_mutex_Seize_interrupt_trylock N 0 244
> _CORE_mutex_Seize_interrupt_trylock N 0 244
> _CORE_mutex_Seize_interrupt_trylock N 0 244
> _CORE_mutex_Seize_interrupt_trylock N 0 244
> _CORE_mutex_Seize_interrupt_trylock N 0 244
> _CORE_mutex_Seize_interrupt_trylock N 0 244
> data.0 N 0 512
> kernel_sysctlbyname N 0 130
> kern_mib.c N 0 0
> kern_sysctl.c N 0 0
> last_adjusted_timeout.0 N 0 4
> last_zeroed.0 N 0 4
> __lc_ctype N 0 12
> libgcc2.c N 0 0
> libgcc2.c N 0 0
> libgcc2.c N 0 0
> link_ascii N 0 118
> __locale_charset N 0 14
> m68kidle.c N 0 0
> machine N 0 7
> memfile_check_rmnod N 0 80
> _mktm_r N 0 1188
> mktm_r.c N 0 0
> __mlocale_changed N 0 4
> _mrt_ioctl N 0 4
> mtutab.0 N 0 48
> name2oid N 0 248
> newoid.0 N 0 4
> __nlocale_changed N 0 4
> null_local_table.0 N 0 4
> null_sdl.0 N 0 20
> object.2 N 0 24
> objectgetnoprotection.c N 0 0
> _Objects_Get_no_protection N 0 44
> old_cnt.3 N 0 4
> old_mono_secs.1 N 0 4
> osrelease N 0 10
> ostype N 0 6
> p.0 N 0 0
> p05.0 N 0 12
> part_desc.3 N 0 4
> part_table.1 N 0 4
> _PathLocale N 0 4
> p_environ N 0 4
> _POSIX_Objects N 0 36
> prev_bps.1 N 0 4
> prev_seconds_since_epoch.2 N 0 4
> prev_tzenv N 0 4
> putchar N 0 24
> putchar.c N 0 0
> _putchar_r N 0 114
> ret.0 N 0 18
> rnd.0 N 0 4
> _RTEMS_Allocator_Mutex N 0 4
> rtems_bsdnet_bootp_cmdline N 0 4
> _RTEMS_Objects N 0 40
> seconds_since_epoch.3 N 0 4
> __set_domain_set_sym_inetdomain N 0 4
> __set_domain_set_sym_routedomain N 0 4
> __set_sysctl_set_sym_sysctl___kern N 0 4
> __set_sysctl_set_sym_sysctl___kern_maxsockbuf N 0 4
> __set_sysctl_set_sym_sysctl___kern_osrelease N 0 4
> __set_sysctl_set_sym_sysctl___kern_osrevision N 0 4
> __set_sysctl_set_sym_sysctl___kern_ostype N 0 4
> __set_sysctl_set_sym_sysctl___kern_sockbuf_waste_factor N 0 4
> __set_sysctl_set_sym_sysctl___kern_somaxconn N 0 4
> __set_sysctl_set_sym_sysctl___net N 0 4
> __set_sysctl_set_sym_sysctl___net_inet N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_icmp N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_icmp_bmcastecho N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_icmp_maskrepl N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_icmp_stats N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_igmp N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_igmp_stats N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_ip N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_ip_accept_sourceroute N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_ip_forwarding N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_ip_intr_queue_drops N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_ip_intr_queue_maxlen N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_ip_portrange N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_ip_portrange_first N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_ip_portrange_hifirst N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_ip_portrange_hilast N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_ip_portrange_last N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_ip_portrange_lowfirst N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_ip_portrange_lowlast N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_ip_redirect N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_ip_rtexpire N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_ip_rtmaxcache N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_ip_rtminexpire N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_ip_sourceroute N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_ip_subnets_are_local N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_ip_ttl N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_tcp N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_tcp_always_keepalive N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_tcp_keepidle N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_tcp_keepinit N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_tcp_keepintvl N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_tcp_log_in_vain N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_tcp_mssdflt N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_tcp_pcblist N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_tcp_recvspace N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_tcp_sendspace N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_tcp_stats N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_udp N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_udp_checksum N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_udp_log_in_vain N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_udp_maxdgram N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_udp_pcblist N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_udp_recvspace N 0 4
> __set_sysctl_set_sym_sysctl___net_inet_udp_stats N 0 4
> __set_sysctl_set_sym_sysctl___net_link N 0 4
> __set_sysctl_set_sym_sysctl___net_link_ether N 0 4
> __set_sysctl_set_sym_sysctl___net_link_ether_inet N 0 4
> __set_sysctl_set_sym_sysctl___net_link_ether_inet_host_down_time N 0 4
> __set_sysctl_set_sym_sysctl___net_link_ether_inet_max_age N 0 4
> __set_sysctl_set_sym_sysctl___net_link_ether_inet_maxtries N 0 4
> __set_sysctl_set_sym_sysctl___net_link_ether_inet_proxyall N 0 4
> __set_sysctl_set_sym_sysctl___net_link_ether_inet_prune_intvl N 0 4
> __set_sysctl_set_sym_sysctl___net_link_ether_inet_useloopback N 0 4
> __set_sysctl_set_sym_sysctl___net_link_generic N 0 4
> __set_sysctl_set_sym_sysctl___net_routetable N 0 4
> __set_sysctl_set_sym_sysctl___sysctl N 0 4
> __set_sysctl_set_sym_sysctl___sysctl_debug N 0 4
> __set_sysctl_set_sym_sysctl___sysctl_name2oid N 0 4
> __set_sysctl_set_sym_sysctl___sysctl_name N 0 4
> __set_sysctl_set_sym_sysctl___sysctl_next N 0 4
> __set_sysctl_set_sym_sysctl___sysctl_oiddescr N 0 4
> __set_sysctl_set_sym_sysctl___sysctl_oidfmt N 0 4
> sin.2 N 0 16
> skip_options N 0 172
> _sscanf_r N 0 88
> __start_set_sysctl_set N 0 0
> __stop_set_sysctl_set N 0 0
> strlcpy N 0 64
> strlcpy.c N 0 0
> strtof N 0 40
> _strtoll_r N 0 480
> strtoll_r.c N 0 0
> _strtoull_r N 0 444
> strtoull_r.c N 0 0
> __svfscanf_r N 0 2870
> __swbuf N 0 210
> sysctl N 0 108
> __sysctl N 0 148
> sysctl_add_oid N 0 484
> sysctl__children N 0 4
> sysctl_ctx_entry_add N 0 90
> sysctl_ctx_entry_del N 0 98
> sysctl_ctx_entry_find N 0 44
> sysctl_ctx_free N 0 178
> sysctl_ctx_init N 0 22
> sysctl_find_oid N 0 136
> sysctl_handle_int N 0 100
> sysctl_handle_long N 0 86
> sysctl_handle_opaque N 0 178
> sysctl_handle_string N 0 166
> sysctl___kern N 0 44
> sysctl__kern_children N 0 4
> sysctl___kern_maxsockbuf N 0 44
> sysctl___kern_osrelease N 0 44
> sysctl___kern_osrevision N 0 44
> sysctl___kern_ostype N 0 44
> sysctl___kern_sockbuf_waste_factor N 0 44
> sysctl___kern_somaxconn N 0 44
> sysctl___net N 0 44
> sysctl__net_children N 0 4
> sysctl___net_inet N 0 44
> sysctl__net_inet_children N 0 4
> sysctl___net_inet_icmp N 0 44
> sysctl___net_inet_icmp_bmcastecho N 0 44
> sysctl__net_inet_icmp_children N 0 4
> sysctl___net_inet_icmp_maskrepl N 0 44
> sysctl___net_inet_icmp_stats N 0 44
> sysctl___net_inet_igmp N 0 44
> sysctl__net_inet_igmp_children N 0 4
> sysctl___net_inet_igmp_stats N 0 44
> sysctl___net_inet_ip N 0 44
> sysctl___net_inet_ip_accept_sourceroute N 0 44
> sysctl__net_inet_ip_children N 0 4
> sysctl___net_inet_ip_forwarding N 0 44
> sysctl___net_inet_ip_intr_queue_drops N 0 44
> sysctl___net_inet_ip_intr_queue_maxlen N 0 44
> sysctl___net_inet_ip_portrange N 0 44
> sysctl__net_inet_ip_portrange_children N 0 4
> sysctl___net_inet_ip_portrange_first N 0 44
> sysctl___net_inet_ip_portrange_hifirst N 0 44
> sysctl___net_inet_ip_portrange_hilast N 0 44
> sysctl___net_inet_ip_portrange_last N 0 44
> sysctl___net_inet_ip_portrange_lowfirst N 0 44
> sysctl___net_inet_ip_portrange_lowlast N 0 44
> sysctl___net_inet_ip_redirect N 0 44
> sysctl___net_inet_ip_rtexpire N 0 44
> sysctl___net_inet_ip_rtmaxcache N 0 44
> sysctl___net_inet_ip_rtminexpire N 0 44
> sysctl___net_inet_ip_sourceroute N 0 44
> sysctl___net_inet_ip_subnets_are_local N 0 44
> sysctl___net_inet_ip_ttl N 0 44
> sysctl___net_inet_tcp N 0 44
> sysctl___net_inet_tcp_always_keepalive N 0 44
> sysctl__net_inet_tcp_children N 0 4
> sysctl___net_inet_tcp_keepidle N 0 44
> sysctl___net_inet_tcp_keepinit N 0 44
> sysctl___net_inet_tcp_keepintvl N 0 44
> sysctl___net_inet_tcp_log_in_vain N 0 44
> sysctl___net_inet_tcp_mssdflt N 0 44
> sysctl___net_inet_tcp_pcblist N 0 44
> sysctl___net_inet_tcp_recvspace N 0 44
> sysctl___net_inet_tcp_sendspace N 0 44
> sysctl___net_inet_tcp_stats N 0 44
> sysctl___net_inet_udp N 0 44
> sysctl___net_inet_udp_checksum N 0 44
> sysctl__net_inet_udp_children N 0 4
> sysctl___net_inet_udp_log_in_vain N 0 44
> sysctl___net_inet_udp_maxdgram N 0 44
> sysctl___net_inet_udp_pcblist N 0 44
> sysctl___net_inet_udp_recvspace N 0 44
> sysctl___net_inet_udp_stats N 0 44
> sysctl_net_ipport_check N 0 300
> sysctl___net_link N 0 44
> sysctl__net_link_children N 0 4
> sysctl___net_link_ether N 0 44
> sysctl__net_link_ether_children N 0 4
> sysctl___net_link_ether_inet N 0 44
> sysctl__net_link_ether_inet_children N 0 4
> sysctl___net_link_ether_inet_host_down_time N 0 44
> sysctl___net_link_ether_inet_max_age N 0 44
> sysctl___net_link_ether_inet_maxtries N 0 44
> sysctl___net_link_ether_inet_proxyall N 0 44
> sysctl___net_link_ether_inet_prune_intvl N 0 44
> sysctl___net_link_ether_inet_useloopback N 0 44
> sysctl___net_link_generic N 0 44
> sysctl__net_link_generic_children N 0 4
> sysctl___net_routetable N 0 44
> sysctl__net_routetable_children N 0 4
> sysctl_new_kernel N 0 72
> sysctl_new_user N 0 72
> sysctl_old_kernel N 0 110
> sysctl_old_user N 0 108
> sysctl_register_all N 0 38
> sysctl_register_oid N 0 206
> sysctl_remove_oid N 0 302
> sysctl_root N 0 158
> sysctl___sysctl N 0 44
> sysctl__sysctl_children N 0 4
> sysctl_sysctl_debug N 0 18
> sysctl___sysctl_debug N 0 44
> sysctl_sysctl_debug_dump_node N 0 266
> sysctl_sysctl_name2oid N 0 178
> sysctl___sysctl_name2oid N 0 44
> sysctl_sysctl_name N 0 310
> sysctl___sysctl_name N 0 44
> sysctl__sysctl_name_children N 0 4
> sysctl___sysctl_next N 0 44
> sysctl_sysctl_next N 0 96
> sysctl__sysctl_next_children N 0 4
> sysctl_sysctl_next_ls N 0 216
> sysctl___sysctl_oiddescr N 0 44
> sysctl_sysctl_oiddescr N 0 98
> sysctl__sysctl_oiddescr_children N 0 4
> sysctl_sysctl_oidfmt N 0 128
> sysctl___sysctl_oidfmt N 0 44
> sysctl__sysctl_oidfmt_children N 0 4
> sysctl_unregister_oid N 0 50
> sysctl_wire_old_buffer N 0 40
> tcp_pcblist N 0 470
> _Thread_Get N 0 122
> _Thread_Get N 0 122
> _Thread_Get N 0 122
> _Thread_Get N 0 122
> _Thread_Get N 0 122
> _Thread_Get N 0 122
> _Thread_Get N 0 122
> _Thread_Get N 0 122
> _Thread_Get N 0 122
> _timezone N 0 4
> txt.0 N 0 28
> __tzcalc_limits N 0 586
> __tz_lock N 0 8
> tzlock.c N 0 0
> _tzname N 0 8
> __tzname_dst N 0 11
> __tzname_std N 0 11
> __tznorth N 0 4
> __tzrule N 0 52
> _tzset_r N 0 1142
> tzset_r.c N 0 0
> __tz_unlock N 0 8
> __tzyear N 0 4
> __udivdi3 N 0 28
> __udivmoddi4 N 0 370
> __udivmoddi4 N 0 370
> udp_pcblist N 0 398
> __umoddi3 N 0 38
> userland_sysctl N 0 380
> vfcntl N 0 382
> vfscanf N 0 76
> _vfscanf_r N 0 30
> _vprintf_r N 0 32
> _vsprintf_r N 0 76
> wbuf.c N 0 0
> zeroes.1 N 0 16
> zeroes.1 N 0 16
> 
> Does this help?
> 
> Peter
> 
> On Thu, 27 Feb 2003 08:37:50 -0600
> Joel Sherrill <joel.sherrill at OARcorp.com> wrote:
> 
> >
> >
> > Chris Johns wrote:
> > >
> > > Till Straumann wrote:
> > >
> > > > It's not clear who is really responsible for the net increase
> > > > as some things got bigger and some new symbols appear but other
> > > > symbols shrunk or disappeared.
> > > > There is also noticable fluctuation among small items.
> > >
> > > I agree. Most items are small excluding the _vfiprintf_r/_vfprintf_r
> > > etc. Some call must have been added to bring these in.
> > >
> > > Not sure why the change has happened.
> >
> > If the references to _vfiprintf_r/_vfprintf_r are new, then
> > please use the -Map option to ld to find out what is rerfercing it
> > and forcing it in.
> >
> > I am in the middle of building tools so am not in a good position to
> > check other targets.  What BSP are you using Peter?  If not a PPC one,
> > then it is likely some shared support code and we need to find it and
> > reduce the dependencies.
> 
> - --
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
> 
> iD8DBQE+X7zMUzCcwYQMTJoRAqA1AJ9y1FJm++fx0FygGW45QonH1hHG8QCgtZfO
> iYBS8FosAPk/YhF3o48Ek5w=
> =bYiz
> -----END PGP SIGNATURE-----

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985