Would any GPU flags help my workload's performance?

%3CLINGO-SUB%20id%3D%22lingo-sub-1329161%22%20slang%3D%22en-US%22%3EWould%20any%20GPU%20flags%20help%20my%20workload's%20performance%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1329161%22%20slang%3D%22en-US%22%3E%3CP%3EHey%2C%20quick%20question%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20use%20a%20lot%20of%20web-based%20stock%20market%20charting%20sites%2C%20which%20involves%20lots%20of%20tabs%20with%20charts%20rendering%20and%20lots%20of%20live%20data%20coming%20in.%20Would%20any%20flags%20related%20to%20the%20GPU%20help%20my%20performance%3F%20(or%20any%20other%20flags)%20Should%20I%20leave%20it%20all%20default%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1329603%22%20slang%3D%22en-US%22%3ERe%3A%20Would%20any%20GPU%20flags%20help%20my%20workload's%20performance%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1329603%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F360942%22%20target%3D%22_blank%22%3E%40matb86%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E'%3CEM%3EOverride%20software%20rendering%20list%3C%2FEM%3E'%20and%20'%3CEM%3EGPU%20rasterization%3C%2FEM%3E'%20are%20already%20on%2C%20unless%20you%20have%20hardware%20acceleration%20disabled%20for%20any%20reason.%3C%2FP%3E%3CP%3ETurning%20on%20the%20'%3CEM%3EGPU%20rasterization%3C%2FEM%3E'%20flag%20will%20result%20in%20force-rendering%20all%20pages%20using%20the%20GPU%2C%20which%20might%20result%20in%20visual%20bugs%20if%20you're%20using%20an%20unsupported%20Graphics%20card.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOther%20flags%20you%20listed%20can%20indeed%20improve%20performance%20in%20most%20cases%2C%20however%20it%20really%20depends%20on%20how%20efficient%20the%20program%20is%20written.%3C%2FP%3E%3CP%3E(Also%2C%20if%20something%20increases%20performance%20while%20staying%20safe%20%26amp%3B%20reliable%20for%20supported%20hardwares%2C%20then%20it's%20surely%20going%20to%20be%20turned%20on%20by%20default.%20but%20it's%20still%20possible%20for%20flags%20to%20sometimes%20enhance%20performance%20by%20a%20considerable%20amount.)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThese%20flags%20could%20also%20improve%20performance%3A%20'%3CEM%3ESkia%20API%20for%20compositing%3C%2FEM%3E'%2C%20'%3CEM%3EChoose%20ANGLE%20graphics%20backend%3C%2FEM%3E'%20and%20'%3CSPAN%3E%3CEM%3ESelect%20HW%20overlay%20strategies%3C%2FEM%3E'%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20for%20ANGLE%2C%20You%20could%20experiment%20with%20different%20backends%2C%20this%20is%20affected%20by%20your%20OS%20and%20GPU%20vendor%20%5BAMD%2FNVidia%20for%20example%5D%2C%20AMD%20drivers%20typically%20have%20some%20overhead%20on%20DX11%20or%20older%20OpenGL%20versions%20(Which%20ANGLE%20uses)%2C%20while%20they%20performed%20very%20well%20with%20low-level%20API's%20like%20Vulkan%20or%20DX12.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ED3D9%20is%20old%20and%20probably%20going%20to%20be%20slower%20than%20other%20backends.%26nbsp%3B%20However%2C%20the%20new%20D3D11%20on%2012%2C%20translates%20DirectX11%20calls%20to%20DirectX12%20and%20while%20there%20is%20a%20slight%20overhead%20involved%2C%20it%20has%20the%20potential%20to%20be%20faster%2C%20due%20to%20the%20newer%20features%20of%20DX12.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHW%20Overlay%20depends%20on%20your%20hardware%20as%20well%2C%20so%20I%20would%20recommend%20experimenting%20and%20setting%20values%20accordingly%20to%20the%20results%3B%20as%20there%20are%20no%20exact%20answers%20for%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDepending%20on%20how%20the%20charts%20are%20implemented%20other%20flags%20could%20also%20greatly%20improve%20performance.%3C%2FP%3E%3CP%3EFor%20%3CU%3Eexample%3C%2FU%3E%3CSPAN%3E%26nbsp%3Ba%20Chart%20that%20is%20using%20WebAssembly%20(Recently%20more%20and%20more%20web-based%20libraries%20have%20been%20moving%20to%20it)%20could%20be%20made%20much%20faster%20by%20using%20WebAssembly's%20TurboFan%20compiler%20(This%20will%20increase%20the%20initial%20loading%20time%20but%20afterwards%20it'll%20be%20cached%20and%20more%20responsive)%3A%20'%3C%2FSPAN%3E%3CEM%3EWebAssembly%3C%2FEM%3E%3CSPAN%3E%3CEM%3E%26nbsp%3Bbaseline%20compile%3C%2FEM%3Er'%20%2B%20'%3CEM%3EWebAssembly%20tiering%3C%2FEM%3E'%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(Other%20related%20flags%20could%20help%20only%20if%20the%20application%20was%20written%20to%20use%20them%2C%20but%20the%20above%20ones%20will%20work%20for%20all%20cases)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20conclusion%20the%20flags%20you've%20mentioned%20can%20improve%20performance%2C%20there%20are%20also%20several%20other%20flags%20(and%20command%20line%20switches)%20that%20could%20positively%20affect%20performance%3B%20in%20addition%20to%20disabling%20unnecessary%20background%20apps%20and%20extensions.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1332321%22%20slang%3D%22en-US%22%3ERe%3A%20Would%20any%20GPU%20flags%20help%20my%20workload's%20performance%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1332321%22%20slang%3D%22en-US%22%3Ethanks%2C%20giving%20the%20suggested%20a%20shot%20(though%20not%20sure%20how%20to%20really%20A%2FB%20test%2C%20either%20way..)%3CBR%20%2F%3E%3CBR%20%2F%3EI've%20got%20a%20i7%206-core%20cpu%20and%20a%20%5BRadeon%20Pro%20555X%204%20GB%5D%20so%20mostly%20hoping%20to%20hand%20as%20much%20of%20the%20workload%20to%20the%20GPU%20as%20possible%20since%20at%20the%20moment%20Edge%20really%20chokes%20up%20when%20I%20have%20a%20bunch%20of%20tabs%20going%20and%20volume%20picks%20up%20(and%20nothing%20is%20graphically%20demanding%20in%20this%20scenario)%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Hey, quick question

 

