Onedrive for Business (formerly Skydrive Pro) has very high disk usage - SSD users beware!

vbimport

#1

Microsoft Onedrive for Business as its name suggests is Microsoft’s workplace version of its Onedrive cloud sync product. It works by syncing a folder between one or more PCs with the user’s online cloud storage, similar to Dropbox. My workplace recently migrated to Office 365, which came as part of the package along with Sharepoint for syncing Team site content.

After using it for just over a week, I found my work PC running a lot slower than usual, especially whenever I copied multiple files inside the Onedrive folder. At first I thought it may be a problem with Outlook as I know it becomes fairly disk intensive if it crashes checking over PST archives. To my surprise, the culprit was a combination of the processes ‘msosync.exe’ and ‘groove.exe’, which I found to be both involved with syncing Onedrive for Business and Sharepoint. Both showed fairly high CPU time usage and when I added the columns ‘I/O read bytes’ and ‘I/O write bytes’, both already clocked up several Gigabytes. Outlook on the other hand had just roughly 50MB read and written.

One other issue I noticed was that the Onedrive for Business icon kept showing several files remaining, even after many reboots and leaving for several hours. So I followed the steps on one of Microsoft’s official community threads to reset the cache. However, this turned out to be a total failure – My PC got so disk intensive that it was barely usable (my work PC doesn’t have an SSD) and after 3 hours, I decided to stop syncing all folders, reset the cache and add them from scratch to a new area. This time the PC was still very disk intensive with the HDD LED solidly lit for several hours until everything finished syncing and then the PC performance returned to normal again.

As I and several work colleagues still had the issue of intensive hard disk activity each time files were placed in either a Onedrive or Sharepoint folder, I decided to try an experiment. I rebooted my PC, made sure Onedrive showed “Up to date” and copied in a folder mostly consisting of Microsoft Publisher files - 909MB consisting of 609 files and 59 folders. Windows 8.1 and Office 2013 (which includes Onedrive for business) had all Windows updates installed to date (14th April 2014.)

As I expected, my PC’s hard disk flashed way fairly steadily after this copy operation and the PC was noticeably slower, much like running a full virus scan in the background. To get a rough comparison against other applications I use, I kept every application I use open for the several hours it took for Onedrive to sync that folder. Once it eventually complete, I wanted to see how it compares with BitTorrent Sync, which is a free folder sync utility to sync between PCs. So I set up a separate folder in BitTorrent sync, set up a matching folder on another PC and copied in that same folder of 909MB. Despite BitTorrent Sync taking just a few minutes to sync that folder to my other PC, the hard disk LED flashed a lot less than at any stage over the several hours it took Onedrive to sync the same content.

Here’s the resulting usage and CPU time, against a handful of other processes:

Between msosync.exe and groove.exe, they performed just over 510GB of read activity and about 26GB of write activity just to sync 909MB! :eek: That’s not to mention the near 73 minutes of CPU time involved (PC CPU is a Core2Duo E8400 @ 3GHz).

For comparison, BTSync.exe (BitTorrent sync process) performed just over 1.8GB of read activity and just 28.6MB of write activity to sync the same amount of content, although with the data synced to another PC instead of the cloud. While it did use 7.5 minutes of CPU time, it was running since I booted the PC, so most of that CPU usage built up over the day before I ran this test, as I’m fairly sure it took about 3 minutes to sync the content with the other computer. Although I haven’t tested Dropbox or Google Drive with this content, I know from experience that they don’t cause intensive hard disk activity when syncing content.

So what about syncing from the cloud back to the PC? When I returned home, I booted up my laptop which has Onedrive for Business installed and let it sync that folder in (along with ~20MB of work copied into Onedrive at the end of the day). While my laptop does have an SSD, the syncing process did manage to cause the disk activity LED to blink regularly and the CPU fan to spin up regularly despite leaving the laptop idle. It took about an hour to sync and the following is the result:

