Re: [osv-dev] Re: Compiler optimization flags to improve OSv performance

2019-08-07 Thread Nadav Har'El
On Wed, Aug 7, 2019 at 8:30 PM Waldek Kozaczuk wrote: > Hi, > > On Tuesday, August 6, 2019 at 12:45:09 PM UTC-4, Joe Duarte wrote: >> >> Hi all, >> >> I think there might be an opportunity for good speedups in OSv if modern >> compiler optimization options are used. >> > Before you start discussi

[osv-dev] Re: Compiler optimization flags to improve OSv performance

2019-08-07 Thread Waldek Kozaczuk
Forgot about this one - https://github.com/cloudius-systems/osv/issues/28 (Optimize atomic operations on UP (single-VCPU). Nadav wrote it originally many years ago, so I do not know how relevant it still is. Anway all the issues I have mentioned in this email I am planning to tackle for next 0

[osv-dev] Re: Compiler optimization flags to improve OSv performance

2019-08-07 Thread Waldek Kozaczuk
Hi, On Tuesday, August 6, 2019 at 12:45:09 PM UTC-4, Joe Duarte wrote: > > Hi all, > > I think there might be an opportunity for good speedups in OSv if modern > compiler optimization options are used. -flto (gcc's Link Time > Optimization, or what Visual Studio calls Whole Program Optimization)