Not saying this applies, but: The speed of the raspberry pi goes up dramatically when using a fast USB disk instead of micro SD. Most people start with a micro SD, and I had no idea how much faster a Pi could go.
If that's not an option AND your setup has no power issues (e.g. it has good power supply, externally powered usb hub etc), disabling journalling might also improve performance: tune2fs -O ^has_journal /dev/sdaXXX (can't do it on mounted fs, so either do it from initram consolee, do pivot_root to minimal fs in ram, or do it from another machine)
https://www.raspberrypi.com/app/uploads/2023/09/40e82000-af3...
same for network