question

OliverLennox-4187 avatar image
0 Votes"
OliverLennox-4187 asked emizhang-msft commented

Increase OneDrive Client Resource limit?

Hi There,

A bit of a strange question here, I have Googled around and can't find any answers but I'm hoping someone here might know.

We've used the SharePoint Migration Tool to upload a large number of files to SharePoint. Unfortunately there are some issues with the data and we now need to make a large amount of changes which is impossible to accomplish through the web GUI so we've instead turned to the OneDrive client to help. I've managed to sync the libraries to a development PC and we've created some scripts to make the fixes to the file/folder structure.

Everything is working well except, due to the volume of files, the OneDrive client is taking a very long time to synchronise changes and is slowing the process down. I've tried setting the OneDrive.exe process to high priority but this hasn't made much difference. I've also disabled the Windows Search Service and Windows Defender scanning to give the OneDrive client as much clear air as possible. Aside from the OneDrive client, no other software is installed on the development PC.

Despite all of this, the OneDrive client is using very little resource on the PC (0.5% CPU, 0.1% Disk, 0.1mps network). It is consuming a lot of memory but only about 75% of the available. It's taking around hours (10 - 12) to synchronise each batch run.

My question is, are there any developer (etc.) settings I can change on the OneDrive client to encourage it to use more resource, ideally maxing out everything the PC can give it? Ideally we want this thing synchronising as fast as it can physically sync.

Thanks very much in advance.

Olly

office-onedrive-client-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

emizhang-msft avatar image
0 Votes"
emizhang-msft answered

Hi @OliverLennox-4187,
As far as I know, OneDrive performance is more related to:

  • Speed of computer

  • Internet speed

  • Amount of files being synced

  • Size of files being synced

It seems there are no options in OneDrive to help you improve performance.
I also you check if your PC enable any performance mode.

Just checking in to see if the information was helpful. Please let us know if you would like further assistance.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

OliverLennox-4187 avatar image
0 Votes"
OliverLennox-4187 answered emizhang-msft commented

Hi emizhang,

I thought that might be the case. I installed the 64bit preview and this seems to have helped a little bit but not dramatically. I also tried adding more memory to the machine but this didn't help either.

I suspect that it's being throttled by SharePoint. The job I'm running is 100,000s folders and 1,000,000s files so my hunch is that it's going away to SharePoint for every directory (or even every file) and so you hit a limit of how many web requests you can make.

Could be wrong but it would make sense.

Thanks for your help anyway

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @OliverLennox-4187,
If you have any feedback or suggestion about this behavior, you can try to give a feedback to Microsoft about your requirement:
https://support.microsoft.com/en-us/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332
Microsoft values your opinion. Your feedback goes directly to our engineers and helps us shape the future of Microsoft products and services for all our users.

Hope the information is helpful.


0 Votes 0 ·