While nowhere as severe as syncing to the cloud, these two processes still managed to cause about 18GB of read activity and about 4GB of write activity. That’s still a hefty amount of disk access just to sync in 909MB (plus about 20MB of other data) from the cloud. The CPU usage between the processes was 6.5 minutes, which is quite a lot considering this laptop has a fairly powerful CPU (Core i5 3320M).

So basically for anyone planning to use Onedrive for Business or Sharepoint folder syncing, an SSD is pretty much essential for each PC it is used on. The SSD would also need to handle a lot of write activity, considering my test showed it wrote nearly 30 times as much as what was copied into the folder (1x for the file copy operation and another 29x as Onedrive sync’d to the cloud) and roughly 4 times as much when syncing in from the cloud.


#2

Very Interesting results Sean thank you for the infomation.:flower:


#3

Unreal, that can use up the write cycles pretty fast LOL.:wink:


#4

Down right criminal if you ask me


#5

[QUOTE=bean55;2725358]Down right criminal if you ask me[/QUOTE]I would agree with that time for MS to go back to the drawing board from the looks of things.


#6

Some extra cycles for the NSA???:eek:
On a serious note,this is really outrageous!:Z
Syncing to Onedrive for Business wears your hd or ssd out!!:eek:


#7

I found your website as a result of searching Google for answers. I’ve been managing a company’s IT for them recently and one of their machines pretty much died, it was on it’s last legs and after looking into it I noticed OneDrive for Business was literally “pounding” the hard drive. They had 1.5GB of data but the initial sync was doing over 200GB reading/writing EACH.

As they’d been using it for the last couple of years I’m certain this has caused the early death of this hard drive. Another user in the company has an 18 month old laptop and this is also showing signs of hard drive failure.

I’ve spoken to Microsoft this morning about this and their support though willing to help have no idea how to proceed. The problem could be with the standard OneDrive as well and that worries me because it’s included on Windows 8/8.1 and all those machines could be getting damaged because of this and I don’t think it’s right especially since you made this post 8 months ago and it still hasn’t been fixed.

I’m going to email their USA CEO in a moment with my findings and refer to this post, it seems like the only way to get something done. As for the company I’m looking after I’ve moved them over to software called Syncthing (http://www.syncthing.net) and installed a copy on their server as well, I’m sure you’ll find it useful.

Cheers


#8

Welcome to Myce

I recently re-tested this about a month ago and unfortunately this problem is still on-going with both OneDrive and SharePoint.

We stopped using OneDrive altogether as it kept intermittently crashing, requiring an extremely resource intensive fresh sync like the first post above shows. After having to do this by remote desktop with a work colleague while I was on vacation, I decided it was time to finally give up on it. At the moment, I’m currently using Google Drive. From what I recall, with roughly a 2GB fileset, Google Drive wrote 2GB and read 2GB during the initial sync and barely used any CPU usage during it (I think a minute or two.) My other work colleagues that don’t need off-site access were reverted back to Windows Server network paths, which is not resource intensive.

As for SharePoint, we try to minimise its use, such as where everyone including teleworkers need access to a file set, since adding multiple files will cause everyone’s PC without an SSD to stutter until the syncing completes.

Thank you very much for the suggestion on Syncthing as I don’t recall hearing about it before and nice to see that it’s Open Source. :cool:


#9

Yeah this company had no end of problems with keeping files in sync, it’s more hassle than it’s worth and is by far the worst sync software I’ve ever had to deal with. This company are also on the Enterprise plan and the lack of support is astonishing, the fact that this major issue has been going on invisibly for several months slowly destroying hard drives all around the world is disgusting :expressionless:

Syncthing is an amazing product and you’ll quickly see the benefits of this program over all other solutions at the moment, the open-source is a big plus and the developers are very pro-active even though they have full time jobs. Keep in mind we’ve only been using the software for a couple of weeks!

I’ve shared a couple of posts over there to help people getting set up with Syncthing, for this company I had to set it up on Windows devices and a CentOS server in a data center. It’s all under the same username as I use here so might be worth you checking out.

Cheers