Mailinglist Archive: opensuse-factory (241 mails)

< Previous Next >
[opensuse-factory] -fstack-protector evaluations
  • From: Marcus Meissner <meissner@xxxxxxx>
  • Date: Thu, 8 Feb 2007 13:13:35 +0100
  • Message-id: <20070208121335.GD7641@xxxxxxx>
Hi,

We have done some -fstack-protector evaluations.

- Performance as benchmarked.

We used SPEC2000 for this, both int and float.
There were only insignificant changes (<1%) in
both size and speed of the testcases.


- Binary / RPM Sizes

The total (compressed) RPM set size of 5CDs grew by 2.9MB (0.1%).

The install size (assuming installation of ALL RPMs on those 5CDs)
grew by 5MB (0.05%).

There is no binary running away in size increase or decrease.

- Facilitation

I have also checked on how often it is triggered.

Scanning the i386 tree, 182792 functions are now protected by stackprotector.

(objdump -d binary |grep xor.*gs:0x14|wc -l)

Top:
./usr/lib/libwireshark.so.0.0.1 24579
./usr/bin/gvim 4472
./bin/vim 3618
./usr/bin/wireshark 2224
./usr/lib/thunderbird/thunderbird-bin 1803
./usr/lib/libnetsnmpmibs.so.15.0.0 1628
./usr/lib/xulrunner-1.8.1b2/libxul.so 1368
./usr/lib/firefox/firefox-bin 1363
./usr/bin/hpijs 1337

So wireshark(formerly known as ethereal), vim, Mozilla*, net-snmp...

The two main compressors are nearly unaffected:
./usr/bin/bzip2 3
./bin/gzip 5

- Final performance evaluation is difficult due to slight
instability of Alpha0plus.

Ciao, Marcus
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages