Jump to content
David Cañadas

Faster "Pending changes" updates

Recommended Posts

Hello,

We've started to experience long times waiting the "Pending changes" tab to update. Even disabling the auto-refresh feature, it tooks from 15 to 30 seconds to update, no matter how many changes we have. Other options such checking timestamps then hashes, or modifying the move detection settings didn't improve the update time.

I was wondering whether there is a way to accelerate such updates in some manner, or if you have any kind of file watcher service that looks for changes in real-time instead of inspecting in "Pending changes" update-time that we can use.

Best.

Share this post


Link to post
Share on other sites

Hi JDavid,

If you open the "Pending Changes" view --> Options, you will probably have enabled the options marked with * . These operations a require disk search (locally move detection...). With big workspaces it could take a while. If this is your case reconfigure the options according to your needs.

Anyway, if you attach the Plastic client log, we can review where the pending changes calculation is spent.

Regards,
Carlos

Share this post


Link to post
Share on other sites

Sorry, I think this text was removed in a recent Plastic client version. If you disable the move detection, the pending changes calcualtion should be faster. 

Anyway, let's review the Plastic client logs to understand where the time is spent refreshing this view.

Regards,

Carlos.

Share this post


Link to post
Share on other sites

Edited

The problem is happening to more than one user. They followed the instructions here with no noticeable improvement: http://blog.plasticscm.com/2018/05/debugging-pending-changes-view-performance.html

The logs for the particular user that raised the request:

2020-11-27 10:58:12,228 <OMITTED> DEBUG WorkspaceStatus: DiskChangesSearcher - -------ProcessChanges:--------
2020-11-27 10:58:12,228 <OMITTED> DEBUG WorkspaceStatus: DiskChangesSearcher -     timerGetMountPoint 30 ms, 223988 times
2020-11-27 10:58:12,228 <OMITTED> DEBUG WorkspaceStatus: DiskChangesSearcher -     timerProcessChange 62 ms, 223988 times
2020-11-27 10:58:12,228 <OMITTED> DEBUG WorkspaceStatus: DiskChangesSearcher -         timerIsBinaryPath 0 ms, 0 times
2020-11-27 10:58:12,228 <OMITTED> DEBUG WorkspaceStatus: DiskChangesSearcher -             timerIsBinaryTypePredictor 0 ms, 0 times
2020-11-27 10:58:12,228 <OMITTED> DEBUG WorkspaceStatus: DiskChangesSearcher -     timerGetChangeTypes 295 ms, 223988 times
2020-11-27 10:58:12,229 <OMITTED> DEBUG WorkspaceStatus: DiskChangesSearcher -         timerGetIgnoredTypes 16 ms, 2926 times
2020-11-27 10:58:12,229 <OMITTED> DEBUG WorkspaceStatus: DiskChangesSearcher -         timerGetCloakedTypes 32 ms, 223988 times
2020-11-27 10:58:12,229 <OMITTED> DEBUG WorkspaceStatus: DiskChangesSearcher -         timerCheckChanged 63 ms, 196851 times
2020-11-27 10:58:12,229 <OMITTED> DEBUG WorkspaceStatus: DiskChangesSearcher -         timerGetHiddenTypes 0 ms, 15 times
2020-11-27 10:58:12,229 <OMITTED> DEBUG WorkspaceStatus: DiskChangesSearcher -     timerNeedToProcessChildren 47 ms, 223988 times
2020-11-27 10:58:12,229 <OMITTED> DEBUG WorkspaceStatus: DiskChangesSearcher -     timerGetFsNodes 14284 ms, 24211 times
2020-11-27 10:58:12,229 <OMITTED> DEBUG WorkspaceStatus: DiskChangesSearcher - Get changes total time: 15078

Our disk drives are:

WD Black SN750 NVMe 2 SSD WDS (where system and Plastic SCM software resides); and

Adata XPG GAMMIX S11 Pro (where we locate our workspaces).

Share this post


Link to post
Share on other sites

Hi,

Do you have "ingnore.conf/hidden_changes.conf" in this workspace?

Could you check if temporary removing them, the pending changes calculation is fater?

Regards,

Carlos.

Share this post


Link to post
Share on other sites

Hi David,

Could you reach us via private message? I want to check if it's possible to have access to this repo reproduce and debug the problem with your same ignore/hidden_changes rules.

Regards,

Carlos.

Share this post


Link to post
Share on other sites

Hi David,

We sent you the NDA to be signed. Do you need something more from our side?

Regards,

Carlos.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...