Slashdot Mirror


Microsoft's OneDrive Web App Crippled With Performance Issues On Linux and Chrome OS (theregister.co.uk)

Iain Thomson, reporting for The Register: Plenty of Linux users are up in arms about the performance of the OneDrive web app. They say that when accessing Microsoft's cloudy storage system in a browser on a non-Windows system -- such as on Linux or ChromeOS -- the service grinds to a barely usable crawl. But when they use a Windows machine on the same internet connection, speedy access resumes. Crucially, when they change their browser's user-agent string -- a snippet of text the browser sends to websites describing itself -- to Internet Explorer or Edge, magically their OneDrive access speeds up to normal on their non-Windows PCs. In other words, Microsoft's OneDrive web app slows down seemingly deliberately when it appears you're using Linux or some other Windows rival. This has been going on for months, and complaints flared up again this week after netizens decided enough is enough. When gripes about this suspicious slowdown have cropped up previously, Microsoft has coldly reminded people that OneDrive for Business is not supported on Linux, thus the crap performance is to be expected. But when you change the user-agent string of your browser on Linux to match IE or Edge, suddenly OneDrive's web code runs fine. The original headline of the story is, "Microsoft loves Linux so much, its OneDrive web app runs like a dog on Windows OS rivals".

57 of 114 comments (clear)

  1. Let's cause problems by Anonymous Coward · · Score: 2, Funny

    Everyone on Windows change your user agent to say Linux.

    1. Re:Let's cause problems by Narcocide · · Score: 1

      Not that anyone on Windows could figure out how, but it would be hilarious if it happened.

    2. Re:Let's cause problems by SharpFang · · Score: 1

      Edge/12.10136 (Linux)

      --
      45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
  2. Now "fixed" by Anonymous Coward · · Score: 5, Informative

    Interestingly, after the "oversight" was made public the issue is "fixed" by Microsoft.

    See the first comment: https://news.ycombinator.com/item?id=13932226

    1. Re:Now "fixed" by Anonymous Coward · · Score: 3, Insightful

      A bug in Chrome? Fixed by a change in the user agent string to make the browser look like Internet Explorer or Edge?

      You don't belong on the internet. Go back to your job at Radio Shack.

    2. Re:Now "fixed" by fisted · · Score: 3, Funny

      Lets give them the benefit of the doubt

      Again?

    3. Re:Now "fixed" by CrashNBrn · · Score: 1

      Which is quite possible, considering that Blink was forked from WebKit ~4 years ago, and use separate JavaScript engines: Chrome's V8 v Safari's Nitro.

    4. Re:Now "fixed" by im_thatoneguy · · Score: 2

      Go back to your job at Radio Shack.

      Speaking of potential Radio Shack employees... changing the user string is a perfectly plausible fix.

      Let's say you have a bug that creates an expensive UI watch thread. When you change your user agent the UI library will deliver the wrong version of the javascript that either is in a different commit that doesn't have the bug or the script fails to execute on the 'wrong' platform, raises an error to the console and dies (and no longer wasting resources). Sometimes a javascript thread crashing and being killed speeds up a website. You lose some piece of functionality you didn't realize the website was trying to provide and your experience greatly improves. That's the entire concept behind adblockers: trim superfluous javascripts to improve privacy and performance.

    5. Re:Now "fixed" by thegarbz · · Score: 1

      there's a bug in Chrome

      Yeah, it dared to tell Microsoft that it was Chrome. If it had just shut up and pretended to be Edge then nothing would have happened.

    6. Re:Now "fixed" by Narcocide · · Score: 1

      Well, first of all, it's a plausible fix but only for really badly-written javascript. Even back when it was necessary sometimes, it was still ill-advised to serve a different copy of the page to every browser. You're much better writing browser-agnostic code. Yes, they do have a common denominator of functionality that makes that possible if you're competent. Second of all, even if true, all this proves is they wrote ONE case for IE and broke everything else on purpose. In summary, your argument just takes the conversation back to square one: they obviously bungled this on purpose. It's that obvious to everyone who's actually done browser compatibility that they're forgetting to mention it, which is why you missed out on the significance.

    7. Re:Now "fixed" by Narcocide · · Score: 1

      Yea, but UA string matching/parsing IS NOT "feature recognition." Feature recognition is done by testing individual functions and objects for known behaviors. Be really careful about being a non-coder reading reddit posts by novice coders and thinking that means you know stuff about how code works.

    8. Re:Now "fixed" by SharpFang · · Score: 1

      Are you sure?

      Firefox/FreeBSD anyone? Or not sending UA string at all? Or Lynx/MS-DOS UA string?

      TFA claims it was just a failsafe/fallback for "Other/Unsupported". I'm honestly curious.

      --
      45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
    9. Re:Now "fixed" by im_thatoneguy · · Score: 1

      Hey just to rub it in here is the official Microsoft statement on the bug.

      Edgar explains that it needed to detect the browser being used because not every browser supports prefetching. While a technique it used worked with Safari on Mac, it hung for Chrome on Linux.

      "The second technique does not hang on Safari on Mac, but it does on Chrome on Linux. We will definitely ensure that more Linux testing is done."

      What do you know, it was a compatibility issue where different solutions were used on different browsers and changing your User String would result in a different code path working better.

  3. Only the beginning by johanw · · Score: 2

    The next step qill be that it becomes deadlow if you're still using XP or windows 7, and show a popup that for a decent performance you ned to downgrade to winspam 10.

    1. Re: Only the beginning by Archfeld · · Score: 1

      You are not a user, you are a developer. Users at the place I work for don't require Administrator to do anything, don't install anything, they just login answer email and use the programs that are installed and fully supported by the IT dept. Their machines reboot at night when it is scheduled by IT just like they always have. I've found that they don't even know what version of OS they are on as long as the stuff they need for day to day work functions, e.g. email, and the apps that are put there as part of the software push. Most of them are very happy with Windows 10 because they got shiny new hardware with it and it is faster than their old stuff was. The small slice of developers and QA folks that do require additional access have been less than happy in many cases, some even valid, though some of the grief is just M$ haters, who are gonna hate no matter what...

      --
      errr....umm...*whooosh* *whoosh* Is this thing on ?
    2. Re:Only the beginning by Anonymous Coward · · Score: 1

      It's still better than windows 10.

    3. Re: Only the beginning by ls671 · · Score: 1

      Nope, at a 3 letter agency obviously. He never said that his organization was using windows 10, just that "users" loved it.

      --
      Everything I write is lies, read between the lines.
    4. Re: Only the beginning by rtb61 · · Score: 1

      "M$ haters who are gonna hate no matter what", are you serious, you have to be kidding, Seriously, there is so much to hate about M$, as a piece of shit privacy invasive pack of ass hats, there is no need to bother with "no matter what", there are plenty of reasons to well and truly loathe that pack ass hat.

      In this case, the claim is poor little M$ could not afford to buy one Linux computer to test it before putting it out, way beyond their tiny little budget, pity the poor softies. There are plenty of reasons to hate M$, none need to be made up.

      --
      Chaos - everything, everywhere, everywhen
    5. Re: Only the beginning by Archfeld · · Score: 1

      I can't argue the multitude of reasons to hate M$, but the fact that a free service they are offering doesn't play well with their competitors products, and that they did not spend enough money to ensure that it did seems a bit over the top. That they bothered to even ensure/provide that it functioned at all seems sort of a good thing, let alone tuned it to run well. Do you think Chrome(google) or Apple is less invasive on the privacy side ?
      As for "could not afford to buy a Linux computer", I've never seen one myself either. Plenty of intel/amd hardware running Linux, lots of Solaris, Tandem, DEC, IBM, CRAY, and even some RedHat branded hardware, but never a Linux computer.

      --
      errr....umm...*whooosh* *whoosh* Is this thing on ?
  4. Logic? by Anonymous Coward · · Score: 2, Interesting

    I don't know much about this cloud stuff, but there must be a shitload of these online storage services, and for some reason Linux users had to choose Microsoft.

    1. Re: Logic? by Zero__Kelvin · · Score: 1

      They likely have a job at a real company that is not located in their mother's basement. I used Google docs for a bit. I didn't want to, but that's how they do things at that company.

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  5. Same old same old by Tough+Love · · Score: 1

    Same old Microsoft, same old thugs, nobody should forget that.

    --
    When all you have is a hammer, every problem starts to look like a thumb.
  6. homily by SadOldTechie · · Score: 2

    "Never attribute to malice that which is adequately explained by stupidity". Not to say MS aren't often malicious ( or "competitive"), but having used a pile of their software today I can certainly say there's much that's badly written.

    1. Re:homily by johanw · · Score: 5, Funny

      History taught us that if one deals with MS, it should be "Never attribute to stupidity that which is adequately explained by malice".

    2. Re:homily by Anonymous Coward · · Score: 2, Interesting

      "Never attribute to malice that which is adequately explained by stupidity"

      I love how people will use this stupid fucking quote to explain away any nasty shit, no matter how blatantly obvious it was deliberate.
      Please explain to me how this could possibly be an accident. You're the second poster to pretend this was somehow a mistake.
      Oops...my fingers slipped and I accidentally typed "if (userAgent != MS) socket.throttleLikeAMoFo();" in exactly the "wrong" place.

    3. Re:homily by rickb928 · · Score: 5, Insightful

      Actually, I deal with an internal web app that does something similar, poor performance with diffing agent strings being presented, between IE9/11, Chrome, Safari, and Firefox browsers hitting it and getting very very different experiences.

      The cause is attempts at code optimizations, some not done well at all. Despite their best efforts, none of our tech teams can blame some grand conspiracy with Microsoft, since no motive exists for this.

      But our users find evidence when IE works so much better than, for instance, Chrome. Until a month ago, that is, when the JVMs got to be working properly, and woot, now IE is the slog despite working just as before, and Chrome is blazingly fast. Now it's a grand conspiracy to kill IE use at the enterprise level.

      Ya can't win, ya know. whatever you do, if the browsers get different performance results, you're doing it deliberately, because there is some reason...

      More reason to avoid web programming. Servicing is still a sweet spot around here.

      --
      deleting the extra space after periods so i can stay relevant, yeah.
    4. Re: homily by Zero__Kelvin · · Score: 1

      That works on a case by case basis, but when taken as an aggregate ... NO COMPANY is as incompetent as Microsoft would have to be to be deemed malice free. See also the Halloween Documents on ESRs site.

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    5. Re:homily by thegarbz · · Score: 1

      Actually the correct quote reading MS would be : "it's malice"

  7. Google MyDrive by neoRUR · · Score: 1

    I think the same ting happens when using Google Drive on Windows.

  8. Meet the new MS... by bazmail · · Score: 4, Insightful

    .... same as the old MS.

    Drop OneDrive and use something that doesn't disrespect your choices.

  9. Re:Microsoft == dumbass by cheater512 · · Score: 4, Insightful

    More likely the Program Manager is saying "Good work guys! It works perfectly."

    There isn't any legitimate reason for the useragent to be screwing it up like this.

  10. Re:Microsoft == dumbass by ColdWetDog · · Score: 4, Insightful

    The job ain't done until Linux won't run

    --
    Faster! Faster! Faster would be better!
  11. Old news by scumdamn · · Score: 2

    This issue was discussed on /r/linux two days ago and it was fixed yesterday.

    1. Re:Old news by thegarbz · · Score: 1

      So what you're saying is record time for a Slashdot post.

  12. Re:What if you were a shulb here on an H1-B? by ls671 · · Score: 1

    Well if you were a schlub, it could make sense that you do just the opposite instead. So it the case you mention, slow windows machine down instead and pretend it was a mistake if found out.

    --
    Everything I write is lies, read between the lines.
  13. Flying the Antitrust Buffet by ytene · · Score: 2

    Microsoft have plenty of experience at being subject to judicial oversight and investigation, so the chances of any smoking gun being found in this specific case seems completely unlikely.

    However, if anyone actually captured reliable evidence that a change in the User Agent string could generate such remarkably different outcomes, then there is a question to answer here. Adjusting the performance of one product [their Cloud offering] to favour another Product [the combination of Windows and Edge] would appear to fall pretty close to the definition of "tying", something that Microsoft have direct experience of - they were fined, for example, for tying Windows Media Player to Windows - so it would be interesting to see what could have happened had the outage been more widespread or prolonged.

    I think this sort of activity is becoming more widespread with time, not less. Despite the protections apparently afforded us by the law, we see far more bending of the laws than ever before. It's as though we've entered the "Scooby Doo Era" - "Yes, and I would've gotten away with it, too, if it wasn't for you pesky kids!!!"

    To which I'd add, "Nice work, kids..."

  14. Re:Microsoft == dumbass by Bert64 · · Score: 5, Insightful

    Because it's not a bug to fix, if they're checking the user agent string and explicitly throttling performance then this clearly must be intentional sabotage to try and make competing platforms look bad.

    --
    http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  15. Well, surprise-surprise! by Doloresanto · · Score: 1

    What else were you expecting from an ill-bred company?

  16. Re: Microsoft == dumbass by TheMeuge · · Score: 1

    Why in the world would you be using a 3rd party service? Putting together a Synology box is trivial, and it can back up to most cloud services with client-side encryption. You get storage space that's limited only by your hard drive space and the freedom and security of your own cloud service.

  17. Give back to Caesar what is Caesar's.. by jimtheowl · · Score: 2

    and to Microsoft what is Microsoft's.

    This should not be a surprise and is nothing new.
    Don't expect Microsoft to look at anyone's interests but their own.

    1. Re:Give back to Caesar what is Caesar's.. by lucm · · Score: 1

      Can you name a company that looks at anyone's interests but their own?

      --
      lucm, indeed.
    2. Re:Give back to Caesar what is Caesar's.. by jimtheowl · · Score: 1

      Most do. I did not infer otherwise.

    3. Re:Give back to Caesar what is Caesar's.. by jimtheowl · · Score: 1

      It can be argued that it is working, albeit in a way to make it appear that Windows is working better.

  18. Not unexpected by Lead+Butthead · · Score: 2

    Microsoft LOVES Linux!

    ... specifically, M$ loves to have it disappear.

    --
    ELOI, ELOI, LAMA SABACHTHANI!?
  19. Re:Microsoft == dumbass by Anonymous Coward · · Score: 1

    Actually OneDrive is a PoS in general. We have it at work, and when it comes to the sync client, I have to go around to each computer for every user and do this to get it working the first time (Relevant post here):

    1. Kill all instances of any Office application.

    2. Clear out any office related credentials saved in the Credential Manager.

    3. Go to %USERPROFILE%\AppData\Local\Microsoft\Office\ and delete the "Spw" and "16.0\OfficeFileCache" subdirectories.

    4. Launch some other office program (Word / Excel / etc.) and have the user sign in.

    5. Open OneFrive (Office365) in the browser, and start the sync process from it.

    Then it works, even after a reboot. What's worse, it's the recommended method for fixing this issue: as seen here and here. By a Microsoft mod of all people, in 2015!!!!

    That's really fun to have to do over and over. But of course they can't fix a problem that prevents the damn sync client from working. Oh no, apparently they are too busy breaking it on purpose to have a working product.

    Well at least I know why it's broken now.....

  20. Re:Similar experience with Microsoft Outlook by lucm · · Score: 1

    I also have weird problems with outlook.com on non-Windows machines.

    --
    lucm, indeed.
  21. Re:Microsoft == dumbass by RuffMasterD · · Score: 1

    Yeah, I tested. Suddenly my laptop battery life became comparable between MS Edge and competing OS/browser combinations, thus breaking compatibility with MS benchmarks. When I contacted MS about the issue, Steve Ballmer became mad and threw a chair at me. That cause hardware problems, from which I am still recovering. Then their lawyers sued me for defamation, violating their EULA, assault with intent to kill, and lost profits resulting in the layoff of thousands of workers. Posting AC for obvious reasons. Long story short, use Edge on Windows.

    --
    Human Rights, Article 12: Freedom from Interference with Privacy, Family, Home and Correspondence
  22. Everything old is new again... by emag · · Score: 1

    This isn't the first instance of this. Look at any OWA instance or ASP(.net) site. Limited functionality when being honest about the browser, enhanced (working) functionality when you claim to be a Microsoft browser. So they reused old code...

    --
    "The urge to save humanity is almost always a false front for the urge to rule." --H.L. Mencken
  23. Re:Looks like Trump isn't going to reform H1Bs! by Narcocide · · Score: 1

    You haven't been watching the news lately, have you? Basically here's what happened a couple weeks ago when they tried to stop it: We found out that the only force less stoppable than Trump is Microsoft.

  24. Re:What would you do? by goose-incarnated · · Score: 1

    If you are a professional programmer and were asked to do this, what would you do?

    I wouldn't do it.

    You do what Mel did. Read the story of Mel.

    --
    I'm a minority race. Save your vitriol for white people.
  25. Why is this even news? by Torp · · Score: 1

    People have no long term memory, or believe the marketing drones?

    Everything Microsoft puts out is made to give an advantage to Windows, even if it seems alternative OS friendly.

    Do you think the Linux subsystem is available out of friendliness? On the contrary, it's there so people can migrate their Linux stuff to Windows. I bet there are minor subtle incompatibilities that are easily fixed but then make your stuff windows specific too.

    --
    I apologize for the lack of a signature.
  26. Re:so, i wonder if there are perhaps some more dat by knorthern+knight · · Score: 1

    > So if you have say 100 users and 3 use linux then would
    > you devote 50% of your resources to service those 3 users?

    I know this is Slashdot, but please RTFA. Microsoft *DELIBERATELY* *WENT* *OUT* *OF* *THEIR* *WAY* to add UA-parsing code which then slowed down non-MS users. They actually expended additional effort to sabotage non-MS users.

    --

    I'm not repeating myself
    I'm an X window user; I'm an ex-Windows user
  27. yup, as bad as it sounds by mbaGeek · · Score: 1

    Microsoft greatly improved the smb protocol between Server 2008r2 and Server 2012. Increased performance of smb and encryption are also selling points Microsoft hammers to encourage upgrading from Windows 7 to Windows 10.

    BUT now that I've shown my "Microsoft certified professional" bias, I actually read the article: this was within a web browser, and most damning = "But when you change the user-agent string of your browser on Linux to match IE or Edge, suddenly OneDrive's web code runs fine. "

    So this really is as bad as it sounds - ...

    --
    It ain't what they call you. It's what you answer to. http://mylyceum.us/
  28. Re:Microsoft == dumbass by SharpFang · · Score: 1

    It seems it's not active throttling, just fallback to failsafe set of features; it's not the issue of specifically "Firefox+Linux", it's the general "Other".

    Instead of feature detection, they sniff the UA string and upon failing to find a "supported browser" serve code for "unsupported" which is woefully unoptimal.

    So, not evil, just lazy and incompetent.

    --
    45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
  29. Re:What would you do? by SharpFang · · Score: 1

    "Ordnung ist Ordnung" ceased to be a valid devence since Nuremberg.

    Professional doesn't take an unethical job.

    --
    45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
  30. Re:Microsoft == dumbass by paulatz · · Score: 1

    If you were using windows you would get it not throttled, but covered in ads. The "choice" is yours.

    --
    this post contain no useful information, no need to mod it down
  31. Re:Microsoft == dumbass by zeugma-amp · · Score: 1

    So, not evil, just lazy and incompetent.

    Typical Microsoft then. Why do it right when you don't have to?

    --
    This is an ex-parrot!