From: Stephen Hemminger <shemminger@osdl.org>
To: Andrea Arcangeli <andrea@suse.de>
Cc: john stultz <johnstul@us.ibm.com>,
Linus Torvalds <torvalds@transmeta.com>,
Michael Hohnbaum <hbaum@us.ibm.com>,
"Martin J. Bligh" <mbligh@aracnet.com>,
george anzinger <george@mvista.com>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: [RFC][PATCH] linux-2.5.34_vsyscall_A0
Date: 18 Oct 2002 09:13:39 -0700 [thread overview]
Message-ID: <1034957619.5401.8.camel@dell_ss3.pdx.osdl.net> (raw)
In-Reply-To: <20021018111442.GH16501@dualathlon.random>
One reason gettimeofday ends up being important is that several
databases call it a lot. They use it to build up a transaction id. Under
big transaction loads, even the fast linux syscall path ends up being a
bottleneck. Also, on NUMA machines the data used for time of day (xtime)
ends up being a significant portion of the cache traffic.
It would be great to rework the whole TSC time of day stuff to work with
per cpu data and allow unsychronized TSC's like NUMA. The problem is
that for fast user level access, there would need to be some way to find
out the current CPU and avoid preemption/migration for a short period.
It seems like the LDT stuff for per-thread data could provide the
current cpu (and maybe current pid) somehow. And it would be possible
to avoid preemption while in a vsyscall text page, some other Unix
variants do this to implement portions of the thread library in kernel
provided user text pages.
next prev parent reply other threads:[~2002-10-18 16:07 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-18 4:25 john stultz
2002-10-18 4:26 ` [RFC] linux-2.5.34_vsyscall_A0 - Test App john stultz
2002-10-18 11:14 ` [RFC][PATCH] linux-2.5.34_vsyscall_A0 Andrea Arcangeli
2002-10-18 16:13 ` Stephen Hemminger [this message]
2002-10-18 16:45 ` george anzinger
2002-10-18 17:11 ` Andrea Arcangeli
2002-10-18 17:19 ` Linus Torvalds
2002-10-18 17:21 ` Andrea Arcangeli
2002-10-18 18:37 ` Stephen Hemminger
2002-10-18 18:51 ` Andrea Arcangeli
2002-10-18 19:30 ` george anzinger
2002-10-18 17:01 ` Andrea Arcangeli
2002-10-21 13:18 ` Alan Cox
2002-10-21 17:15 ` john stultz
2002-10-18 16:39 ` john stultz
2002-10-18 18:54 ` [RFC] vsyscall_A0 LD_PRELOAD implementation john stultz
2002-10-21 22:44 ` [RFC][PATCH] linux-2.5.34_vsyscall_A0 Stephen Hemminger
2002-10-18 18:21 Manfred Spraul
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=1034957619.5401.8.camel@dell_ss3.pdx.osdl.net \
--to=shemminger@osdl.org \
--cc=andrea@suse.de \
--cc=george@mvista.com \
--cc=hbaum@us.ibm.com \
--cc=johnstul@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mbligh@aracnet.com \
--cc=torvalds@transmeta.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 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®