Transfers from SMB share to an upload form are very slow
Reported by
michaelm...@gmail.com,
Feb 18 2017
|
||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Example URL: Steps to reproduce the problem: My setup is as follows: 1. OS X file server (Stores files) -> Windows client -> Linux server (receives uploads) 2. Windows client has OS X file server mapped to Z:\ via SMB 3. Windows client visits a website hosted on the Linux server. It has a bog standard file upload form. When the Windows client attempts to upload the file hosted on OS X to the Linux server, the transfer moves at ~12MB/s. What is the expected behavior? Transfers move at peak speeds through the network. What went wrong? I've tried this test in 4 different browsers on Windows 10 (all are latest versions) 1. Chrome - 10-12MB/s 2. Edge - 30-35MB/s 3. IE 11 - 30-35MB/s 4. Firefox - 7-9MB/s Chrome should be performing at least as fast as, if not faster than their Microsoft counterparts. Did this work before? No Chrome version: 56.0.2924.87 Channel: stable OS Version: 10 Flash Version: Shockwave Flash 24.0 r0
,
Feb 20 2017
,
Feb 21 2017
I'm guessing that we don't do anything special for uploads from SMB network shares, so this is probably something like alternating reads and writes instead of reading ahead while part of the upload is writing.
,
Feb 21 2017
To your point, I should mention that I re-tried this using NFS instead of SMB, and the bandwidth measurements are exactly the same.
,
Mar 6 2017
Punting this back to the triage queue - I don't think there's any reason to believe this is HTTP specific? (i.e., doesn't affect H2/QUIC), since they all use UploadDataStream. I suspect the perf issue is relayed to how we read data (pull data only once we've written everything we've previously read from the network share to the socket), and how windows buffers (Or doesn't) data from files being read over network shares. May just be best to make this as available and leave it at that - doesn't seem like a high priority, unless we're seeing issues with local files as well, though would be great if we did something better.
,
Mar 7 2017
,
Mar 9 2017
Network bug triager here. Following the advice in comment #5. The fact that other browsers are better shows we have room for improvement, and lack of overlap between reads and writes sounds like a highly plausible cause.
,
Apr 6 2018
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Apr 13 2018
,
Apr 13 2018
,
May 2 2018
Archiving this, since it's unlikely to be investigated.
,
Jun 15 2018
,
Jun 15 2018
|
||||||||||||
►
Sign in to add a comment |
||||||||||||
Comment 1 by ranjitkan@chromium.org
, Feb 20 2017