Blockquote
When I turn on QOS, the speed tests are worse in results.
That looks a totaly different topic.
have you checked this post ?
https://community.ipfire.org/t/ipfire-download-speed-is-only-25-of-actual-speed/12115/11
Also I would recommend starting a new topic in networking/QOS section.