git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jon Smirl" <jonsmirl@gmail.com>
To: git <git@vger.kernel.org>
Subject: Why so much time in the kernel?
Date: Fri, 16 Jun 2006 10:49:39 -0400	[thread overview]
Message-ID: <9e4733910606160749t4d7a541ev72a67383e96d86da@mail.gmail.com> (raw)

I'm still working on importing Mozilla CVS. I'm at the phase now where
all of the changeset have been identified. The scripts are pulling the
changesets one at a time out of CVS and putting them into git. I've
been running this phase for 2 days now on a 3GB machine and it still
isn't finished.

I am spending over 40% of the time in the kernel. This looks to be
caused from forks and starting small tasks, is that the correct
interpretation? Is the number of process that have been run recorded
any where? 1.4% of the time is spend in the dynamic linker.

Checking with oprofile I see this:

  18262372 41.0441 /home/good/vmlinux
  5465741 12.2841 /usr/bin/cvs
  4374336  9.8312 /lib/libc-2.4.so
  3627709  8.1532 /lib/libcrypto.so.0.9.8a
  2494610  5.6066 /usr/bin/oprofiled
  2471238  5.5540 /usr/lib/libz.so.1.2.3
   945349  2.1246 /usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
   933646  2.0983 /usr/local/bin/git-read-tree
   758776  1.7053 /usr/local/bin/git-write-tree
   642502  1.4440 /lib/ld-2.4.so
   472903  1.0628 /nvidia
   379254  0.8524 /usr/local/bin/git-pack-objects

and breaking down the kernel number:

3467889  18.9893  copy_page_range
2190416  11.9941  unmap_vmas
1156011   6.3300  page_fault
887794    4.8613  release_pages
860853    4.7138  page_remove_rmap
633243    3.4675  get_page_from_freelist
398773    2.1836  do_wp_page
344422    1.8860  __mutex_lock_slowpath
280070    1.5336  __handle_mm_fault
241713    1.3236  do_page_fault
238398    1.3054  __d_lookup
236654    1.2959  vm_normal_page


-- 
Jon Smirl
jonsmirl@gmail.com

             reply	other threads:[~2006-06-16 14:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-16 14:49 Jon Smirl [this message]
2006-06-16 15:06 ` Why so much time in the kernel? Linus Torvalds
2006-06-16 15:25   ` Jon Smirl
2006-06-16 16:09     ` Linus Torvalds
2006-06-16 17:00       ` Jon Smirl
2006-06-16 17:09         ` Jakub Narebski
2006-06-16 17:29         ` Keith Packard
2006-06-16 17:44           ` Jon Smirl
2006-06-16 18:02             ` Keith Packard
2006-06-16 18:07             ` Nicolas Pitre
2006-06-16 18:32         ` Linus Torvalds

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=9e4733910606160749t4d7a541ev72a67383e96d86da@mail.gmail.com \
    --to=jonsmirl@gmail.com \
    --cc=git@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).