PC Studders On The Mp36a Dev Stream Yesterday

Discussion in 'TSW General Discussion' started by Typhomat, Feb 14, 2020.

?
  1. Yes

    9 vote(s)
    90.0%
  2. No

    1 vote(s)
    10.0%
  1. Typhomat

    Typhomat Well-Known Member

    Joined:
    Dec 8, 2016
    Messages:
    214
    Likes Received:
    606
    I've always wondered if the studders I've seen in TSW were due to my own PC not being good enough. Yesterday was the confirmation it was not, with visible studders in the Dev stream game play. I haven't noticed this previously, but they were very evident yesterday.

    This should be a sign optimization of the engine is needed. The single core CPU usage that the simulation engine appears to use limits the game.
     
    • Like Like x 1
  2. Callum B.

    Callum B. Well-Known Member

    Joined:
    Aug 9, 2018
    Messages:
    1,638
    Likes Received:
    2,844
    I have attached some screenshots showing CPU usage at various CPU affininies. The conclusion that can be drawn from these is that there is significant optimisation for dual-core systems, but only minor optimisation beyond that, not even that well optimised for four cores. I agree, there is certainly more room to improve CPU usage. One of the simplest optimisations that come to mind is allotting one thread to any nearby (within camera view) consists, similar to how BeamNG.drive optimises CPU usage for multiple vehicles. With the simplified AI physics, I wonder how difficult this would be to get UE4 to do.

    All (6) cores enabled:

    upload_2020-2-14_15-12-26.png

    4 cores enabled:
    upload_2020-2-14_15-14-6.png

    2 cores enabled:
    upload_2020-2-14_15-16-21.png

    1 core enabled:
    upload_2020-2-14_15-18-55.png
     

    Attached Files:

  3. nne4229

    nne4229 Well-Known Member

    Joined:
    Feb 26, 2018
    Messages:
    412
    Likes Received:
    548
    Honestly before I upgraded I had all the performance complaints in the world but since upgrading its as smooth as butter. And by upgrade I mean I built a whole new current gen system
     
  4. nne4229

    nne4229 Well-Known Member

    Joined:
    Feb 26, 2018
    Messages:
    412
    Likes Received:
    548
    Apparently a recent core update improved multi threading
     
    • Helpful Helpful x 1
  5. Typhomat

    Typhomat Well-Known Member

    Joined:
    Dec 8, 2016
    Messages:
    214
    Likes Received:
    606
    I'm curious how smooth your gameplay has been. I'm running an i7-9700K paired with a 2080 Super and I get studders when passing trains and such. I can hold 60 FPS at most times, but any AI in the frame gives me studders.

    I'm still seeing a single core at 100%, only one core, when I'm having frame rate issues. Though there is some multi-threading going on, in the end some single thread task is tanking the entire game's performance.

    [​IMG]

    Here, once I stop at the station, you can see the the one core that is at 100% drop down
     
  6. Callum B.

    Callum B. Well-Known Member

    Joined:
    Aug 9, 2018
    Messages:
    1,638
    Likes Received:
    2,844
    My cores are quite a bit older than yours (and run about 1GHz slower). I can hold 60 pretty well on the mainlines, but framerate suffers between 30-45 in packed yards and such.

    Are you referring to average frame rate drop, or frametime spikes? I also drop a few frames but it's only around 5-10, and I wouldn't consider it to be stuttering/frametime spikes. Like I suggested before, alloting a thread/CPU to nearby consists would help tremendously in maintaining good framerates on high core count systems.

    I wonder if it's because your CPU does not have hyperthreading? I do not have this issue of core-hugging at 100%. The only time I experienced something like that is when I artificially locked down the game to 2cores/4threads (as you can see the drop spike in my screenshots above).
     
    Last edited: Feb 16, 2020
  7. nne4229

    nne4229 Well-Known Member

    Joined:
    Feb 26, 2018
    Messages:
    412
    Likes Received:
    548
    I used to see that with ai problems and always ran i7s before .. I took a chance with the Ryzen line (2700x) which is 8 cores 16 threads .. 16gb ram blah blah and a 2070 rtx and I don’t have that problem anymore .. also your cpu isn’t exactly marketed for gaming ya know.. I’m not saying it’s bad but there’s other options better suited to gaming needs
     
  8. Callum B.

    Callum B. Well-Known Member

    Joined:
    Aug 9, 2018
    Messages:
    1,638
    Likes Received:
    2,844
    I'd argue that's precisely what the i7 9700k is marketed for. What else would it be?
     
    • Like Like x 2
  9. nne4229

    nne4229 Well-Known Member

    Joined:
    Feb 26, 2018
    Messages:
    412
    Likes Received:
    548
    Talking about the other guy
     
  10. Callum B.

    Callum B. Well-Known Member

    Joined:
    Aug 9, 2018
    Messages:
    1,638
    Likes Received:
    2,844
    Last edited: Feb 16, 2020
  11. nne4229

    nne4229 Well-Known Member

    Joined:
    Feb 26, 2018
    Messages:
    412
    Likes Received:
    548
    It’s about the architecture of the cpu, not always about clock speeds and caches.
     
  12. nne4229

    nne4229 Well-Known Member

    Joined:
    Feb 26, 2018
    Messages:
    412
    Likes Received:
    548
    Anyways since this build I don’t have any of the lag when ai is around anymore and I think it’s a combination of my system and some of their progress with multithreading in the game. Matt said it won’t help everyone but some will see improvements with longer trains in the game
     
  13. nne4229

    nne4229 Well-Known Member

    Joined:
    Feb 26, 2018
    Messages:
    412
    Likes Received:
    548
    This is my first AMD since the Athlon 64 x2 series, Intel has dominated the market for that time but I’m impressed by this Ryzen 7 line when compared to the last 2 gaming rigs I’ve had with i7s
     
    • Like Like x 1
  14. Callum B.

    Callum B. Well-Known Member

    Joined:
    Aug 9, 2018
    Messages:
    1,638
    Likes Received:
    2,844
    That's fine, but they have the same real world performance in gaming and I make use of the quad-channel memory for my workstation applications. I'm not trying to say that Haswell is a better architecure than Zen (which TDP can more clearly explain), but you're not giving enough credit to this 6 year old CPU. ;)
     
  15. Callum B.

    Callum B. Well-Known Member

    Joined:
    Aug 9, 2018
    Messages:
    1,638
    Likes Received:
    2,844
    Out of curiosity, did you previously run a 4c/8t i7 before upgrading to 8c/16t? I wonder if that is related to these stuttering issues.

    EDIT: to be clear, because it appears you may have misunderstood my post way up there, but I do not experience these stuttering problems on my 6c/12t CPU.
     
    Last edited: Feb 16, 2020
  16. nne4229

    nne4229 Well-Known Member

    Joined:
    Feb 26, 2018
    Messages:
    412
    Likes Received:
    548
    They were 4c 8t cpus yes and maybe that’s the issue.
     
  17. Typhomat

    Typhomat Well-Known Member

    Joined:
    Dec 8, 2016
    Messages:
    214
    Likes Received:
    606
    I raised this point because sure, you can say that yards and such with the extra calculations and such needed will create higher CPU loads, but regardless, what we've seen is a reduction in route quality and such, when I think a deep look into the core game is more necessary. When I look into task manager and see FPS drop, and see one core at 100%, and only one core, in 2020 that's annoying. When even the computers the devs stream on has studders and FPS drops, it shows optimization is needed. I don't know how the console versions are, but for a top of the line PC, this shouldn't be common.
     
    • Like Like x 2
  18. nne4229

    nne4229 Well-Known Member

    Joined:
    Feb 26, 2018
    Messages:
    412
    Likes Received:
    548
    Simugraph or whatever is now fully multi core ready but idk about the rest of the game and what uses the cpu the most
     

Share This Page