tl;dr: if you're on an S905 you can't break roughly 9mbit/s of throughput using SSH: here's how to.
I compiled my own LibreElec build from kszaq's tree using polling on bcmdhd as opposed to soft interrupts thinking the box was maxing out similar to I/O and gained (on average) 4mbps more wireless throughput. This obviously isn't enough as content today (even standard 1080i OTA TV) requires atleast 21mbit/s. Evaluating other options brought me to absurdity: what if I use sshfs on LibreElec, mount my remote shares to a local mountpoint, then point the box to that local mountpoint?
Compiled sshfs (which is also available via nettools LibreELEC.tv/packages/addons/addon-depends/network-tools-depends at master · LibreELEC/LibreELEC.tv · GitHub ).
Created some keys, added them to my server.
In autostart.sh, added the following (which is gross):
LibreELEC:~ # cat .config/autostart.sh #!/bin/bash ( echo 0 > /sys/module/di/parameters/nr2_en echo 1 > /sys/module/di/parameters/bypass_all echo '444,10bit' > /sys/class/amhdmitx/amhdmitx0/attr /usr/bin/mkdir -p /tmp/mnt/FileServer /usr/bin/mkdir -p /tmp/mnt/Backup /usr/bin/mkdir -p /tmp/mnt/Recordings while true; do ping -c 1 18.104.22.168 if [[ $? == 0 ]]; then break fi done /storage/.kodi/addons/virtual.network-tools/bin/sshfs host:/mnt/WebU /tmp/mnt/FileServer -o workaround=all -o reconnect,ServerAliveInterval=15,ServerAliveCountMax=3 -o IdentityFile=/storage/.ssh/id_rsa,port=24567,allow_other,no_remote_lock,no_remote_posix_lock,atomic_o_trunc,umask=0222,readdir_ino,kernel_cache ) & LibreELEC:~
Added my libraries in Kodi to point to /tmp/mnt/FileServer...
Sure enough, 50mbit/s which is what my laptop gets to the AP.
This is also way more secure as we're using PKI as opposed to insecure plain-text auth using SSH1 that Kodi still forces...
Hope this helps someone.