View previous topic :: View next topic |
Author |
Message |
xTango n00b

Joined: 11 Jun 2002 Posts: 15 Location: Argentina
|
Posted: Mon Sep 23, 2002 7:59 pm Post subject: Speed vs. Security |
|
|
Hello there,
Does anyone know if there is any danger in using the CFLAG -fomit-frame-pointer on a server?
I use it on my workstations and it does make a difference, so I would like to use it on my servers to speed up PHP (if there are no security issues involved).
Thanks in advance.
Regards,
Ernesto |
|
Back to top |
|
 |
El_Presidente_Pufferfish Veteran


Joined: 11 Jul 2002 Posts: 1179 Location: Seattle
|
Posted: Mon Sep 23, 2002 11:03 pm Post subject: |
|
|
i dont see how a cpu optimisation can cause a security issue, but php compiles with lacking security |
|
Back to top |
|
 |
TripKnot Apprentice


Joined: 29 May 2002 Posts: 213
|
Posted: Wed Sep 25, 2002 9:46 pm Post subject: |
|
|
There was a post recently about -funroll-all-loops which actually caused some major problems like some app accepting any password for login. -funroll-all-loops is a stupid optimization anyways, -funroll-loops is better and I'm not sure if the problem mentioned persists with this. But I'haven't heard anyhting bad about -fomit-frame-pointer. |
|
Back to top |
|
 |
pilla Bodhisattva


Joined: 07 Aug 2002 Posts: 7732 Location: Underworld
|
Posted: Wed Sep 25, 2002 11:16 pm Post subject: |
|
|
-fframe-omit-pointer frees a register which is used do debug programs -- so the compiler has more registers to schedule things.
In some cases, you may experience some applications crashing. I don't think it is advisable to use it in a server environment (I wouldn't). |
|
Back to top |
|
 |
|