NS2 Performance on my PC

MikeriekMikeriek Join Date: 2012-03-06 Member: 148270Members
edited March 2012 in NS2 General Discussion
Hey guys, preordered the game yesterday and really enjoy it.
However, my fps is stuck around 15-20 as Marines and 20-30 as Aliens. My PC is by no means great, but from the "predicted requirements" (yes I know they're predicted, but they're really awful) I've seen for the game, I feel as if it should be handling better...

Specs:
Quad Core CPU @ 2.33 GHz (Intel Q8200)
Nvidia GTX 550 Ti
4 GB Ram

I run the game at 1440x900, but I noticed the fps isn't really changed at all when I lower the resolution and/or the graphics quality.
Is the simple answer to this question that the game is still in beta and not optimized? or is my PC worse than I thought?
«1

Comments

  • MiniH0wieMiniH0wie Join Date: 2007-11-25 Member: 63013Members
    Beta, not fully optimized yet.
  • DghelneshiDghelneshi Aims to surpass Fana in post edits. Join Date: 2011-11-01 Member: 130634Members, Squad Five Blue, Reinforced - Shadow
    edited March 2012
    NS2 eats CPU clock cycles for breakfast. Get a >3GHz CPU, preferably i5/i7. Graphics settings won't change anything as graphics are already pretty fast and don't need such a good graphics card to run well. It's not optimized well yet and they did some aggressive architectural choices which make the game a lot slower.


    By the way, that CPU is 4 years old (I have a similar one). I would have never expected a computer to last this long, so I wouldn't even be surprised that it can't run a recent game from 2012, even if NS2 admittedly has it's own very special problems.
  • TechercizerTechercizer 7th Player Join Date: 2011-06-11 Member: 103832Members
    That's pretty good for a 2.33 GHz processor. A few builds ago you'd have gotten single-digit FPS. Not much to do but wait while code is improved.
  • LV426-ColonistLV426-Colonist Space Jockey Join Date: 2011-08-05 Member: 114269Members, Constellation
    edited March 2012
    FPS is ###### in this game right now.
  • ScardyBobScardyBob ScardyBob Join Date: 2009-11-25 Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
    You might want to try to disable some of the graphics options via the console (see <a href="http://www.unknownworlds.com/forums/index.php?showtopic=114428" target="_blank">here</a>). In particular, I would do
    r_shadows false
    r_instancing false
    r_bloom false
    r_atmospherics false

    Don't expect miracles, but it should squeeze out a few extra fps for you (though, you'll have to reenter the commands every time the server changes maps).
  • TrueVeritasTrueVeritas Join Date: 2006-10-20 Member: 58082Members
    <!--quoteo(post=1910630:date=Mar 6 2012, 04:16 PM:name=Mikeriek)--><div class='quotetop'>QUOTE (Mikeriek @ Mar 6 2012, 04:16 PM) <a href="index.php?act=findpost&pid=1910630"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Is the simple answer to this question that the game is still in beta and not optimized?<!--QuoteEnd--></div><!--QuoteEEnd-->

    yes

    by release expect maybe 10 extra fps
  • RautapalliRautapalli Join Date: 2010-07-23 Member: 72710Members, Reinforced - Shadow
    edited March 2012
    <!--quoteo(post=1910647:date=Mar 6 2012, 11:40 PM:name=Dghelneshi)--><div class='quotetop'>QUOTE (Dghelneshi @ Mar 6 2012, 11:40 PM) <a href="index.php?act=findpost&pid=1910647"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->NS2 eats CPU clock cycles for breakfast. Get a >3GHz CPU, preferably i5/i7. Graphics settings won't change anything as graphics are already pretty fast and don't need such a good graphics card to run well. It's not optimized well yet and they did some aggressive architectural choices which make the game a lot slower.


    By the way, that CPU is 4 years old (I have a similar one). I would have never expected a computer to last this long, so I wouldn't even be surprised that it can't run a recent game from 2012, even if NS2 admittedly has it's own very special problems.<!--QuoteEnd--></div><!--QuoteEEnd-->

    I have a Q9450 (overclocked to 3,2 Ghz though), and I can still run most games maxed out without any problems. NS2 however barely even utilizes half of my CPU according to the windows CPU usage, so there definitely is a problem somewhere. Is the game still lacking proper multithreading since GHz matters so much? Or is it because the majority of the gameplay code is in Lua? Or maybe both? :V

    I'm still waiting for Ivy Bridge before upgrading, they keep delaying it goddamn it.
  • ScardyBobScardyBob ScardyBob Join Date: 2009-11-25 Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
    <!--quoteo(post=1910731:date=Mar 6 2012, 04:22 PM:name=Rautapalli)--><div class='quotetop'>QUOTE (Rautapalli @ Mar 6 2012, 04:22 PM) <a href="index.php?act=findpost&pid=1910731"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I have a Q9450 (overclocked to 3,2 Ghz though), and I can still run most games maxed out without any problems. NS2 however barely even utilizes half of my CPU according to the windows CPU usage, so there definitely is a problem somewhere. Is the game still lacking proper multithreading since GHz matters so much? Or is it because the majority of the gameplay code is in Lua? Or maybe both? :V

    I'm still waiting for Ivy Bridge before upgrading, they keep delaying it goddamn it.<!--QuoteEnd--></div><!--QuoteEEnd-->
    So the Windows Task Manager (which I presume is what you're using to check CPU usage) is a bit misleading in this respect, as afaik the % value under the CPU usage bar displays consumption as a weighted average of each cores individual usage. For example, on your Q9450 (quad-core), if one core had 100% usage and the other three had 0% usage, task manager would say that CPU usage was 25%.

    What happens with NS2 is that it mostly uses 100% of one core and a little bit of a second core (some operations are multithreaded). If you looked at CPU usage by core, you'd probably see something like core0 at 100%, core1-3 at some lower or zero value that averages out to the total CPU usage of ~50% (Windows + other background programs are making up the rest of the CPU consumption).

    You can try setting NS2.exe affinity to one of your lesser used cores, but that's about the only option you have (outside of disabling some graphic options via the console) to improve performance on your end.
  • DghelneshiDghelneshi Aims to surpass Fana in post edits. Join Date: 2011-11-01 Member: 130634Members, Squad Five Blue, Reinforced - Shadow
    @Rautapalli: Both.
    To quote someone with a lot of programming experience:
    <!--quoteo(post=1910640:date=Mar 6 2012, 10:32 PM:name=player)--><div class='quotetop'>QUOTE (player @ Mar 6 2012, 10:32 PM) <a href="index.php?act=findpost&pid=1910640"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->The bottleneck is the game-logic, which is an inherently single-threaded ordeal, coupled with the fact that it is written in Lua, which is very much a single-threaded scripting-language (although with some limited concurrency support).<!--QuoteEnd--></div><!--QuoteEEnd-->
  • RautapalliRautapalli Join Date: 2010-07-23 Member: 72710Members, Reinforced - Shadow
    edited March 2012
    <!--quoteo(post=1910747:date=Mar 7 2012, 02:52 AM:name=ScardyBob)--><div class='quotetop'>QUOTE (ScardyBob @ Mar 7 2012, 02:52 AM) <a href="index.php?act=findpost&pid=1910747"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->So the Windows Task Manager (which I presume is what you're using to check CPU usage) is a bit misleading in this respect, as afaik the % value under the CPU usage bar displays consumption as a weighted average of each cores individual usage. For example, on your Q9450 (quad-core), if one core had 100% usage and the other three had 0% usage, task manager would say that CPU usage was 25%.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Yeah, I'm aware of this, although I think Windows somehow actually manages to spread tasks in a single thread over multiple cores somehow. Here's me sitting in the ready room and running around mineshaft for a moment:
    <img src="http://dl.dropbox.com/u/14597902/cpu.png" border="0" class="linked-image" />

    You can see that the load is actually spread across all cores, but the load on all of them is almost identical but as a result it almost never goes over 50% per core. I see the same thing all the time in other games that have next to no multithreading, like really old games that were programmed with a single core CPU in mind, while a game like BF3 actually manages to hit around 90% on every core sometimes.

    I might be talking out of my ass right now since I have little to no experience on how Windows handles threads, but that's the best I can come up with.
  • DghelneshiDghelneshi Aims to surpass Fana in post edits. Join Date: 2011-11-01 Member: 130634Members, Squad Five Blue, Reinforced - Shadow
    Yes, Windows does spread stuff across all cores, even things that have no multithreading at all. It will never speed up the game if it's singlethreaded, though, it actually <b>slows it down</b>. Purely single-threaded applications run faster when you run them 100% on one core instead of 25% on four cores. Old games sometimes even crash from this, since they were never programmed with multiple cores in mind and telling Windows to allocate only one core to them fixes the crash.
  • TechercizerTechercizer 7th Player Join Date: 2011-06-11 Member: 103832Members
    <!--quoteo(post=1910774:date=Mar 6 2012, 07:27 PM:name=Dghelneshi)--><div class='quotetop'>QUOTE (Dghelneshi @ Mar 6 2012, 07:27 PM) <a href="index.php?act=findpost&pid=1910774"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Yes, Windows does spread stuff across all cores, even things that have no multithreading at all. It will never speed up the game if it's singlethreaded, though, it actually <b>slows it down</b>. Purely single-threaded applications run faster when you run them 100% on one core instead of 25% on four cores. Old games sometimes even crash from this, since they were never programmed with multiple cores in mind and telling Windows to allocate only one core to them fixes the crash.<!--QuoteEnd--></div><!--QuoteEEnd-->
    So do you recommend locking NS2's affinity to one core for those with FPS issues?
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    Wouldn't recommend it as NS2 does indeed do some multi-threading currently
  • TechercizerTechercizer 7th Player Join Date: 2011-06-11 Member: 103832Members
    <!--quoteo(post=1910777:date=Mar 6 2012, 07:32 PM:name=Kouji_San)--><div class='quotetop'>QUOTE (Kouji_San @ Mar 6 2012, 07:32 PM) <a href="index.php?act=findpost&pid=1910777"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Wouldn't recommend it as NS2 does indeed do some multi-threading currently<!--QuoteEnd--></div><!--QuoteEEnd-->
    Enough to justify splitting the main thread between 4 different cores?
  • DghelneshiDghelneshi Aims to surpass Fana in post edits. Join Date: 2011-11-01 Member: 130634Members, Squad Five Blue, Reinforced - Shadow
    Only one way to find out... I guess it would decrease performance and would rather suggest two cores, but I don't actually <i>know</i>.
  • RautapalliRautapalli Join Date: 2010-07-23 Member: 72710Members, Reinforced - Shadow
    edited March 2012
    For me it seems to balance at around 50% per core, so that's more than just 100% on one core. I actually just tried it ingame, although it was on a empty server which obviously isn't nearly as tasking for the CPU as a proper match.
    Switching it to one core dropped my frames by almost 50% like I expected looking at the first graph, 48 -> 25~, having it on two cores resulted in around 35-40 fps and on three cores the FPS was almost identical to the one on four cores. So in my case there doesn't seem to be any advantage in changing the cpu affinity.

    Maybe it's slightly different in situations where the CPU is used much more, but I wouldn't know.
  • playerplayer Join Date: 2010-09-12 Member: 73982Members
    The server uses a full single core, the client uses about a core and a half I guess, maybe 2 cores just. Windows will never execute code of a single thread on multiple cores at once (as that would immediately crash the program), instead it may change the affinity of that single thread from core to core many times a second. So often, that it may seem as if it were running on multiple cores at once in the task-manager, but in fact it does not (well except the client of course, which does some loading\rendering\networking in other threads). But the Lua-thread which is holding everything back so much, runs in a single thread and on a single core at any given point in time.
  • TechercizerTechercizer 7th Player Join Date: 2011-06-11 Member: 103832Members
    <!--quoteo(post=1910787:date=Mar 6 2012, 08:03 PM:name=player)--><div class='quotetop'>QUOTE (player @ Mar 6 2012, 08:03 PM) <a href="index.php?act=findpost&pid=1910787"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->The server uses a full single core, the client uses about a core and a half I guess, maybe 2 cores just. Windows will never execute code of a single thread on multiple cores at once (as that would immediately crash the program), instead it may change the affinity of that single thread from core to core many times a second. So often, that it may seem as if it were running on multiple cores at once in the task-manager, but in fact it does not (well except the client of course, which does some loading\rendering\networking in other threads). But the Lua-thread which is holding everything back so much, runs in a single thread and on a single core at any given point in time.<!--QuoteEnd--></div><!--QuoteEEnd-->
    Now see, THAT makes sense.
  • RautapalliRautapalli Join Date: 2010-07-23 Member: 72710Members, Reinforced - Shadow
    edited March 2012
    Thanks, always wanted to know how it actually works. So in a simplified way you could say that core 1 executes some code, stops (works on some other thread in the meanwhile), then core 2 continues executing code from where core 1 stopped and keeps doing that across all cores really fast?
  • IronHorseIronHorse Developer, QA Manager, Technical Support & contributor Join Date: 2010-05-08 Member: 71669Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Subnautica Playtester, Subnautica PT Lead, Pistachionauts
    <!--quoteo(post=1910685:date=Mar 6 2012, 02:24 PM:name=TrueVeritas)--><div class='quotetop'>QUOTE (TrueVeritas @ Mar 6 2012, 02:24 PM) <a href="index.php?act=findpost&pid=1910685"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->by release expect maybe 10 extra fps<!--QuoteEnd--></div><!--QuoteEEnd-->

    i love this guy's ability to tell the future??
  • LV426-ColonistLV426-Colonist Space Jockey Join Date: 2011-08-05 Member: 114269Members, Constellation
    He has one of those crystal balls duh.
  • flyjumflyjum Join Date: 2012-01-07 Member: 139849Members
    Lower your res
    I play on a much much worse GPU and the same cpu as you
    I get 45fps but at low res

    Try 1280x720
  • eh?eh? Join Date: 2012-03-03 Member: 147997Members
    If anyone is frustrated by having to re-enter the graphics setting commands over and over I reccomend grabbing<a href="http://www.unknownworlds.com/ns2/forums/index.php?showtopic=113246" target="_blank"> fsfod's GUI</a> at the moment and take a look at the autoexec directory under the root directory.

    ./menumod/autoexec/

    You can put scripts there to be autoexec on connection to server,

    for instance i have the file lowres_connected.lua which contains:

    <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>Shared.ConsoleCommand("r_bloom false")
    Shared.ConsoleCommand("r_aa false")
    Shared.ConsoleCommand("r_atmospherics false")
    Shared.ConsoleCommand("r_shadows false")
    Shared.ConsoleCommand("r_fog false")
    Shared.ConsoleCommand("r_shadowsfade false")
    Shared.ConsoleCommand("r_instancing false")
    Shared.ConsoleCommand("r_flash false")</div>


    and it gets executed on every server connect for me, i just have to optionally do r_fog 0 on each death.

    Also nice that there are examples there that will autoopen server browser too for you.
  • CodeineCodeine Join Date: 2010-11-22 Member: 75155Members
    <!--quoteo(post=1910685:date=Mar 6 2012, 11:24 PM:name=TrueVeritas)--><div class='quotetop'>QUOTE (TrueVeritas @ Mar 6 2012, 11:24 PM) <a href="index.php?act=findpost&pid=1910685"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->by release expect maybe 10 extra fps<!--QuoteEnd--></div><!--QuoteEEnd-->

    That better be a joke. i would expect at least +100 or 200 fps on my computer. This game is nothing to run, a few rooms and some corridors.

    skyrim, bf3 run at over 100fps on ultra settings, its no where near as demanding as those two games.
  • ArgathorArgathor Join Date: 2011-07-18 Member: 110942Members, Squad Five Blue
    <!--quoteo(post=1910974:date=Mar 7 2012, 03:08 PM:name=Codeine)--><div class='quotetop'>QUOTE (Codeine @ Mar 7 2012, 03:08 PM) <a href="index.php?act=findpost&pid=1910974"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->That better be a joke. i would expect at least +100 or 200 fps on my computer. This game is nothing to run, a few rooms and some corridors.

    skyrim, bf3 run at over 100fps on ultra settings, its no where near as demanding as those two games.<!--QuoteEnd--></div><!--QuoteEEnd-->
    The infrastructure behind those games is inherently different. The extreme modability of NS2 comes at the cost of performance. Whether we like it or not, we might have to put up with bad performance (compared to other games). Hopefully it can get to a point that is at least acceptable to most people for release.
  • TrueVeritasTrueVeritas Join Date: 2006-10-20 Member: 58082Members
    <!--quoteo(post=1910974:date=Mar 7 2012, 10:08 AM:name=Codeine)--><div class='quotetop'>QUOTE (Codeine @ Mar 7 2012, 10:08 AM) <a href="index.php?act=findpost&pid=1910974"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->That better be a joke. i would expect at least +100 or 200 fps on my computer. This game is nothing to run, a few rooms and some corridors.

    skyrim, bf3 run at over 100fps on ultra settings, its no where near as demanding as those two games.<!--QuoteEnd--></div><!--QuoteEEnd-->

    it's not a joke

    since september myself and many other people have seen maybe a 5-10 FPS increase. according to that trend, and that no more than 6 months are left in development, at 1.0 don't expect more than 10 extra FPS.
  • CodeineCodeine Join Date: 2010-11-22 Member: 75155Members
    <!--quoteo(post=1911001:date=Mar 7 2012, 05:24 PM:name=TrueVeritas)--><div class='quotetop'>QUOTE (TrueVeritas @ Mar 7 2012, 05:24 PM) <a href="index.php?act=findpost&pid=1911001"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->it's not a joke

    since september myself and many other people have seen maybe a 5-10 FPS increase. according to that trend, and that no more than 6 months are left in development, at 1.0 don't expect more than 10 extra FPS.<!--QuoteEnd--></div><!--QuoteEEnd-->


    Well thats a shame, i dont see anyone having a very memorable time playing at 30fps...
  • John BlackthorneJohn Blackthorne Join Date: 2012-02-23 Member: 147245Members
    You don't need to run at 100 FPS that's very unnecessary, UWE needs to get the game running at a rate which the majority can play without any slow down, other wise the player base with dwindle into nothingness.
  • NecropsYNecropsY Join Date: 2012-01-23 Member: 141746Members
    <!--quoteo(post=1910894:date=Mar 7 2012, 03:21 AM:name=eh?)--><div class='quotetop'>QUOTE (eh? @ Mar 7 2012, 03:21 AM) <a href="index.php?act=findpost&pid=1910894"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->If anyone is frustrated by having to re-enter the graphics setting commands over and over I reccomend grabbing<a href="http://www.unknownworlds.com/ns2/forums/index.php?showtopic=113246" target="_blank"> fsfod's GUI</a> at the moment and take a look at the autoexec directory under the root directory.

    ./menumod/autoexec/

    You can put scripts there to be autoexec on connection to server,

    for instance i have the file lowres_connected.lua which contains:

    <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>Shared.ConsoleCommand("r_bloom false")
    Shared.ConsoleCommand("r_aa false")
    Shared.ConsoleCommand("r_atmospherics false")
    Shared.ConsoleCommand("r_shadows false")
    Shared.ConsoleCommand("r_fog false")
    Shared.ConsoleCommand("r_shadowsfade false")
    Shared.ConsoleCommand("r_instancing false")
    Shared.ConsoleCommand("r_flash false")</div>


    and it gets executed on every server connect for me, i just have to optionally do r_fog 0 on each death.

    Also nice that there are examples there that will autoopen server browser too for you.<!--QuoteEnd--></div><!--QuoteEEnd-->

    OMG i love you, wanna have babies?

    im gonna try this when i get home =)

    exactly what i been lookin for for a while
  • GORGEousGORGEous Join Date: 2012-02-19 Member: 146762Members, NS2 Map Tester
    Honestly, an FPS game like this needs a bare minimum of 40 fps to play well. 60-80 consistent fps will be perfect.
Sign In or Register to comment.