Samba slow read speed

  • Hey there,

    I've been using my Pi4 as a NAS for a few months now and with the older 5.4 kernel it was rock solid.
    Thanks to XFS I was able to write and read with a constant 112mb/s and max out the interface completely.

    However since the 5.10 kernel the performance has degraded quite a lot.
    The constant 112mb/s dropped down to around 60-70mb/s and the speed was varying a lot.

    At least with the current kernel 5.10.36 the write speed seems to be fine again (112mb/s) but the read speed is still sitting at around 80mb/s.
    It might not sound like much, but I have absolutely no explanation for it.

    There's no IO delay and the cpu usage is quite low as well.


    Does anyone have an idea how to debug this issue or is running into the same thing?

    How can the read speed even be lower than the write speed?


    My samba config is quite minimal, no special socket options or cache configured.
    (Most of those options are outdated anyway and I've made better experiences without them)

    Thanks!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!