|
From: Yeshurun, M. <mei...@in...> - 2005-08-23 06:16:10
|
Hi, =20 I would like to understand why Valgrind is considerably slower when built as a PIE. =20 Can someone please explain? =20 Thanks, =20 Meir |
|
From: Tom H. <to...@co...> - 2005-08-23 06:22:27
|
In message <942...@ha...>
"Yeshurun, Meir" <mei...@in...> wrote:
> I would like to understand why Valgrind is considerably slower when
> built as a PIE.
We don't actually know for sure, and we haven't bothered looking at it
in detail as we plan to get rid of PIE mode completely.
There will be a small slow down because position independent code is
slightly less efficient, but that shoule be very small.
A bigger issue is that memcheck is inefficient at dealing with memory
above the 16Gb mark, but even restricting the client address space
to 16Gb doesn't completely remove the speed penalty.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|