Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PUT of large files via oc-client inefficient with standard chunksize in fast networks #21696

Closed
kiu-ball opened this issue Jan 13, 2016 · 7 comments

Comments

@kiu-ball
Copy link

Steps to reproduce

  1. Take a large File (>1GB) in a fast network environment (>1GBit)
  2. Upload it to your oC with oc-client using standard chunksize
  3. Watch transferrate and server load
  4. Set the chunksize to a higher value (export OWNCLOUD_CHUNK_SIZE=51248800 for example) and repeat step 2 and 3

Expected behaviour

ownCloud desktop client performs well while uploading large files in a fast network. (~100MB/s)

Actual behaviour

ownCloud desktop client performs bad while producing a high server load with standard parameters. (~10-20MB/s)
If you set the chunksize to a higher value the transfrerate raises while the server load drops. (~90-100MB/s)

Server configuration

openSUSE 13.1 (Bottle) (x86_64)

Web server:
Apache/2.4.16

Database:
PostgreSQL 9.4.5

PHP version:
5.6.9

ownCloud version: (see ownCloud admin page)
8.2.2

Updated from an older ownCloud or fresh install:
Updated

List of activated apps:
Standard

Are you using external storage, if yes which one: local/smb/sftp/...
NFS

Are you using encryption: yes/no
no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP

Client configuration

Operating system:
OS X 10.10.5

Client Version:
2.1.0 (build 2944)

@PVince81
Copy link
Contributor

@dragotin

@MorrisJobke
Copy link
Contributor

This looks clearly like a client enhancement.

I guess this is the stuff that @michaelstingl talked about yesterday. Right?

cc @butonic

@MorrisJobke
Copy link
Contributor

cc @DeepDiver1975

@michaelstingl
Copy link

I guess this is the stuff that @michaelstingl talked about yesterday. Right?

==> @felixboehm

@DeepDiver1975
Copy link
Member

from my pov the client could learn the chunk size depending on the network quality.

client 'issue' -> closing

@kiu-ball
Copy link
Author

Moved > owncloud/client#4354

@lock
Copy link

lock bot commented Aug 6, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants