Announcement

Collapse
No announcement yet.

Multi-threaded Renderer

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    [OFFICIAL] Multi-threaded Renderer

    Now that we've updated to UE 4.5, the multi-threaded renderer is stable and ready for some community testing. Enabling the multi-threaded renderer splits the work being done by the render thread across multiple threads, potentially improving performance. You should see some performance benefits today, and there will be substantially more improvement when DX12 is released. To enable the multi-threaded renderer, use the console command "r.RHICmdBypass 0".

    #2
    I assume this is for tomorrow's upcoming build? Currently it doesn't seem to affect my FPS whatsoever.

    Comment


      #3
      It already works. However, if you are not render thread bound, it will not affect your performance. You may be GPU bound, or game thread bound (GPU bound is more likely).

      Comment


        #4
        Originally posted by Steven Polge View Post
        It already works. However, if you are not render thread bound, it will not affect your performance. You may be GPU bound, or game thread bound (GPU bound is more likely).
        Oh, interesting. I tried it offline and my FPS stayed the same. I'll have to try this online, but I think I'm CPU bound (Core 2 Duo E6850 @ 3.0GHz, Radeon HD6870)

        Comment


          #5
          Thanks for this.

          Played around with it a bit and it certainly doesn't break anything for me. Gives about 5% fps increase during certain effects.

          I didn't notice the load being more spread out on my cpu cores tho. Still seems to just load up one core while the others are idle.

          Comment


            #6
            Does it work for the OpenGL renderer as well?
            Unreal Tournament 4 eXpanded MultiPlayer (UT4XMP) efforts
            My website, listing all my Unreal series mods and mutators

            Comment


              #7
              Originally posted by GreatEmerald View Post
              Does it work for the OpenGL renderer as well?
              Yes, it should provide the same benefits currently.

              Comment


                #8
                Originally posted by Steven Polge View Post
                Yes, it should provide the same benefits currently.
                I am not sure if this is the right place for this problem. It seems like major packet loss after the r.RHICmdBypass is enabled. I see this was in test stages back in October
                I started up this vps server just two weeks ago using the 2-21-15 build. . Everything was pretty stable until yesterday the 3-1-15 build. I provided my log in hopes that it helps provide some info. I don't believe this is user error I my end...yet it is possible!


                Code:
                 Log file open, 03/03/15 18:24:41
                LogInit:Display: Running engine for game: UnrealTournament
                LogInit:Display: Project file not found: C:/Users/Administrator/Documents/DM1/WindowsServer/UnrealTournament/UnrealTournament.uproject
                LogInit:Display: 	Attempting to find via project info helper.
                LogUProjectInfo: Found projects:
                LogInit: Version: 4.7.0-2465697+++depot+UE4-UT
                LogInit: API Version: 2465697
                LogInit: Compiled (64-bit): Mar  1 2015 00:38:16
                LogInit: Compiled with Visual C++: 18.00.21005.01
                LogInit: Build Configuration: Development
                LogInit: Branch Name: ++depot+UE4-UT
                LogInit: Command line:  DM-Outpost23?Game=DM?Goalscore=20?TimeLimit=10?MaxPlayers=12?MaxSpectators=2?botfill=6 -port=7777 -log
                LogInit: Base directory: C:/Users/Administrator/Documents/DM1/WindowsServer/Engine/Binaries/Win64/
                LogInit: Rocket: 0
                [2015.03.03-23.24.41:922][  0]LogTaskGraph: Started task graph with 3 named threads and 4 total threads.
                [2015.03.03-23.24.42:547][  0]LogInit: Presizing for 0 objects not considered by GC, pre-allocating 0 bytes.
                [2015.03.03-23.24.42:563][  0]LogInit: Object subsystem initialized
                [2015.03.03-23.24.42:563][  0]LogConsoleResponse:Warning: Skipping Unknown console variable: 'UIScaleRule = ShortestSide'
                [2015.03.03-23.24.42:563][  0]LogConsoleResponse:Warning:   Found in ini file '../../../UnrealTournament/Saved/Config/WindowsServer/Engine.ini', in section '[/Script/Engine.RendererSettings]'
                [2015.03.03-23.24.42:563][  0]LogConsoleResponse:Warning: Skipping Unknown console variable: 'UIScaleCurve = (EditorCurveData=(Keys=),ExternalCurve=None)'
                [2015.03.03-23.24.42:563][  0]LogConsoleResponse:Warning:   Found in ini file '../../../UnrealTournament/Saved/Config/WindowsServer/Engine.ini', in section '[/Script/Engine.RendererSettings]'
                [2015.03.03-23.24.42:563][  0]LogInit: Selected Device Profile: [WindowsServer]
                [2015.03.03-23.24.42:563][  0]LogInit: Applying CVar settings loaded from the selected device profile: [WindowsServer]
                [2015.03.03-23.24.42:579][  0]LogInit: Computer: MEGA2000
                [2015.03.03-23.24.42:579][  0]LogInit: User: Administrator
                [2015.03.03-23.24.42:580][  0]LogInit: CPU Page size=4096, Cores=2
                [2015.03.03-23.24.42:581][  0]LogInit: High frequency timer resolution =62.500000 MHz
                [2015.03.03-23.24.42:581][  0]LogMemory: Memory total: Physical=2.0GB (2GB approx) Virtual=131072.0GB
                [2015.03.03-23.24.42:582][  0]LogMemory: Platform Memory Stats for WindowsServer
                [2015.03.03-23.24.42:582][  0]LogMemory: Process Physical Memory: 34.19 MB used, 34.19 MB peak
                [2015.03.03-23.24.42:583][  0]LogMemory: Process Virtual Memory: 20.65 MB used, 20.65 MB peak
                [2015.03.03-23.24.42:583][  0]LogMemory: Physical Memory: 558.49 MB used, 2039.61 MB total
                [2015.03.03-23.24.42:583][  0]LogMemory: Virtual Memory: 190.70 MB used, 134217728.00 MB total
                [2015.03.03-23.24.42:727][  0]LogTextLocalizationManager: The requested culture ('en_US') has no localization data; parent culture's ('en') localization data will be used.
                [2015.03.03-23.24.43:042][  0]LogExec:Warning: Cannot perform text import on property 'NavigationDataClass' here: NavigationDataClass=Class'/Script/UnrealTournament.UTRecastNavMesh',NavigationDataClassName=UnrealTournament.UTRecastNavMesh,AgentRadius=46.000000,AgentHeight=128.000000,AgentStepHeight=51.000000,bCanCrouch=False,bCanJump=False,bCanWalk=False,bCanSwim=False,bCanFly=False)
                [2015.03.03-23.24.43:404][  0]LogInit: WinSock: version 1.1 (2.2), MaxSocks=32767, MaxUdp=65467
                [2015.03.03-23.24.43:973][  0]LogWmfMedia: Failed to load mf.dll
                [2015.03.03-23.24.43:973][  0]LogWmfMedia: Failed to load required Windows Media Foundation libraries
                [2015.03.03-23.24.44:081][  0]LogWindowsMoviePlayer:Warning: Could not load mf.dll
                [2015.03.03-23.24.44:083][  0]LogWindowsMoviePlayer:Warning: Could not load mfplat.dll
                [2015.03.03-23.24.44:085][  0]LogWindowsMoviePlayer:Warning: Could not load mfplay.dll
                [2015.03.03-23.24.44:541][  0]LogUObjectGlobals:Warning: Attempted to create a package with a short package name: Function_693 Outer: NullOuter
                [2015.03.03-23.24.44:542][  0]LogLinker:Warning: Function_693 has an inappropriate outermost, it was probably saved with a deprecated outer.
                [2015.03.03-23.24.44:703][  0]LogUObjectGlobals:Warning: Attempted to create a package with a short package name: Function_693 Outer: NullOuter
                [2015.03.03-23.24.44:704][  0]LogLinker:Warning: Function_693 has an inappropriate outermost, it was probably saved with a deprecated outer.
                [2015.03.03-23.24.44:750][  0]LogUObjectGlobals:Warning: Attempted to create a package with a short package name: Function_693 Outer: NullOuter
                [2015.03.03-23.24.44:751][  0]LogLinker:Warning: Function_693 has an inappropriate outermost, it was probably saved with a deprecated outer.
                [2015.03.03-23.24.45:937][  0]LogObj: 32846 objects as part of root set at end of initial load.
                [2015.03.03-23.24.45:937][  0]LogUObjectAllocator: 7892024 out of 0 bytes used by permanent object pool.
                [2015.03.03-23.24.46:310][  0]UT:Warning: ************************************Set Net Version 3008030
                [2015.03.03-23.24.46:668][  0]LogAssetRegistry: FAssetRegistry took 0.2440 seconds to start up
                [2015.03.03-23.24.46:932][  0]LogAnalytics: Creating configured Analytics provider AnalyticsET
                [2015.03.03-23.24.46:933][  0]LogAnalytics: ET APIKey = UnrealTournament.Release. APIServer = http://etsource.epicgames.com/ET2/. AppVersion = 4.7.0-2465697+++depot+UE4-UT
                [2015.03.03-23.24.46:933][  0]LogAnalytics: SetUserId 28c41ed24a48773e70b5959ea065b27b||c9b09a7d-bd3a-4fc6-9df4-69933c33d02a|Reg
                [2015.03.03-23.24.46:934][  0]LogAnalytics: AnalyticsET::StartSession [UnrealTournament.Release]
                [2015.03.03-23.24.46:935][  0]LogEngine: Initializing Engine...
                [2015.03.03-23.24.46:948][  0]LogInit: Texture streaming: Disabled
                [2015.03.03-23.24.46:948][  0]LogAnalytics: Creating configured Analytics provider AnalyticsET
                [2015.03.03-23.24.46:949][  0]LogAnalytics: ET APIKey = UTEditor.Binary.Release. APIServer = http://et2.epicgames.com/ET2/. AppVersion = 4.7.0-2462697+++depot+UE4-UT
                [2015.03.03-23.24.46:949][  0]LogAnalytics: ET APIKey = UTEditor.Binary.Release. DataRouterUploadURL = https://datarouter-public-service-gamedev.ol.epicgames.net/datarouter/api/v1/public/data. AppVersion = 4.7.0-2465697+++depot+UE4-UT
                [2015.03.03-23.24.46:950][  0]LogAnalytics: SetUserId 28c41ed24a48673e70b5919ea035b27b||c9b05a7d-bd3a-4fc6-9df4-69933c34d02a
                [2015.03.03-23.24.46:951][  0]LogAnalytics: AnalyticsET::StartSession [UTEditor.Binary.Release]
                [2015.03.03-23.24.48:002][  0]LogPackageName: SearchForPackageOnDisk took   0.930s to resolve DM-Outpost23.umap
                [2015.03.03-23.24.48:002][  0]LogLoad: LoadMap: /Game/EpicInternal/TestMaps/DM-Outpost23?Name=Player?VersionCheck=1?Hat=/Game/EpicInternal/Cosmetic_Items/BP_Beanie.BP_Beanie_C?Game=DM?Goalscore=20?TimeLimit=10?MaxPlayers=12?MaxSpectators=2?botfill=6
                [2015.03.03-23.24.48:025][  0]LogMemory: Platform Memory Stats for WindowsServer
                [2015.03.03-23.24.48:025][  0]LogMemory: Process Physical Memory: 122.96 MB used, 160.21 MB peak
                [2015.03.03-23.24.48:025][  0]LogMemory: Process Virtual Memory: 154.36 MB used, 244.36 MB peak
                [2015.03.03-23.24.48:026][  0]LogMemory: Physical Memory: 655.42 MB used, 2039.61 MB total
                [2015.03.03-23.24.48:026][  0]LogMemory: Virtual Memory: 355.09 MB used, 134217728.00 MB total
                [2015.03.03-23.24.48:027][  0]LogMemory: 
                [2015.03.03-23.24.48:028][  0]LogMemory: Allocator Stats for binned:
                [2015.03.03-23.24.48:028][  0]LogMemory: Current Memory 134.09 MB used, plus 6.15 MB waste
                [2015.03.03-23.24.48:029][  0]LogMemory: Peak Memory 226.09 MB used, plus 4.80 MB waste
                [2015.03.03-23.24.48:029][  0]LogMemory: Current OS Memory 140.24 MB, peak 230.89 MB
                [2015.03.03-23.24.48:030][  0]LogMemory: Current Waste 2.00 MB, peak 3.81 MB
                [2015.03.03-23.24.48:030][  0]LogMemory: Current Used 134.09 MB, peak 226.09 MB
                [2015.03.03-23.24.48:031][  0]LogMemory: Current Slack 4.15 MB
                [2015.03.03-23.24.48:031][  0]LogMemory: Allocs       192571 Current /  15678667 Total
                [2015.03.03-23.24.48:032][  0]LogMemory: 
                [2015.03.03-23.24.48:032][  0]LogMemory: Block Size Num Pools Max Pools Cur Allocs Total Allocs Min Req Max Req Mem Used Mem Slack Mem Waste Efficiency
                [2015.03.03-23.24.48:032][  0]LogMemory: ---------- --------- --------- ---------- ------------ ------- ------- -------- --------- --------- ----------
                [2015.03.03-23.24.48:033][  0]LogMemory:          8         0         0          0            0       8       0       0K        0K        0K    100.00%
                [2015.03.03-23.24.48:033][  0]LogMemory:         16        12        12      45311       958638      16      16     707K       61K        0K    100.00%
                [2015.03.03-23.24.48:034][  0]LogMemory:         32        19        19      38151       284813      32      32    1192K       24K        0K    100.00%
                [2015.03.03-23.24.48:034][  0]LogMemory:         48         9         9      10925       199478      48      48     512K       64K        0K    100.00%
                [2015.03.03-23.24.48:035][  0]LogMemory:         64        25        25      24246       426133      64      64    1515K       85K        0K    100.00%
                [2015.03.03-23.24.48:035][  0]LogMemory:         80         6         6       4298       514910      80      80     335K       49K        0K    100.00%
                [2015.03.03-23.24.48:036][  0]LogMemory:         96         7         7       3901       742692      96      96     365K       83K        0K    100.00%
                [2015.03.03-23.24.48:036][  0]LogMemory:        112         5         5       2262       722089     112     112     247K       73K        0K    100.00%
                [2015.03.03-23.24.48:037][  0]LogMemory:        128        41        41      20532      1091870     128     128    2566K       58K        0K    100.00%
                [2015.03.03-23.24.48:037][  0]LogMemory:        160        21        21       8174      4477040     144     160    1277K       66K       55K     95.91%
                [2015.03.03-23.24.48:037][  0]LogMemory:        192        28        29       9378      4353893     176     192    1758K       33K       77K     95.70%
                [2015.03.03-23.24.48:038][  0]LogMemory:        224        27        33       7416      1409987     208     224    1622K      103K       79K     95.43%
                [2015.03.03-23.24.48:038][  0]LogMemory:        256        14        15       3417       276513     240     256     854K       42K       46K     94.87%
                [2015.03.03-23.24.48:039][  0]LogMemory:        288        11        11       2189        59315     272     288     615K       88K       20K     97.16%
                [2015.03.03-23.24.48:039][  0]LogMemory:        320        10        11       1599        40563     304     320     499K      139K       15K     97.66%
                [2015.03.03-23.24.48:040][  0]LogMemory:        384        25        25       3737        46182     336     384    1401K      193K      110K     93.13%
                [2015.03.03-23.24.48:040][  0]LogMemory:        448        13        13       1787        39016     400     448     781K       50K       49K     94.11%
                [2015.03.03-23.24.48:041][  0]LogMemory:        512         6         6        634         9823     464     512     317K       67K       18K     95.31%
                [2015.03.03-23.24.48:041][  0]LogMemory:        576         8         8        809         7105     528     576     455K       54K       27K     94.73%
                [2015.03.03-23.24.48:042][  0]LogMemory:        640         4         4        365          826     592     640     228K       27K       11K     95.70%
                [2015.03.03-23.24.48:042][  0]LogMemory:        704         3         3        225          837     656     704     154K       38K        3K     98.44%
                [2015.03.03-23.24.48:043][  0]LogMemory:        768         3         4        250         1688     720     768     187K        5K        4K     97.92%
                [2015.03.03-23.24.48:043][  0]LogMemory:        896         9         9        561         1289     784     896     490K       85K       19K     96.70%
                [2015.03.03-23.24.48:044][  0]LogMemory:       1024         4         4        184          488     912    1024     184K       72K        6K     97.66%
                [2015.03.03-23.24.48:044][  0]LogMemory:       1168         3         3        124          836    1040    1168     141K       51K        7K     96.35%
                [2015.03.03-23.24.48:045][  0]LogMemory:       1360        22        22        489         2805    1184    1360     649K      754K       56K     96.02%
                [2015.03.03-23.24.48:045][  0]LogMemory:       1632         9         9        309          892    1376    1632     492K       82K       30K     94.79%
                [2015.03.03-23.24.48:046][  0]LogMemory:       2048        21        30        160         1363    1648    2048     320K     1024K       45K     96.65%
                [2015.03.03-23.24.48:046][  0]LogMemory:       2336         4         4         71         2685    2064    2336     161K       95K       17K     93.36%
                [2015.03.03-23.24.48:046][  0]LogMemory:       2720         7         7        143          257    2352    2704     379K       68K       35K     92.19%
                [2015.03.03-23.24.48:047][  0]LogMemory:       3264         4         4         58          824    2736    3264     184K       71K        9K     96.48%
                [2015.03.03-23.24.48:047][  0]LogMemory:       4096         5         6         65          305    3280    4096     260K       60K       31K     90.31%
                [2015.03.03-23.24.48:048][  0]LogMemory:       4672         4         4         47          737    4112    4672     214K       42K        6K     97.66%
                [2015.03.03-23.24.48:048][  0]LogMemory:       5456         2         2         15          136    4704    5456      79K       49K        7K     94.53%
                [2015.03.03-23.24.48:049][  0]LogMemory:       6544         7         7         57          208    5488    6544     364K       84K       24K     94.64%
                [2015.03.03-23.24.48:049][  0]LogMemory:       8192         9         9         71          212    6560    8192     568K        8K       66K     88.54%
                [2015.03.03-23.24.48:050][  0]LogMemory:       9360         6         6         38          167    8208    9360     347K       37K       17K     95.57%
                [2015.03.03-23.24.48:050][  0]LogMemory:      10912         9         9         47          169    9392   10896     500K       76K       49K     91.49%
                [2015.03.03-23.24.48:051][  0]LogMemory:      13104        10        10         45          110   10960   13056     575K       65K       39K     93.91%
                [2015.03.03-23.24.48:051][  0]LogMemory:      16384        11        11         41          119   13120   16384     656K       48K       72K     89.77%
                [2015.03.03-23.24.48:052][  0]LogMemory:      21840        16        16         46          131   16400   21776     981K       43K      160K     84.38%
                [2015.03.03-23.24.48:052][  0]LogMemory:      32768        15        15         28           84   22048   32544     896K       64K      182K     81.04%
                [2015.03.03-23.24.48:053][  0]LogMemory: 
                [2015.03.03-23.24.48:053][  0]LogMemory: 30336K allocated in pools (with 4280K slack and 1391K waste). Efficiency 95.41%
                [2015.03.03-23.24.48:053][  0]LogMemory: Allocations 192206 Current / 15677229 Total (in 474 pools)
                [2015.03.03-23.24.48:054][  0]LogMemory: 
                [2015.03.03-23.24.51:155][  0]LogWorld: Game class is 'UTDMGameMode'
                [2015.03.03-23.24.51:156][  0]LogInit: WinSock: Socket queue 131072 / 131072
                [2015.03.03-23.24.51:159][  0]LogInit: WinSock: I am mega2000 (104.153.105.187:0)
                [2015.03.03-23.24.51:564][  0]LogModuleManager:Warning: ModuleManager: Unable to load module 'GameplayDebugger' because the file 'C:/Users/Administrator/Documents/DM1/WindowsServer/Engine/Binaries/Win64/' was not found.
                [2015.03.03-23.24.51:565][  0]LogAIModule: Creating AISystem for world DM-Outpost23
                [2015.03.03-23.24.51:684][  0]LogPhysics:Warning: AddConvexElemsToRigidActor: ConvexElem is missing ConvexMesh (2: /Game/EpicInternal/Liandri/Meshes/Optimizations/SM_BrightHallway_Pipes02.SM_BrightHallway_Pipes02:BodySetup_689)
                [2015.03.03-23.24.51:685][  0]LogPhysics:Warning: AddConvexElemsToRigidActor: ConvexElem is missing ConvexMesh (6: /Game/EpicInternal/Liandri/Meshes/Optimizations/SM_Liandri_DrillRoom_FanExitDoorPipes1.SM_Liandri_DrillRoom_FanExitDoorPipes1:BodySetup_673)
                [2015.03.03-23.24.51:717][  0]LogPhysics:Warning: AddConvexElemsToRigidActor: ConvexElem is missing ConvexMesh (2: /Game/EpicInternal/Liandri/Meshes/Optimizations/SM_Liandri_BoilerPipes.SM_Liandri_BoilerPipes:BodySetup_959)
                [2015.03.03-23.24.51:719][  0]LogPhysics:Warning: AddConvexElemsToRigidActor: ConvexElem is missing ConvexMesh (11: /Game/EpicInternal/Liandri/Meshes/Optimizations/SM_Liandri_BoilerPipes.SM_Liandri_BoilerPipes:BodySetup_959)
                [2015.03.03-23.24.51:734][  0]LogWorld: Bringing World /Game/EpicInternal/TestMaps/DM-Outpost23.DM-Outpost23 up for play (max tick rate 60) at 2015.03.03-18.24.51
                [2015.03.03-23.24.51:735][  0]UT: ===============
                [2015.03.03-23.24.51:735][  0]UT:   Init Game Option: ?Name=Player?VersionCheck=1?Hat=/Game/EpicInternal/Cosmetic_Items/BP_Beanie.BP_Beanie_C?Game=DM?Goalscore=20?TimeLimit=10?MaxPlayers=12?MaxSpectators=2?botfill=6
                [2015.03.03-23.24.51:736][  0]UT: Password: 0 NONE
                [2015.03.03-23.24.51:738][  0]LogInit: WinSock: Socket queue 131072 / 131072
                [2015.03.03-23.24.51:739][  0]UT: LobbyInstanceID: 0
                [2015.03.03-23.24.51:739][  0]UT: ==================
                [2015.03.03-23.24.51:880][  0]LogWorld: Bringing up level for play took: 0.314635
                [2015.03.03-23.24.51:899][  0]UT:Warning: Failed to add Health_Small_2 to path network: no nearby navigable area was found
                [2015.03.03-23.24.51:900][  0]UT:Warning: Failed to add Health_Small_3 to path network: no nearby navigable area was found
                [2015.03.03-23.24.51:901][  0]UT:Warning: Failed to add Health_Small_4 to path network: no nearby navigable area was found
                [2015.03.03-23.24.51:902][  0]LogInit:Display: Game Engine Initialized.
                [2015.03.03-23.24.51:903][  0]LogConsoleResponse:Display: 
                [2015.03.03-23.24.51:904][  0]UT: Running 2 processors (2 logical cores)
                [2015.03.03-23.24.51:904][  0]UT: Enabling r.RHICmdBypass due to not having 4 logical cores
                [2015.03.03-23.24.52:125][  0]LogLoad: Full Startup: 11.85 seconds (BP compile: 0.00 seconds)
                [2015.03.03-23.24.52:143][  0]LogNetTraffic:Warning: High single frame packet loss: 18
                [2015.03.03-23.24.52:145][  0]LogNetTraffic:Warning: High single frame packet loss: 2011
                [2015.03.03-23.24.52:145][  0]LogNetTraffic:Error: UNetConnection::ReceivedPacket: Received non-control bunch before control channel was created. ChIndex: 11, ChType: 0
                [2015.03.03-23.24.52:147][  0]LogNetTraffic:Warning: High single frame packet loss: 2217
                [2015.03.03-23.24.52:147][  0]LogNetTraffic:Error: UNetConnection::ReceivedPacket: Received non-control bunch before control channel was created. ChIndex: 66, ChType: 0
                [2015.03.03-23.24.52:149][  0]LogNetTraffic:Warning: High single frame packet loss: 3331
                
                
                
                
                
                This continued for Pages!!!!!!!
                Running the Mega Hub for everyone to enjoy!

                Comment


                  #9
                  Can't turn off multi threaded rendering on my ps4 pro

                  Comment

                  Working...
                  X