qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/3] configure: add option to disable -fstack-pr


From: Brad Smith
Subject: Re: [Qemu-devel] [PATCH 1/3] configure: add option to disable -fstack-protector flags
Date: Thu, 09 Jan 2014 18:18:07 -0500
User-agent: Mozilla/5.0 (Macintosh; PPC Mac OS X 10.5; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 TenFourFox/G5 Tenfourbird

On 09/01/14 5:40 PM, Paolo Bonzini wrote:
Il 09/01/2014 22:55, Steven Noonan ha scritto:
From: Steven Noonan <address@hidden>

The -fstack-protector flag family is useful for ensuring safety and for
debugging, but has a performance impact. Here's a boot time comparison between
a QEMU build of qemu-system-arm with and without the -fstack-protector-all
flag:

     # WITHOUT -fstack-protector-all
     address@hidden ~]# systemd-analyze
     Startup finished in 1.744s (kernel) + 11.345s (initrd) + 47.164s 
(userspace) = 1min 255ms

     # WITH -fstack-protector-all
     address@hidden ~]# systemd-analyze
     Startup finished in 1.843s (kernel) + 12.262s (initrd) + 1min 3.480s 
(userspace) = 1min 17.587s

Can you try -fstack-protector-strong?

Probably the right thing to do is to pick in order
-fstack-protector-strong, -fstack-protector, and nothing.

+1


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]