I use a lot of web-based stock market charting sites, which involves lots of tabs with charts rendering and lots of live data coming in. Would any flags related to the GPU help my performance? (or any other flags) Should I leave it all default?

2 Replies
Highlighted

@matb86 

 

 

 

'Override software rendering list' and 'GPU rasterization' are already on, unless you have hardware acceleration disabled for any reason.

Turning on the 'GPU rasterization' flag will result in force-rendering all pages using the GPU, which might result in visual bugs if you're using an unsupported Graphics card.

 

Other flags you listed can indeed improve performance in most cases, however it really depends on how efficient the program is written.

(Also, if something increases performance while staying safe & reliable for supported hardwares, then it's surely going to be turned on by default. but it's still possible for flags to sometimes enhance performance by a considerable amount.)

 

 

These flags could also improve performance: 'Skia API for compositing', 'Choose ANGLE graphics backend' and 'Select HW overlay strategies'

 

As for ANGLE, You could experiment with different backends, this is affected by your OS and GPU vendor [AMD/NVidia for example], AMD drivers typically have some overhead on DX11 or older OpenGL versions (Which ANGLE uses), while they performed very well with low-level API's like Vulkan or DX12.

 

D3D9 is old and probably going to be slower than other backends.  However, the new D3D11 on 12, translates DirectX11 calls to DirectX12 and while there is a slight overhead involved, it has the potential to be faster, due to the newer features of DX12.

 

HW Overlay depends on your hardware as well, so I would recommend experimenting and setting values accordingly to the results; as there are no exact answers for this.

 

 

Depending on how the charts are implemented other flags could also greatly improve performance.

For example a Chart that is using WebAssembly (Recently more and more web-based libraries have been moving to it) could be made much faster by using WebAssembly's TurboFan compiler (This will increase the initial loading time but afterwards it'll be cached and more responsive): 'WebAssembly baseline compiler' + 'WebAssembly tiering'

(Other related flags could help only if the application was written to use them, but the above ones will work for all cases)

 

 

 

In conclusion the flags you've mentioned can improve performance, there are also several other flags (and command line switches) that could positively affect performance; in addition to disabling unnecessary background apps and extensions.

 

 

 

Highlighted
thanks, giving the suggested a shot (though not sure how to really A/B test, either way..)

I've got a i7 6-core cpu and a [Radeon Pro 555X 4 GB] so mostly hoping to hand as much of the workload to the GPU as possible since at the moment Edge really chokes up when I have a bunch of tabs going and volume picks up (and nothing is graphically demanding in this scenario)