-
Notifications
You must be signed in to change notification settings - Fork 162
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
Using mainframer with rsync and local machine on Windows #180
Comments
Well, we don't use Windows, so I'm not sure about the specific issue. |
Syncing the whole build folder is necessary because it contains generated code which is used by IDE. I think zipping all build folder and transmitting it as a single file can give some boost, but I am not sure. |
From our experience zipping won't really help in compare to rsync compression, but I'd definitely try Please report back with results! |
@artem-zinnatullin thank you, but tried already with no success ( |
Changing compression level doesn't affect speed significantly. The main reason (possible) why zipping could help is moving responsibility of creating huge number of files (hai ntfs) to native zip-tool realization. I am not sure that this could actually help. |
You can try No changes required for remote machine, unless you want to squeeze more performance with |
It would be great to have some kind of status report what's taking so long. Is it the compression or the network? Even on my local network a full sync of a larger project takes
|
It looks like a sync so slow because a lot files are syncing and antivirus is enabled (I have no permission for disable). Sync with "scp + tar + gzip/pigz" is faster a lot, but in that case unpacking takes too much time. |
Great, thanks for checking Would be super great if you could eliminate Antivirus from the measurement, it would really help other users to get a sense of how badly it affects the performance. |
@PaulWoitaschek we've played with speed/duration logging in rsync, but design of its protocol doesn't let it calculate duration upfront (I know it's not directly related to your question), I also don't think we can pull statistics about compression out of it (only by hooking into its code and building custom binary I guess). To measure impact of compression you can try to disable it by setting it to It's also not clear if you're talking about Windows or not btw :) |
I'm on Mac (client) to Linux (host) |
Hi!
We use mainframer for building one big android project. And we use rsync for copying files from local to remote and back. The issue is sync from remote to local is too long (about 90 seconds) when local machine is on Windows. If local machine is on Mac copying takes about 5-10 seconds.
I guess it because a lot of files are copying and NTFS is slow in that case unlike Mac OS, but I'm not sure.
Did anybody have similar problems ? Any ideas ?
Thank you.
Some stats:
The text was updated successfully, but these errors were encountered: