|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Re: NPTL/TLS "emulation" idea (fwd)
On Wed, 20 Oct 2004, Keir Fraser wrote:
> > How bad is the performance? A 10% performance penalty, 30% ?
>
> My benchmark is 'time /bin/ls -R /usr/lib >/dev/null' with a warm
> buffer cache.
>
> With no /lib/tls this takes ~180ms. With emulation it takes
> ~300ms. With the new technique it's ~390ms -- so about a further 30%
> slowdown, or 115% slowdown overall.
Considering how system heavy this workload is, that's
probably not even that bad.
> The extra cost is due to the fact that we fault nearly twice as often
> because -ve and +ve accesses seem pretty neatly interleaved. So we
> fault on all GS accesses, rather than just the -ve ones. :-(
IIRC the glibc private data is accessed once per system
call, or possibly on both system call entrance and exit.
Less system heavy tasks probably do not have an overhead
as bad as ls -R.
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] Re: NPTL/TLS "emulation" idea (fwd), Rik van Riel
- [Xen-devel] Re: NPTL/TLS "emulation" idea (fwd), Rik van Riel
- Re: [Xen-devel] Re: NPTL/TLS "emulation" idea (fwd), Keir Fraser
- Re: [Xen-devel] Re: NPTL/TLS "emulation" idea (fwd), Rik van Riel
- Re: [Xen-devel] Re: NPTL/TLS "emulation" idea (fwd), Keir Fraser
- Re: [Xen-devel] Re: NPTL/TLS "emulation" idea (fwd),
Rik van Riel <=
- Re: [Xen-devel] Re: NPTL/TLS "emulation" idea (fwd), Keir Fraser
- Re: [Xen-devel] Re: NPTL/TLS "emulation" idea (fwd), Rik van Riel
- Re: [Xen-devel] Re: NPTL/TLS "emulation" idea (fwd), Ian Pratt
- Re: [Xen-devel] Re: NPTL/TLS "emulation" idea (fwd), Jakub Jelinek
- Re: [Xen-devel] Re: NPTL/TLS "emulation" idea (fwd), Keir Fraser
- Re: [Xen-devel] Re: NPTL/TLS "emulation" idea (fwd), Jakub Jelinek
- Re: [Xen-devel] Re: NPTL/TLS "emulation" idea (fwd), David Hopwood
|
|
|
|
|