-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Upload is slower than bandwidth available #162
Comments
Sorry for the late reply, I somehow did not receive a notification for this issue. |
Hello, no we do not use encryption because I had read that it would slow down the speed. Would you have any advice to recommend to me? |
According to the speedtest, your connection would be a 10GBit connection, both at the receiving end, as well as at the sending end. Is that correct? Most providers only offer 100MBit or 1GBit for VPS instances. 100MBit would equal to 12MB/s, please check if that might be the case. Otherwise please upload a file with a different method (e.g. SSH) and compare the upload speed. Also please do a benchmark on how fast your VPS does SHA1 hashes. You can do this with the command I just tested it on my laptop and I got an upload speed of 320MB/s for an 8GB file. |
I will close this issue for now, as it seems to be a problem with your hardware instead of Gokapi. If you still experience the problem and it can be certain that it is Gokapi, please comment here so I can investigate further. |
Hashing and bandwidth looks good. How long does it take to upload a file through SSH or FTP to the server? |
You are running all the tests on the server. Can you confirm that you are actually uploading the file to Gokapi from the same machine that runs Gokapi without any other device? |
Yes all the tests were done on the vps where there is gokapi. The upload to gokapi is from my pc to the vps (gokapi) |
Yes, however you have to test the upload connection from your computer to the server. Try uploading a file to it from your computer to the server by other means, that will give you the speed that is possible. |
Hm so at least 70MB/s should be possible. Have you tried uploading files via FTP or other services? If yes, what speed are you getting there? |
Okay so if I read that right, the transfer speed from your computer to the server is 28MB/s? |
Yes that's right, but for gokapi I don't exceed 12mb |
Does your connection have high latency (e.g. satellite connection)? In that case it might help if you increase the chunksize... In the main menu please open your browser console (Chrome: Shift + Ctrl + J) and enter the following:
Then - without reloading the page - try to upload something. Let me know if that increases the speed |
Hello, no, I haven't had any noticeable changes. Wouldn't there be a variable to change in the .en for example? |
Okay, so I tested it with a 100MBit uplink to two different servers and could reproduce the problem. It might be related to chunking, which is done by Javascript. Unfortunately I am not sure yet what exactly is the cause and how to fix it. Does your speed increase if you enter these two commands in the console and then upload a file without refreshing the window?
|
Do I enter the commands on Chrome or do I write them in the .env? |
With the two commands entered on chrome I had a peak at 20mb/s |
Okay, so that's a good start. Do you get the same speeds if you only enter |
When I run the command you gave me, I get 20mb/s but after 10 seconds the speed drops to 12mb/s |
… chunk uploads, set chunksize to 39MB, fixes slow upload #162
Thank you for being responsive and taking the time to address my concerns. There will be a new update |
Fixed in 3b7cdae. With that version it is not possible to set the chunksize and parallel upload limit in the settings. Default ist now 45MB chunk size and 4 parallel connections instead of 10MB serial. @killforby Thank you very much for your feedback! |
Hello, having installed gokapi I find that when I upload the speed is not great between 10Mb and 12MB/s. Having done speed tests on my vps the speed is around 1175MB/s or 10 times more than what I can send with gokapi. The configuration is as follows: gokapi is installed on a vps and I access via a reverse proxy (NPM). Do you have any advice to recommend to me?
The text was updated successfully, but these errors were encountered: