1 |
On Saturday 28 January 2012 07:26:59 Anthony G. Basile wrote: |
2 |
> I've run nbench on two amd64 systems both running the same kernel |
3 |
> vanilla-3.2.2. |
4 |
|
5 |
i don't think nbench is a good benchmark for this as it isn't really testing |
6 |
what you think it's testing. it's very good at validating math support in the |
7 |
ISA/ABI, optimized compiler output, and supplementary math implementations in |
8 |
libgcc. PIE vs non-PIE will still be able to multiply/divide in pretty much |
9 |
the same amount of time. |
10 |
|
11 |
> So at least on amd64, I don't think that performance is ever an issue. |
12 |
|
13 |
yes, most likely on systems where the PIC has hardware support in the ISA, the |
14 |
performance hit on PIE is typically low. |
15 |
|
16 |
> I have yet to look at x86. |
17 |
|
18 |
pretty sure this is going to be much more palpable. |
19 |
-mike |