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

Poor transfer speed, goes faster with CP #429

Open
evildemons opened this issue Nov 30, 2024 · 9 comments
Open

Poor transfer speed, goes faster with CP #429

evildemons opened this issue Nov 30, 2024 · 9 comments
Labels

Comments

@evildemons
Copy link

I use default settings, when I choose to copy via webgui it takes a super long time but when I use "CP" in Linux it goes much faster.

  • Version (cloudcmd -v): v18.3.0
  • Node Version node -v: v18.19.1
  • OS (uname -a on Linux): Linux backup-server 6.8.0-49-generic Tooltips on keyspanel start with lower letter case. #49-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 4 02:06:24 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
  • Browser name/version: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
@coderaiser
Copy link
Owner

Is from/to paths you use are the same? Could you please provide video or more details?

@evildemons
Copy link
Author

Is from/to paths you use are the same? Could you please provide video or more details?

I took pictures as it is easier, a few seconds may be wrong.
The test I did is on the same server and the same folder.

SSH
Webgui01
Webgui02

@coderaiser
Copy link
Owner

Different ways of copying: second with progress bar.

@evildemons
Copy link
Author

Different ways of copying: second with progress bar.

Is there anything that can be improved? I've been thinking of moving over 30TB, but it will take many weeks to move over when it's so slow.

It is also not possible to log out from the page.

@coderaiser
Copy link
Owner

It is also not possible to log out from the page.

While copying?

Is there anything that can be improved?

PR’a are welcome

@evildemons
Copy link
Author

It is also not possible to log out from the page.

While copying?

I don't mean when I'm copying but it doesn't work.
When I try to log out, it goes back to the root folder and enters more hands.

Is there anything that can be improved?

PR’a are welcome

I'm thinking about whether you should recode it instead, so that it uses Linux screen (cp) instead and then checks the size first of the file and then checks the second file that is being copied, so you can see the percentage when it's finished.

And the hash on the file is also checked, so everything has gone right.

I would like that when you copy things that it sort of puts in a task, so that you can do other things instead of having to wait until it has finished copying before you can do anything else.

https://github.com/coderaiser/cloudcmd/blob/master/server/fixture-user-menu/io-cp-fix.js
Is this what is used to copy?

@coderaiser
Copy link
Owner

copymitter is used, that is interesting idea, you can implement your idea as separate module with the same interface, and we can opt out this feature. The only thing it will work only on Unix, but the idea is good

@evildemons
Copy link
Author

copymitter is used, that is interesting idea, you can implement your idea as separate module with the same interface, and we can opt out this feature. The only thing it will work only on Unix, but the idea is good

I can try to create it as a module, haven't coded much within node js. I mostly code in C#, php.

There is hardly anyone who uses this for Windows, for me the obvious choice is Linux.

@coderaiser
Copy link
Owner

There is hardly anyone who uses this for Windows, for me the obvious choice is Linux.

I have no access to any Windows computer, but right now Cloud Commander works both on Unix and Windows, anyways on Windows other built-in cli tool can be used for copying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants