From: puneet_kaushik@persistent.co.in
To: linux-kernel@vger.kernel.org
Subject: Needed faster implementation of do_gettimeofday()
Date: Sun, 20 Feb 2005 16:28:17 +0530 (IST) [thread overview]
Message-ID: <34373.203.199.147.2.1108897097.squirrel@webmail.persistent.co.in> (raw)
Hello all,
I am running oprofile on some program. Following is the oprofile output.
-----------------------------------------------------------------------
Counted GLOBAL_POWER_EVENTS events (time during which processor is not
stopped) with a unit mask of 0x01 (mandatory) count 100000
samples % app name symbol name
985913 8.6083 vmlinux mark_offset_tsc
584473 5.1032 libc-2.3.2.so getc
295901 2.5836 vmlinux ide_outb
270823 2.3646 vmlinux _spin_lock
249791 2.1810 vmlinux _spin_unlock
236140 2.0618 vmlinux timer_interrupt
175249 1.5302 ld-2.3.2.so do_lookup_versioned
140429 1.2261 sendmail putc
138739 1.2114 sendmail stabhash
134145 1.1713 sendmail getc
-----------------------------------------------------------------------
>From this output what I can analyse is that mark_offset_tsc(which is
called from do_gettimeofday), and some other timer functions, are taking
most of the CPU.
Is there any faster implementation of do_gettimeofday. I am using kernel
2.6.10. with dual P4.
What I found from google search is: http://lwn.net/Articles/9266/ , which
is only for kernel 2.4
Thanks for help.
-Puneet
next reply other threads:[~2005-02-20 10:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-20 10:58 puneet_kaushik [this message]
2005-02-20 15:48 ` Parag Warudkar
2005-02-22 3:06 ` George Anzinger
2005-02-22 13:56 ` Puneet Kaushik
2005-02-22 15:46 ` Chris Friesen
2005-02-22 16:44 ` George Anzinger
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=34373.203.199.147.2.1108897097.squirrel@webmail.persistent.co.in \
--to=puneet_kaushik@persistent.co.in \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®