Search found 314 matches

by Tzeentch
14 Feb 2015, 19:50
Forum: Development
Topic: FreeBSD version 3.1.2
Replies: 27
Views: 26094

Re: FreeBSD version 3.1.2

That worked and completed config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile con...
by Tzeentch
14 Feb 2015, 08:33
Forum: Development
Topic: FreeBSD version 3.1.2
Replies: 27
Views: 26094

Re: FreeBSD version 3.1.2

Urm, removed my port install so I could download from git and compile to then assist with some warzone development here and there (such as testing a cached function calls) Obtained using git clone https://github.com/Warzone2100/warzone2100/ war-test ./autogen.sh export LDFLAGS='-L/usr/local/lib -L/u...
by Tzeentch
13 Feb 2015, 11:38
Forum: Coding
Topic: Future plans for GUI
Replies: 43
Views: 45768

Re: Future plans for GUI

Intend to work on this ASAP, just having issues -> viewtopic.php?f=43&t=11974#p131029
by Tzeentch
13 Feb 2015, 10:26
Forum: Coding
Topic: Dtrace Vsync
Replies: 9
Views: 11158

Re: Dtrace Vsync

thanks, I just checked and I do almost 1,000 fps. (981-989fps). (with all graphics on max) So going back to my end comment why bother displaying more frames than 60? Makes this option seem pointless if we are able to retain 60fps without high CPU. Think a vote is needed regarding this option as I se...
by Tzeentch
11 Feb 2015, 18:13
Forum: Coding
Topic: Dtrace on Warzone
Replies: 12
Views: 15283

Re: Dtrace on Warzone

Did the same steps after setting all graphics to the lowest values and disabling shaders. Memory set distribution model appears almost the same.
by Tzeentch
11 Feb 2015, 17:58
Forum: Coding
Topic: Dtrace on Warzone
Replies: 12
Views: 15283

Re: Dtrace on Warzone

Made a flame graph of this for memsets using commands here on tutorial http://forums.wz2100.net/viewtopic.php?f=32&t=12021&p=131009#p131009 http://i.imgur.com/btkYW2Z.png It would seem in my case most of memset operations are called from: * libopenal in separate threads * libnvidiagl-core On...
by Tzeentch
11 Feb 2015, 17:32
Forum: Coding
Topic: Dtrace Flame graphs
Replies: 6
Views: 10177

Re: Dtrace Flame graphs

Similar way to gather memset operations. Same sample rate of 60 seconds. Done during tutorial (after level loaded) with barely any actions being taken. # dtrace -n '::memset:entry /execname == "warzone2100"/ { @[ustack()] = sum(arg2); } tick-60s { exit (0) ; }' -o warzone.memset # ./stackc...
by Tzeentch
11 Feb 2015, 10:56
Forum: Coding
Topic: Future plans for GUI
Replies: 43
Views: 45768

Re: Future plans for GUI

Got a flame graph of warzone from tutorial doing barely anything. http://i.imgur.com/yGZCm4o.png?1 (flame graph steps taken posted here http://forums.wz2100.net/viewtopic.php?f=32&t=12021 ) Most of the stack traces on the right hand side are just libnvidia-glcore.so. And I believe having all the...
by Tzeentch
11 Feb 2015, 10:34
Forum: Coding
Topic: Dtrace Flame graphs
Replies: 6
Views: 10177

Re: Dtrace Flame graphs

Did one of tutorial, renamed as follows and taken in same way as prior to collect stats # dtrace -x ustackframes=100 -n 'profile-99 /execname == "warzone2100" && arg1/ {@[ustack()] = count(); } tick-60s { exit(0); }' -o warzone.stacks # ./stackcollapse.pl warzone.stacks > warzone.f...
by Tzeentch
07 Feb 2015, 04:37
Forum: Coding
Topic: Dtrace on Warzone
Replies: 12
Views: 15283

Re: Dtrace on Warzone

Getting ustack from displayConsoleMessages (highly suspected) memsets for the 1,2 & 4 byte operations. Shouldn't this be able to be done using assignment statements rather than memsets? Single byte operations, the most common and I could use some explanation as to whats going on here as this loo...
by Tzeentch
07 Feb 2015, 02:30
Forum: Coding
Topic: Dtrace Vsync
Replies: 9
Views: 11158

Dtrace Vsync

It has been said to me (along with evidence, specifically this point http://forums.wz2100.net/viewtopic.php?f=32&t=11978#p130616 ) that performance issues ( more CPU activity) occurs when Vsync is disabled, as memset() operations are dramatically higher. Thus soon as I disable Vsync CPU usage cl...
by Tzeentch
06 Feb 2015, 22:39
Forum: Coding
Topic: Dtrace Flame graphs
Replies: 6
Views: 10177

Dtrace Flame graphs

To begin constructing flame graphs for a visual representation of stack traces, as this may prove a useful investment. View - http://www.brendangregg.com/flamegraphs.html After getting from github, first test was done in tutorial doing very basic tasks. Followed by the 3 step process to generate a g...
by Tzeentch
02 Feb 2015, 22:39
Forum: Ideas and suggestions
Topic: configure scav difficulty just like other AI's
Replies: 0
Views: 2179

configure scav difficulty just like other AI's

"Especially the intelligent and more aggressive behaviour of the scavs" - thought occurs, how about configure scav difficulty just like other AI's? To change in MP like with Nexus from the bunny setting to 3 tanks & Nuke (Insane).
by Tzeentch
26 Jan 2015, 23:30
Forum: Coding
Topic: Dtrace on Warzone
Replies: 12
Views: 15283

Re: Dtrace on Warzone

So in games where massive battles are ongoing you'll get many messages displayed for units lost, research upgrades etc which will increase CPU. Given this console message is a specific part of the game hopefully it should be easier to recode\design to make less syscalls. Be good to have some sandbox...
by Tzeentch
26 Jan 2015, 08:05
Forum: Coding
Topic: Dtrace on Warzone
Replies: 12
Views: 15283

Re: Dtrace on Warzone

Actually, the cause for our signficant CPU usage as shown here (no time to update post) CPU 0: 10.2% user, 0.0% nice, 2.8% system, 0.4% interrupt, 86.6% idle CPU 1: 3.1% user, 0.0% nice, 2.7% system, 2.4% interrupt, 91.8% idle CPU 2: 20.8% user, 0.0% nice, 1.2% system, 0.0% interrupt, 78.0% idle CPU...