libretro / Lakka-LibreELEC

Lakka is a lightweight Linux distribution that transforms a small computer into a full blown game console.
https://www.lakka.tv
1.75k stars 289 forks source link

Samba transfer performance degradation #1233

Closed DevilBlackDeath closed 3 years ago

DevilBlackDeath commented 3 years ago

- Which version of Lakka are you using? 3 or 4 different nightlies ranging from 03/24 to 04/01, also tested on 01/01 nightly. I tested no other nightlies so I cannot confirm when the issue appeared.

- What system hardware are you using? Raspberry Pi 4 Model B 2GB

- What did you do? I tested file transfer over network with Samba, testing multiple installs and reinstalls between the versions cited

- What did you expect to happen? I expected similar performances between builds.

- What happened instead? Write speed were noticeably worse on the recent versions.

At first I thought the "recent builds" in my list had normal performances, but after testing the 01/01 build (due to testing for my other issue report) I realized the 01/01 build had much better performances. The recent builds have an inconsistent write speed anywhere between 200kB/s and 3 MB/s while 01/01 went as fast as 82MB/S. The gap is huge. It was however only tested on a USB boot, so I cannot confirm if this affects a Lakka booted from SD.

Edit : After further tests on bigger files, it would seem I can achieve 102MB/s on the 01/01 nightly build.

Edit 2 : If it can help with troubleshooting (in case it would be a matter of drivers) I'm using a WD SSD drive through the Retroflag Nespi 4 SATA to USB interface, which is apparently a JMS578 interface. Maybe updated or removed drivers with it could be causing the issue, not the network itself.

DevilBlackDeath commented 3 years ago

Nevermind ! In my oooh infinite wisdom I forgot I had to switch to LAN for the 01/01 nightly (it connected on WiFi but took much much longer than recent builds). The increase in copy speed was a result of switching from WiFi to LAN !