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

Copy Objects to minio is unusually slow #2196

Closed
deekoder opened this issue Jun 26, 2017 · 13 comments
Closed

Copy Objects to minio is unusually slow #2196

deekoder opened this issue Jun 26, 2017 · 13 comments
Milestone

Comments

@deekoder
Copy link
Contributor

deekoder commented Jun 26, 2017

Copy objects to minio is unusual slow

Expected Behavior

Faster?

Current Behavior

./mc cp --recursive folder/ local/bucket/ is running around 4.5 MB/s
dd if=/dev/zero of=bigfile bs=1m count=1024
./mc cp bigfile minio/test is running 128MB/s

Context

The read speed is around 50-70 MB/s . Files under the bucket are something like BucketName/MediaID/Quality/MovieName/Files

Your Environment

Version: 2017-05-05T01:14:51Z
Supermicro SuperStorage 6028R-E1CR12L
CPU : model name : Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
CORE : 40
Memory : 512 GB
Disks : 12 * 4TB
Ubuntu 16.04

@deekoder
Copy link
Contributor Author

Filing for minio/minio#4580

@deekoder deekoder added this to the Current milestone Jun 27, 2017
@deekoder deekoder modified the milestones: Current, Futures Sep 27, 2017
@curantes
Copy link

curantes commented Oct 3, 2017

I would also like this to be fixed for the mirror command as well. I see low performance when running mirror to sync from a minio cluster to a filesystem.

@vadmeste
Copy link
Member

ETA: Oct 13

@jonaz
Copy link

jonaz commented Nov 14, 2017

Status on this one? Im moving 1TB of data at 1MB/s speed with mc mirror command :(
Will take 9.25 days :(

@harshavardhana
Copy link
Member

Status on this one? Im moving 1TB of data at 1MB/s speed with mc mirror command :(
Will take 9.25 days :(

what your client to server bandwidth? @jonaz

@harshavardhana
Copy link
Member

what your client to server bandwidth? @jonaz

Also can you perform iperf -s on and iperf -c to test the effective bandwidth?

@jonaz
Copy link

jonaz commented Nov 14, 2017

@harshavardhana
iperf client log

------------------------------------------------------------
Client connecting to prod-s3stor01, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 10.XX.XX.XX port 60796 connected with 10.XX.XX.XX port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  9.74 GBytes  8.37 Gbits/sec

iperf server log

------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 10.XX.XX.XX port 5001 connected with 10.XX.XX.XX port 60796
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  9.74 GBytes  8.36 Gbits/sec

@harshavardhana
Copy link
Member

harshavardhana commented Nov 14, 2017

[ 4] local 10.XX.XX.XX port 5001 connected with 10.XX.XX.XX port 60796
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 9.74 GBytes 8.36 Gbits/sec

@jonaz are these 1TiB files really small like image files?

@curantes
Copy link

@harshavardhana yes these files are small mostly images and pdf documents.

@jonaz
Copy link

jonaz commented Nov 15, 2017

@harshavardhana yes as @curantes said. We work together.

@vadmeste
Copy link
Member

@jonaz, @curantes, I wrote this PR, #2289, which not merged/official yet.. but you can test it. It should accelerate mirroring or copying multiple times. I would be happy to assist you.

@harshavardhana
Copy link
Member

This is going to be fixed by #2289

@lock
Copy link

lock bot commented Apr 25, 2020

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 Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants