New issue
Advanced search Search tips

Issue 693796 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: May 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

Transfers from SMB share to an upload form are very slow

Reported by michaelm...@gmail.com, Feb 18 2017

Issue description

UserAgent: 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

 
Labels: Needs-Triage-M56
Labels: -Needs-Triage-M56 M-56 TE-NeedsTriageHelp
Components: -Internals>Network Internals>Network>HTTP
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.
To your point, I should mention that I re-tried this using NFS instead of SMB, and the bandwidth measurements are exactly the same.
Components: -Internals>Network>HTTP Internals>Network Blink>Storage>FileSystem
Labels: -Pri-2 Pri-3
Status: Untriaged (was: Unconfirmed)
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.
Components: -Blink>Storage>FileSystem Blink>FileAPI
Status: Available (was: Untriaged)
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.   
Project Member

Comment 8 by sheriffbot@chromium.org, Apr 6 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
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

Comment 9 by jsb...@chromium.org, Apr 13 2018

Status: Available (was: Untriaged)
Labels: -Hotlist-Recharge-Cold
Status: Archived (was: Available)
Archiving this, since it's unlikely to be investigated.
Components: Blink>Storage>FileAPI
Components: -Blink>FileAPI

Sign in to add a comment