CPU usage finally unlocked!

Discussion in 'Technical Archives' started by Atle Dreier, Sep 2, 2012.

  1. Atle Dreier

    Atle Dreier Registered

    Joined:
    Jan 14, 2012
    Messages:
    84
    Likes Received:
    2
    Tried 107 today, and noticed you have finally unlocked some bottleneck in the engine. Solid performance, and I saw near 100% usage on all four cores. This resulted in my GPU running near idle, though. Really shows you how the GPU can perform when the CPU is doing it's job properly. GPU running clocked down to about 50% and still only running 50-70% utilization. Solid 60fps with all maxed, full AA and HDR. Only running single screen, though, 1920x1080.

    i7 2600K @ 4,4GHz
    nVidia 680GTX stock clock
     
  2. osella

    osella Registered

    Joined:
    Jan 11, 2012
    Messages:
    864
    Likes Received:
    26
    Huh? rf2 can't use more than 2 cores or so I thought
     
  3. Bart S

    Bart S Member

    Joined:
    Oct 5, 2010
    Messages:
    851
    Likes Received:
    104
    No what he means is the graphics card is utilizing the cpu 4 cores not the game. The gtx680 has a feature in the CP where you can spread the load out over 4 cores or something like that.
     
  4. osella

    osella Registered

    Joined:
    Jan 11, 2012
    Messages:
    864
    Likes Received:
    26
    He said 100% usage on all 4 cores which would imply that rf2 is truly using quadcore or 100% total usage.
    If he just set the feature to spread load on all 4 cores, it would have to be 50% usage on each core, so 50% total usage.
     
  5. Atle Dreier

    Atle Dreier Registered

    Joined:
    Jan 14, 2012
    Messages:
    84
    Likes Received:
    2
    Well, what I'm seeing is near 100% usage on all four cores, I have no idea what part of the software is using them, and for what. All I know is that performance is flawless and the proper CPU use means my GPU is able to run full tilt if needed. So , since I run with v-sync my GPU can do lunch and laundry while the game runs.
     
  6. Mitt Wilson

    Mitt Wilson Registered

    Joined:
    Dec 31, 2010
    Messages:
    306
    Likes Received:
    1
    You shouldn't be seeing 100% CPU usage playing RF2.. You need to check your settings cause I am running RF2 on full @ 40% on 2 cores.....
     
  7. K Szczech

    K Szczech Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,720
    Likes Received:
    45
    No, you can have a single threaded application and if it will heavily use CPU for OpenGL or DirectX, then you can expect graphics drivers to utilize all available cores trying to keep up with the amount of work sent to them from application.
     
  8. Atle Dreier

    Atle Dreier Registered

    Joined:
    Jan 14, 2012
    Messages:
    84
    Likes Received:
    2
    I'm not complaining, I have awesome performance, and if that means nVidia, Intel or ISI finally figured something out I couldn't care less. GPU usage goes up in more pure gfx situations like back of a grid or pits. And it's not a constant 100% load, I'd be suspicious then. It's 80-95% split on all four cores and varying which core works hardest. To me that indicate that stuff is working right.
     
  9. K Szczech

    K Szczech Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,720
    Likes Received:
    45
    To me it's and indication that game is using way too much CPU for graphics, but lucky for us, graphics drivers utilize all available resources to remedy it.
    When you would have only two cores working and both between 50-80% then you could say software is doing a good job - using only as much CPU as needed to run physics in realtime and handling graphics well enough not to be CPU-bound.

    As long as game puts so much work on graphics drivers that they consume multiple cores, you will always face a risk of simulation falling out of realtime because graphics drivers will be fighting for CPU time with simulation.

    People who have 4-core machines have reserves, but 2-core processor owners can have 100% CPU usage on both cores and that's not good if you want something to run in realtime.
     
  10. Bart S

    Bart S Member

    Joined:
    Oct 5, 2010
    Messages:
    851
    Likes Received:
    104
    Its called threaded optimization in the nvidia control panel global settings where you manage your 3d settings. Allows application to take advantage of multiple cpus.
     
  11. mavericckk

    mavericckk Registered

    Joined:
    Feb 14, 2012
    Messages:
    202
    Likes Received:
    2
    Here is the numbers of my new upgrade: View attachment 3880 X6 CPU after to run 5 laps with 20 AI cars .in game all Max only shadows in MED
    only core 4 at 98%
     
  12. Atle Dreier

    Atle Dreier Registered

    Joined:
    Jan 14, 2012
    Messages:
    84
    Likes Received:
    2
    Weird part is that in heavy traffic when the performance goes down I see LESS CPU use than when running good. So there's some bottleneck that still needs unwinding.
     
  13. jtbo

    jtbo Registered

    Joined:
    Jan 12, 2012
    Messages:
    1,668
    Likes Received:
    48
    That sounds like if GPU or memory bandwidth comes to a limit so CPU does not get data to process and thus is showing less cpu usage as CPU waits for data from memory or waits GPU to process it's stuff.

    One reason why I like to limit fps to 60 with external app is that then I can see GPU usage, but using software setting in game, GPU usage is 100% according to monitoring software even in reality usage is 20-90% range depending from part of the track.

    I have not seen even nearly 100% usage of CPU in rF2, if such would happen I would start to suspect it being false like that GPU usage when using software vsync.
     
  14. rer8

    rer8 Registered

    Joined:
    Dec 19, 2010
    Messages:
    492
    Likes Received:
    23
    Sounds great jtbo.... could you share the name of your "external app" with the rest of us.... please. Thanks
     
  15. jtbo

    jtbo Registered

    Joined:
    Jan 12, 2012
    Messages:
    1,668
    Likes Received:
    48
    MSI Afterburner, I guess many are using it, but not sure if many are using fps limiter option of it.
     
  16. K Szczech

    K Szczech Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,720
    Likes Received:
    45
    That looks bad actually - if you sum up usage on all cores you get just over 500% - that's enough to fully load 5 cores!

    It means that 4 cores are not enough for driving with 20 AI cars not to mention you weren't using maximum detail settings.
     
    Last edited by a moderator: Sep 6, 2012
  17. MJP

    MJP Registered

    Joined:
    Oct 5, 2010
    Messages:
    988
    Likes Received:
    21
    But those are maximum values and I bet they didn't all occur at the same time.
     
  18. K Szczech

    K Szczech Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,720
    Likes Received:
    45
    Yeah, what I meant is that with this kind of usage 2-core CPU's can get choked-up pretty easily.

    One core is usually not enough for graphics drivers and sometimes even 2 are not enough. I'm really hoping for some major changes in game engine and content design that will decrease CPU usage.

    Recommended system specs only mention dual core CPU. I think ISI has slightly underestimated the impact old-fashioned rendering engine design will have on CPU.
     
    Last edited by a moderator: Sep 6, 2012
  19. mavericckk

    mavericckk Registered

    Joined:
    Feb 14, 2012
    Messages:
    202
    Likes Received:
    2
    Last edited by a moderator: Sep 7, 2012
  20. K Szczech

    K Szczech Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,720
    Likes Received:
    45
    Yup, 2 cores are not enough - 100& on both and almost 3 times less framerate. And it's just 10 cars.

    Maximum total CPU usage on 6 cores is 65,9 - that's almost exactly 2/3 of 6 cores, so seems like you need 4 cores at minimum. Anything less and your GPU will be underperforming badly.
    With 4 cores you use (loosely speaking) 1 for physics and 3 for graphics, while on two you use 1 for physics and 1 for graphics, so you end up totally CPU-bound with performance.

    You can try that 2-core test again comparing different resulitions. I have dual core processor myself and I have no difference between 1280x960 + HDR + max AA and 800x600 + HDR + no AA. Not even one frame per second of difference.
     

Share This Page