.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   YaPB (http://forums.bots-united.com/forumdisplay.php?f=55)
-   -   SSE2 Support and Linux Opt i686 build? (http://forums.bots-united.com/showthread.php?t=10030)

RoboCop 05-08-2016 15:47

SSE2 Support and Linux Opt i686 build?
 
Hello is it possible to maybe allow those latest YaPB builds support SSE2 and maybe compile Linux as i686 optimised so builds?

I also try using your source code and change Makefile flag as -march=i686 then compilied it but it seems the crash crashes when I replace this experimental i686 build for CS for some odd reason.

As for SSE2 support are the binaries already compiled for SSE2?

jeefo 06-08-2016 21:21

Re: SSE2 Support and Linux Opt i686 build?
 
It's compiled with -O3. Any other options doesn't give's significant speed boost.

If u want, i can compile with SSE support.

RoboCop 07-08-2016 12:05

Re: SSE2 Support and Linux Opt i686 build?
 
Well -O3, personally is no recommended in my opinion as that optimises the build beyond the safety limit unless it''s set at -O2 for stability.

However I did experiment on compiling it with -O2 last week and set the -march=i686 compile flags but that build causes the server to crash all of a sudden; as I said from above. I didn't include the -msse2 compile flag and this is the Makefile opt flags I had used:

Code:

C_OPT_FLAGS =  -O2 -march=i686 -DNDEBUG=1 -fno-exceptions -fno-rtti -funroll-loops -fomit-frame-pointer -pipe -mtune=native
Plus I don't know about the other compile flags like funroll-loops or fomit-frame-pointer on the build's stability... But I got a reference on why -O3 isn't safe from link below, in case you had no idea:

http://stackoverflow.com/questions/1...dangerous-in-g

jeefo 11-09-2016 20:21

Re: SSE2 Support and Linux Opt i686 build?
 
https://transfer.sh/sGRDc/yapb.so

SSE2 enabled binary. Not sure if it will give some performance gain.

RoboCop 11-09-2016 20:58

Re: SSE2 Support and Linux Opt i686 build?
 
Alright I've just activated the latest YaPB v2.8.4618 SSE2 Linux build on my servers along with GunGame v2.13c and CSDM v2.1.4c-KWo. It seems to be running fine and smooth at the moment, so nothing to report on any crashes.


All times are GMT +2. The time now is 10:14.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.