NS2 Performance

-Mach!--Mach!- Join Date: 2012-08-15 Member: 155640Members
I bought myself a nice copy of NS2, and the game really grabs your balls;)

I have however some performance issues. I have a MSI GT780 DX gaming laptop.
It has a core i7 2670QM 16 GB mem, and a Geforce 570M on board. Not too shabby if I may say so.

I run the game in 1920*1080 with everything on low or off. And when i run around @ the start it seems that the fps is fine, around 30/40 i think,
but the framerate drops below 25 frames when there are a bit more marines/aliens on the screen.
I notice that the start fps is lower when i start on the alien side.
Probably has something to do with the collours and stuff, I dunno exactly.

I checked the latest nvidia drivers for my graphic card, but it doesnt seem to improve that much, and the strange thing is, neither does 1280*720 resolution.
Have more people issues with performance?

Comments

  • YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
    Yep :

    <a href="https://www.google.ch/search?client=opera&rls=en&q=site:http://www.unknownworlds.com/ns2/forums/+performance&sourceid=opera&ie=utf-8&oe=utf-8&channel=suggest" target="_blank">https://www.google.ch/search?client=opera&a...channel=suggest</a>
  • NeoRussiaNeoRussia Join Date: 2012-08-04 Member: 154743Members
    edited August 2012
    Currently the engine does not know how to use hardware resources, you can check how much CPU or GPU usage you get yourself. Pretty much everyone gets the same framerate, 30fps average and 10-20 lategame unless they have like a 4.5Ghz processor or something. Uses only 40% of one CPU core for me and 20% of my GTX460.
  • -Mach!--Mach!- Join Date: 2012-08-15 Member: 155640Members
    Ok, thx for the replies dudes:)
  • TyphonTyphon Join Date: 2002-11-01 Member: 1899Members
    Ns2 is heavily cpu bound and is not set up to take good advantage of multiple cores which makes that problem even worse. It's improving though....
  • NordicNordic Long term camping in Kodiak Join Date: 2012-05-13 Member: 151995Members, NS2 Playtester, NS2 Map Tester, Reinforced - Supporter, Reinforced - Silver, Reinforced - Shadow
    <!--quoteo(post=1963540:date=Aug 15 2012, 09:50 AM:name=Typhon)--><div class='quotetop'>QUOTE (Typhon @ Aug 15 2012, 09:50 AM) <a href="index.php?act=findpost&pid=1963540"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Ns2 is heavily cpu bound and is not set up to take good advantage of multiple cores which makes that problem even worse. It's improving though....<!--QuoteEnd--></div><!--QuoteEEnd-->
    This is probably for another thread but... anyone know why it isn't multithreaded? Tough to code?
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    <!--quoteo(post=1963548:date=Aug 15 2012, 05:00 PM:name=james888)--><div class='quotetop'>QUOTE (james888 @ Aug 15 2012, 05:00 PM) <a href="index.php?act=findpost&pid=1963548"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->This is probably for another thread but... anyone know why it isn't multithreaded? Tough to code?<!--QuoteEnd--></div><!--QuoteEEnd-->
    Pretty much games in general are though to code for multithreaded purposes due to the random nature of things that are going on, I guess. It's not like video encoding for example, which is a stream of frames that can be offloaded to other cores in sync.
  • ScardyBobScardyBob ScardyBob Join Date: 2009-11-25 Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
    <!--quoteo(post=1963548:date=Aug 15 2012, 10:00 AM:name=james888)--><div class='quotetop'>QUOTE (james888 @ Aug 15 2012, 10:00 AM) <a href="index.php?act=findpost&pid=1963548"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->This is probably for another thread but... anyone know why it isn't multithreaded? Tough to code?<!--QuoteEnd--></div><!--QuoteEEnd-->
    It is multithreaded, but most of the bottleneck still occurs on one thread.
  • YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
    edited August 2012
    I guess it's because of LUA, it would be easy to update game entities separately otherwise. No?
  • IndustryIndustry Esteemed Gentleman Join Date: 2010-07-13 Member: 72344Members, Reinforced - Shadow, WC 2013 - Supporter
    <!--quoteo(post=1963568:date=Aug 15 2012, 11:58 AM:name=Yuuki)--><div class='quotetop'>QUOTE (Yuuki @ Aug 15 2012, 11:58 AM) <a href="index.php?act=findpost&pid=1963568"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I guess it's because of LUA, it would be easy to update game entities separately otherwise. No?<!--QuoteEnd--></div><!--QuoteEEnd-->

    Matso's post is still relevant: <a href="http://www.unknownworlds.com/ns2/forums/index.php?showtopic=119688&st=40&p=1956388&#entry1956388" target="_blank">http://www.unknownworlds.com/ns2/forums/in...p;#entry1956388</a>
  • SlamHanniganSlamHannigan Join Date: 2012-07-06 Member: 153952Members
    Hell, that's why we have GLs for late-game, right? No real need to worry about framerate with a weapon you barely have to aim :P
  • NeoRussiaNeoRussia Join Date: 2012-08-04 Member: 154743Members
    <!--quoteo(post=1963593:date=Aug 15 2012, 02:53 PM:name=SlamHannigan)--><div class='quotetop'>QUOTE (SlamHannigan @ Aug 15 2012, 02:53 PM) <a href="index.php?act=findpost&pid=1963593"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Hell, that's why we have GLs for late-game, right? No real need to worry about framerate with a weapon you barely have to aim :P<!--QuoteEnd--></div><!--QuoteEEnd-->

    you'd be surprised how effective GLs would be against alien types if you had a decent framerate and actually tried to aim.
  • playerplayer Join Date: 2010-09-12 Member: 73982Members
    <!--quoteo(post=1963589:date=Aug 15 2012, 06:44 PM:name=Industry)--><div class='quotetop'>QUOTE (Industry @ Aug 15 2012, 06:44 PM) <a href="index.php?act=findpost&pid=1963589"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Matso's post is still relevant: <a href="http://www.unknownworlds.com/ns2/forums/index.php?showtopic=119688&st=40&p=1956388&#entry1956388" target="_blank">http://www.unknownworlds.com/ns2/forums/in...p;#entry1956388</a><!--QuoteEnd--></div><!--QuoteEEnd-->
    Ya I read that, but it doesn't really add up. He says a lot of the heavy-duty stuff happens in C++, but what would that be exactly? And why would choke be the major problem? If I create a (player)empty dedicated-server and fill it with entities, you will find a clear relation between the number of entites and the tick-rate, choke doesn't enter that equation anywhere (unless he was talking exclusively about clients, but it are the servers where performance is most needed). It seems like it's just a matter of the runtime-interpretation of the scripts (which is expensive as hell), as well as the C++-Lua binding that causes major performance-drops by not being able to optimize around those areas (effectively a black hole for optimizers), FFI was created for this (in conjunction with LuaJIT).
Sign In or Register to comment.