From: Brian Gerst <bgerst@didntduck.org>
To: Arjan van de Ven <arjan@infradead.org>
Cc: Tymm Twillman <ttwillman@penguincomputing.com>,
linux-kernel@vger.kernel.org
Subject: Re: 2.4, 2.6, i686/athlon and LDT's
Date: Mon, 27 Dec 2004 15:55:53 -0500 [thread overview]
Message-ID: <41D076D9.30404@didntduck.org> (raw)
In-Reply-To: <1104178937.4187.16.camel@laptopd505.fenrus.org>
Arjan van de Ven wrote:
> On Mon, 2004-12-27 at 11:46 -0800, Tymm Twillman wrote:
>
>>Hi all,
>
>
>>It appears that use of the LDT is to speed up context switching between
>>threads, although I haven't even found especially good references WRT
>>that. I have looked through the info in the IA Developers publications
>>and have whacked my head against Google quite a bit. However, every bit
>>of clarity I've found there has been offset by new confuzled bits.
>
>
> LDT's are *slow*. That's why glibc will try to avoid using them
> nowadays, and with 2.6 it won't; as for 2.4.. it depends if you use a
> vendor 2.4 it might be able to avoid using LDT's as well.
Using the LDT isn't inherently slower, since the cpu caches the segment
descriptor regardless of if it came from the GDT or LDT. Using an LDT
however consumes kernel memory, which can slow down the system from
memory pressure if you have many processes/threads using them.
--
Brian Gerst
next prev parent reply other threads:[~2004-12-27 20:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-27 19:46 2.4, 2.6, i686/athlon and LDT's Tymm Twillman
2004-12-27 20:22 ` Arjan van de Ven
2004-12-27 20:55 ` Brian Gerst [this message]
2004-12-27 21:29 ` Arjan van de Ven
2004-12-27 23:44 ` Ulrich Drepper
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=41D076D9.30404@didntduck.org \
--to=bgerst@didntduck.org \
--cc=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ttwillman@penguincomputing.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