Karim Belabas on Sat, 12 Oct 2024 15:04:30 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: PARI with --enable-tls
|
- To: Max Alekseyev <maxale@gmail.com>
- Subject: Re: PARI with --enable-tls
- From: Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>
- Date: Sat, 12 Oct 2024 15:04:26 +0200
- Cc: Pari Users <pari-users@pari.math.u-bordeaux.fr>
- Delivery-date: Sat, 12 Oct 2024 15:04:30 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=math.u-bordeaux.fr; s=2022; t=1728738268; bh=AT8LzvXgvka67QpN+bB7uHXwmMxQml28TMdxUtZHic4=; h=Date:From:To:Cc:References:In-Reply-To:From; b=YamwNGjImLDJviMYRAFmTGjOKQ92z4NaIFB6nwjH0cBatUBXb5jahwyMh80A1DUy2 eG/fIzHLgxWmYvhQ92G9ki5M3vlDeNp0CK57Ki1BIjanwE1CIp6jZK8sSo074RQKiq plTz2ueriY7vqIGBokTlY0ut3FGUFv4R9A9XaJv9JsIHMv3tY5HDdts16HHx7ktBCf VFIHvz5J9fFvxZfqkGbL+gn0ypqL0rrKDiGq8zFybTwu3ybYppGIZBGPidaNPV/6/p WMQ+lc4H4uGGnB/zlJCaoyLO/4qRTx3R9nSRhborEfrOGD6RJG9NmGO0cM97FK8MMW XFobhT0fipvXQN5CdoKZPWq2mF2EU0Hn47cpXRniucMvWEI1Nefx3QmWJDPP2+Dd2y IwF2WxF0jocy7gGO6JfdSv2RzIo2f+pnl6TkOXuIvzdn+TaQM6AbG17nVInYLy3Z56 6/3S08d9Kzz5rmy6cadr/qdC3E9pip6fOlZBd1ibWtLFh9oIh+gfIWUhve2P63UoZO JMWsXt39rnFvw9y8E5bFMAlbRfuQeJ0uWmzO/P/qs/NyV0ZJwuGLveH/falAlDSjRP B8LhHoc1I7BFdfe3PNNwl0NRYQBxKtXuPXi+PnGPsfosaOZatN+dEI2TNCov6Xb2w3 5Zb9E1y6bwe5bnLnJKKzSjJQ=
- In-reply-to: <CAJkPp5O_tYaERSa0yCYLSfbVrsf=JOQ89aUc_y5SrmZa-ML-Jw@mail.gmail.com>
- Mail-followup-to: Max Alekseyev <maxale@gmail.com>, Pari Users <pari-users@pari.math.u-bordeaux.fr>
- References: <CAJkPp5O_tYaERSa0yCYLSfbVrsf=JOQ89aUc_y5SrmZa-ML-Jw@mail.gmail.com>
* Max Alekseyev [2024-10-12 14:56]:
> Hello,
>
> Pari can be compiled with the option:
> --enable-tls enable thread-local stack
>
> What are the advantages/disadvantages of using it? (with combination of
> --mt=pthread if that matters)
It's implied by --mt=pthread.
Without the latter, it builds a thread-safe version of the PARI library.
The downside is that it becomes a little slower. For instance the
dynamically linked gp-dyn binary ends up being about 25% slower on
many architectures; gp-sta is usually about 5% slower.
Cheers,
K.B.
--
Pr. Karim Belabas, U. Bordeaux, Vice-président en charge du Numérique
Institut de Mathématiques de Bordeaux UMR 5251 - (+33) 05 40 00 29 77
http://www.math.u-bordeaux.fr/~kbelabas/