Hello there. I can’t define is here something similar, but I will write little man about how you can tune up your Windows-based PC if you have performance troubles like I do.
I spent much time to find information and what can I say, you can find useful tips, but all these tips are scattered. But the point is that performance is complex task and I will add some advices from myself and try to consolidate all in one place.
All tools and advices are totally free because if I had money, I would buy just more powerful PC =)
Let’s start from little OS tuning:
- First of all I recommend clean you autorun. Why? That will free your RAM of unnecessary DLLs, background applications and other. There are many ways, but I use tool “Autoruns”(earlier it was developing by sysinternals guys, but then MS bought them x_x). Just download, unzip and run as administrator. Then all you need is unchecking redundant boxes, but be careful - you can kill your OS
(onetime I disabled system library and OS didn’t boot after restart). Utility has many great options, just look inside (by the way on site are other useful utilities eg process explorer)
- As mentioned above Autoruns.exe is useful, and its far better than the legacy tool Msconfig.
But the latter is ok for a quick overview if you don’t have time or insider know-how! - Next you can press Win+R hotkey(Run) and run “services.msc”. That’s list of services which are running on your system. Here are many services that you can disable. Double-click on item, there is startup type. If you don’t need service to start set it to Disabled, if you doubt need you some service to run then you can set Manual startup type. Be careful again, do not disable system critical services.
- Now pressing Win+Break opens system information window, there is Advanced system settings link -> Settings… button in Performance area. Here you can disable many explorer visual effects. I got it setup like this
Next we’re going to Advanced tab and set there Adjust for best performance of: Programs radiobutton. Below is button for setting up virtual memory(paging(swap) file). Before setup virtual memory I highly recommend read this article by Mark Russinovich(the well-known Windows expert and author of the Sysinternals tools), don’t change these settings unless you know how it works.
- Next we can go to Control Panel->Administrative Tools->Task Scheduler. Here you can expand all and check all sections and disable few tasks which are useless for you
Now what about UE itself I found for me useful few things:
-
First disable Realtime checkbox in viewport
-
Next you can downgrade visual options, don’t forget upgrade them back before deploying (but maybe that doesn’t matter i dunno =) )
-
If you have small monitor like I do (second I successfully destroyed while soldering the lamp x_x) I think you find usefull checkbox for small buttons upon viewport
-
Again about small monitors: don’t forget that you can relocate windows inside editor. I have such disposition
-
Now back to OS. I have laptop with 2 videocards: one good enough and one integrated. Here you can setup such thing as launching editor using the good one. In my case it looks like this within NVidia control panel
I set these prefers for 2 applications:
And little piece about Visual Studio(VS2015 CE in my case). I always developed using C#. Now C++ with these engine sources is such nightmare for me. Just because intellisense and building time. I searched a lot, but found not so many advices.
-
First of all read documentation page about setting up VS for UE.
-
Next if you low on memory go to Options->Text Editor->C/C+±>Advanced and set there Max cached translations units to 2(min value). This units count mean how many background processes may spawn VS for “intelissensing”(on my PC each such thread consumes 670MB of RAM)
-
Now to solution explorer. Open file {ProjectName}.Build.cs. Add 2 lines at constructor’s beginning:
MinFilesUsingPrecompiledHeaderOverride = 1;
bFasterWithoutUnity = true;
That’s somehow accelerates building of project. But developers recommend using it only on your own and on little projects
-
The only thing which I found useful for me at intellisense question was following. In solution explorer right-click your project(and maybe UE project, I did for both) and open Properties->NMake->IntelliSense->Additional Options set to /Yu (that flag commands to complier cache intellisense to local files)
-
Optional you can go into configuration manager and disable there checkbox for building UE project (but build it first ^_^) or you can just use Shift+F6 hotkey for building current project
MORE ADVANCED OS ADVICES: (Don’t use them if you haven’t clue what is this for)
- TASKS:
Even if you opt not to download Sysinternals → Procexp.exe, keep a close eye on ‘Task Mangler’…
Because there are mandatory processes / modules that can kill CPU cycles over time.
For processes that can’t be disabled, test-drive Sysinternals Procmon.exe, as it offers incredible insights! - COM / DLLhost:
The list above doesn’t cover COM spawned processes, or CPU eaters that show up on Task-Mangler as DLLhost…
I like to track these down using Procexp to get the class ID, and then go through the registry to purge them.
If you opt to do that, then use regedit.exe, and always export each key before deleting it, so that you have backups.
However, the preferred solution is to use the less than helpful ComponentServices.msc tool (Start → Run → comexp.msc)
As we all read this that means all we use web-browsers. And here we go with few options too. These options enhance your security in web and also make your browser consume less memory (nobody wants his project be stealed :D)
BROWSER ADVICES:
- Managing Add-ons:
The enemy within! Be mindful of nasties hiding in the apps you trust, like add-ins / add-ons / plug-ins for Browsers.
There is a popular consensus that its best to avoid IE, but if that’s not possible then scrutinize entries in:
Code:
Tools -> Manage Add-ons -> Toolbars and Extensions -> Run without Permission...
Tools -> Manage Add-ons -> Toolbars and Extensions -> All Add-ons...
Tools -> Manage Add-ons -> Toolbars and Extensions -> Downloaded Controls...
Tools -> Manage Add-ons -> Accelerators...
*[Note: Some of these could have changed in recent versions or with Edge etc]*
For Firefox 38+, watch out for an auto-installing closed-source Adobe DRM add-on.
Kill it off if possible, as there’s info about ‘what else’ it does. Uncheck Play DRM in content settings also.
- Overall, kill off all Flash & Java add-ons if you have any, as they’re a real liability as many already know!
In short, Flash / Java are the #1 delivery device for Malware / Spyware, all of which will dog your system.
Its hard to believe sites like Twitch still insist on Flash, but they’re working to switch over apparently.
If you can’t do without either, then regularly update your Hosts file to block evil websites. - That’s couple addons I use to manage scripts and request from site:
NoScript manages scripts on page. First thing I add to browser after install cause most of vulnerabilities lies within scripts.
RequestPolicy manages cross-sites requests.
UPDATED: Thanks to franktech for advanced advices about OS and browsers. I added it all above
That’s all what I remember at this moment folks. After all steps above I finally can breathe freely, but if you can give more advices then give them xD. Thank you for attention.
PS: I’m pretty new to UE too, so if I’m wrong with anything please correct me.
PPS: I never officially learned english… so it’s very poor feel free to correct my mistakes/typos and I would be grateful if someone literate edited thats all above