Nextcloud speed auf 50mbit/s limitiert?

Hey,

Zuhause betreibe ich einen Raspberry Pi 5, der als Host für meine Nextcloud dient. Soweit läuft alles reibungslos. Allerdings ist mir aufgefallen, dass die Upload-Geschwindigkeit nie über 60 Mbit/s liegt. Dies überrascht mich, da meine Internetverbindung theoretisch bis zu 250 Mbit/s erreichen kann. Aktuell bin ich sogar über ein LAN-Kabel mit demselben Netzwerk verbunden, was bedeuten sollte, dass die Übertragungsgeschwindigkeit sogar 1 Gbit/s beträgt.

Kennt jemand dieses Problem?

Vielen dank.

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
31 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
iQa1x
11 months ago

Look at your rate at the internet provider, even with glass fiber, the upload is often lower, for example, at Deutsche Telekom 50 MBit, which would come down.

If you transmit the data in the LAN and then also use the local IP of the Pi (so it does not only run over the router and the Internet connection) it should be faster.

If that’s not the case, try what write rate your SSD/plate at the Pi creates.

iQa1x
11 months ago

Write a big file on it with dd… is the easiest thing I just remember

dd if=/dev/zero of=/path/to/mountpoint/new_file bs=8k count=1000

then delete the file stop again.

iQa1x
11 months ago

Can’t help me, I’m a carved vi user 🙂 M-B could be Alt-B, “M” is the meta key. I’m sorry to have to leave now, I’m gonna have to go to work tomorrow. After changing the php.ini, you need to restart the web server or php-fpm process so that it becomes effective…

iQa1x
11 months ago

upload_max_filesize and post_max_size , see 3 comments…

iQa1x
11 months ago

Don’t try /etc/php/ and then under any mod or fpm depending on how it works…

iQa1x
11 months ago

Look into the php.ini on the server, which is the maximum, more the client cannot upload per Chunk…

upload_max_filesize and post_max_size are the options… put the hold on 100M or so…

iQa1x
11 months ago

$HOME/.config/Nextcloud/nextcloud.cfg bei Linux auf dem Client

iQa1x
11 months ago

The LimitRequestBody is default 0, so disabled…

iQa1x
11 months ago

The client takes default 10 MB Chunks, which can be customized by .cfg. https://docs.nextcloud.com/desktop/3.2/advancedusage.html?highlight=chunk May not be larger than the PHP max_upload_size / max_post_size on the server. Ggfs. let’s see if it’s sufficiently large.

It can be that the web server still has an option somewhere, how big an upload can be maximum… LimitRequestBody at Apache

iQa1x
11 months ago

Still a question, what do you take as a client to upload? In the browser, the Chunked uploads, so always uploads 1MB (e.g.) blocks by JS and then assembles them on server side. Depending on the browser and speed of the client there can also be a bottleneck.

Unfortunately, this is difficult to analyze.

iQa1x
11 months ago

111 MB/s is now also not a restriction. It’s not like that. If you run the btop during an upload, the processor load is on the stop (possibly due to TLS)?

iQa1x
11 months ago

PS: At dd NOT take /dev/sda, but mountpoint, otherwise you overwrite your plate….

iQa1x
11 months ago

The stupid thing about smartctl is that it only tests reading, SSDs are often much slower when writing than reading…

Xandros0506
11 months ago

Raspberry Pi 5

And how is the used storage medium connected?

SSD via the M.2-HAT, which is then connected via PCIe2.0 x1 and thus cannot exceed the limit of PCIe2.0 x1 (at 0.5GBit/s).

Thomasg
11 months ago

What files are you uploading?

if you upload images, you will probably limit the HDD. The write and read rates are massively breaking one in many small files.
and see how much CPU is used on the pi during an upload and for what. If wait io is in the double-digit percentage range, is probably the hdd of the bottleneck.

Thomasg
11 months ago

Your tests have all only tested sequential reading and writing. This is not comparable to the upload of quite small files.

Upload a large file with at least 1 Gb and see if it goes faster.