qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] env in TLS


From: Rafael Espíndola
Subject: Re: [Qemu-devel] env in TLS
Date: Mon, 11 Oct 2004 18:34:17 -0300

I have done some experiments in using TLS instead of LDT in the case
of  the code-copying optimization:

http://lists.gnu.org/archive/html/qemu-devel/2004-09/msg00206.html
http://lists.gnu.org/archive/html/qemu-devel/2004-09/msg00248.html

Hope that it is useful.

Rafael

On Mon, 11 Oct 2004 01:32:28 -0700 (PDT), Piotr Krysik
<address@hidden> wrote:
> Hi!
> 
> Fabrice, how about moving env variable to TLS?
> 
> This could improve performance (based on
> http://lists.gnu.org/archive/html/qemu-devel/2004-09/msg00294.html
> 
> about 10% could be gained -- need to verify). Also
> additional register would be available for op.c
> (anyone to implement register renaming?).
> 
> The main problem with this approach is portability.
> AFAIK GCC <= 3.2 doesn't recognize __thread keyword.
> For x86 we could fall-back to the LDT method from
> qemu-fast. How about other platforms? In the worst
> case we could use global variable and forget about
> multi-processor qemu-softmmu and multi-thread in
> qemu-user for some platforms in the future.
> 
> Comments?
> 
> Piotrek
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> 
> _______________________________________________
> Qemu-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]