Portal performance tuning
Hello
what activities (configuration settings) can be done, to increase the performance of the Portal ?
(e.g. IIS Settings, Browser Settings, SCSM/SQL/Portal architecture design considerations, SQL Tuning etc. ?)
I am asking, because it looks like (at least in my testing environment) that I loose some performance when opening workitems and can't figure out whats the root cause for this. (with F12 developer tools, I can see sometimes a very long "download time" or even long DNS resolution timinig which is totaly strange for me - and I don't believe its a DNS problem)
For testing, I removed all customizations included in custom.js - but the effect on this is not so high. It looks like, that sometimes the IIS is not responding very fast, but the IIS itself has no real workload.
The environment is SCSM2016/SQL2016 on Windows Server 2016 - The client is W10 with IE and Edge - The portal version is 8.2.x
The webconsole.log and cachebuilder log don't show any significant errors.
Would be great to share some tipps and tricks about that.
regards
Roland
Answers
Typically, these slowdowns that you see in the "Network" section of the dev tools is due to the portal communicating back to the SCSM DAS service. Some things can be queried from Cireson's ServiceManagement DB, and they tend to run fairly quick, while others have to communicate with the local management server's DAS. Templates are queried directly from the DAS, and ticket Open and Save actions interact directly with the DAS. These actions tend to run slow.
If your experience is lining up with this, then you need to start looking at your ServiceManager database and at SCSM in general. Some key areas to look at are:
There are no doubt more areas you could look at, and I also wonder if anyone else has had a different experience with some of the items I suggested above. Trying to identify and resolve these performance issues seems more like magic than science, most of the time.
Keep your eye on the Network tab in the chrome console. After upgrading from V7.4 to V8.6.1 we noticed that custom code loaded via $.getScript() were having their urls adjusted with "?_=<timestamp>" which was triggering chrome to ignore the max-age hints we added to the CustomSpace/web.onfig file.
Instead, we adopted https://community.cireson.com/discussion/comment/14268#Comment_14268 which fixes this issue and also allows you to control which pages your customizations are loaded on.
The fastest time for opening SR, IR, was 2-4 seconds in Chrome. In IE about 5-7seconds.