All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roger Luethi <rl@hellgate.ch>
To: Manfred Spraul <manfred@colorfullife.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@osdl.org>, Ingo Molnar <mingo@redhat.com>
Subject: Re: [PATCH] fix f_version optimization for get_tgid_list
Date: Tue, 31 Aug 2004 23:51:31 +0200	[thread overview]
Message-ID: <20040831215130.GA20844@k3.hellgate.ch> (raw)
In-Reply-To: <4134DEFB.2070607@colorfullife.com>

test: top -d 0 -b -n 10 > /dev/null

==> 2.6.8 <==
real    0m19.092s
user    0m5.013s
sys     0m12.622s

CPU: CPU with timer interrupt, speed 0 MHz (estimated)
Profiling through timer interrupt
samples  %        image name               symbol name
6338     35.9379  vmlinux                  get_tgid_list
1742      9.8775  vmlinux                  pid_alive
1264      7.1672  libc-2.3.3.so            _IO_vfscanf_internal
940       5.3300  vmlinux                  number
625       3.5439  vmlinux                  proc_pid_stat
532       3.0166  libc-2.3.3.so            _IO_vfprintf_internal
398       2.2567  vmlinux                  __d_lookup
297       1.6841  vmlinux                  vsnprintf
268       1.5196  vmlinux                  link_path_walk
266       1.5083  libc-2.3.3.so            __i686.get_pc_thunk.bx
214       1.2134  libc-2.3.3.so            ____strtoul_l_internal
210       1.1907  vmlinux                  task_statm
209       1.1851  libc-2.3.3.so            _IO_default_xsputn_internal
199       1.1284  libc-2.3.3.so            _IO_putc_internal
172       0.9753  libc-2.3.3.so            ____strtol_l_internal
135       0.7655  libc-2.3.3.so            _IO_sputbackc_internal
130       0.7371  libncurses.so.5.4        _nc_outch
124       0.7031  vmlinux                  pid_revalidate
115       0.6521  top                      task_show
112       0.6351  libc-2.3.3.so            __find_specmb
103       0.5840  vmlinux                  atomic_dec_and_lock
98        0.5557  libc-2.3.3.so            __funlockfile
76        0.4309  libncurses.so.5.4        tputs
73        0.4139  vmlinux                  system_call
72        0.4083  libc-2.3.3.so            _IO_str_overflow_internal
72        0.4083  libc-2.3.3.so            __GI___printf_fp
66        0.3742  vmlinux                  may_open
65        0.3686  libc-2.3.3.so            __GI_strrchr
61        0.3459  vmlinux                  path_lookup
60        0.3402  libc-2.3.3.so            __GI___errno_location
58        0.3289  libc-2.3.3.so            __flockfile
55        0.3119  vmlinux                  __might_sleep

==> 2.6.8 + patch-tgid-bugfixes <==
real    0m10.062s
user    0m5.042s
sys     0m4.111s

CPU: CPU with timer interrupt, speed 0 MHz (estimated)
Profiling through timer interrupt
samples  %        image name               symbol name
1330     14.5292  libc-2.3.3.so            _IO_vfscanf_internal
931      10.1704  vmlinux                  number
618       6.7511  vmlinux                  proc_pid_stat
494       5.3965  libc-2.3.3.so            _IO_vfprintf_internal
307       3.3537  vmlinux                  __d_lookup
296       3.2336  vmlinux                  vsnprintf
233       2.5453  libc-2.3.3.so            _IO_putc_internal
216       2.3596  libc-2.3.3.so            _IO_default_xsputn_internal
212       2.3159  libc-2.3.3.so            ____strtoul_l_internal
208       2.2722  libc-2.3.3.so            __i686.get_pc_thunk.bx
200       2.1848  libc-2.3.3.so            ____strtol_l_internal
199       2.1739  vmlinux                  link_path_walk
198       2.1630  vmlinux                  task_statm
156       1.7042  libc-2.3.3.so            _IO_sputbackc_internal
128       1.3983  libncurses.so.5.4        _nc_outch
122       1.3328  top                      task_show
110       1.2017  vmlinux                  pid_revalidate
84        0.9176  libc-2.3.3.so            __funlockfile
81        0.8849  libc-2.3.3.so            __find_specmb
72        0.7865  libncurses.so.5.4        tputs
68        0.7428  vmlinux                  system_call
65        0.7101  libc-2.3.3.so            __GI___errno_location
64        0.6991  libc-2.3.3.so            _IO_str_overflow_internal
63        0.6882  libc-2.3.3.so            __flockfile
63        0.6882  vmlinux                  get_tgid_list
61        0.6664  libc-2.3.3.so            __strnlen
59        0.6445  libc-2.3.3.so            __GI___printf_fp
57        0.6227  vmlinux                  atomic_dec_and_lock
55        0.6008  libc-2.3.3.so            __GI_strrchr
54        0.5899  vmlinux                  may_open
52        0.5681  libproc-3.2.3.so         escape_str
51        0.5571  libc-2.3.3.so            _IO_str_init_static_internal
51        0.5571  libc-2.3.3.so            __GI___strtoul_internal


      reply	other threads:[~2004-08-31 21:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-31 20:26 [PATCH] fix f_version optimization for get_tgid_list Manfred Spraul
2004-08-31 21:51 ` Roger Luethi [this message]

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=20040831215130.GA20844@k3.hellgate.ch \
    --to=rl@hellgate.ch \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manfred@colorfullife.com \
    --cc=mingo@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.