Skip to content
/ ovhnas Public

kernel for OVH Nas board (marvel armada375 based SYS-arm offering)

Notifications You must be signed in to change notification settings

kotc/ovhnas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 

Repository files navigation

ovhnas

kernel for OVH Nas board (marvel armada375 based SYS-arm offering, running at 800MHz).

about

SoYouStart.com started offering cheap backup storage space, problem is, they have provided quite old kernel (initially 4.5.2) which worked well, but was.. old. later they did provide updated one (4.9.58) which was a bit newer, although still old and hitting kernel regression with network driver (resulting in very slow uploads ~4mbit/s). recently (2018-08) they have updated the kernel to 4.9.124, which is nice regarding security, but still having slow uploads bug. this project aims to provide newer, bug-fixed kernel and some system tweaks.

state: WIP (work-in-progress)

  • initial work on 4.9.x is done, currently 4.9.172 kernel boots, upload speeds reach ~2.3gbit/s inside ovh infra and ~300mbit/s outside. realistically you should expect a bit less if you use LUKS and/or rsync/sshfs. still you should notice an improvement. keep in mind that your board might be located in network-clogged location (speeds can drop to 100-150mbit)
  • also ported to 4.14.x
  • cryptodev: WORKS
  • luks + hwcrypto: WORKS
  • ssh/sshd + hwcrypto: WORKS, install or recompile openssl lib. for debian9 it needs to be openssl-1.0
  • wireguard: WORKS
  • ipv6: works with tunnels. for native, sys/ovh needs to enable ipv6 routing on their routers
  • LXC: works

help

we need testers! join us on: irc://irc.libera.chat/SYSarm (#SYSarm on libera.chat network, you can also use web interface at: https://web.libera.chat/?nick=SYSarm-n?#SYSarm ) to help testing and/or donate to the project (https://www.paypal.me/kotc) if you like it and feel thankful :) remember to stay around for longer, best time to get reply is ~8-22 CEST time.

installation

for testers there is a script available at: http://54.37.26.148/kc375-update.sh join irc and ask for credentials

unsorted hints

  • hard drives used are HGST HUS726020ALA610, useful for storage, but SUCKING FOR 4kB RANDOM R/W. be warned. don't believe me? run iozone benchmark: iozone -e -I -a -s 200M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
  • network performance is highly depending on latency
  • cryptodev:
    • luks: cryptsetup -c aes-cbc-essiv:sha256 ... (less safe, but ok for single user machine)
  • openssl(1.0/1.1):
    • hwcrypto is only useful for big data blocks, for <4kB cpu wins (unless you want to just offload the work to free up max cpu)
    • ssh -Q cipher
    • ssh difference is seen with rsync most, sshfs is slow
    • ssh client: -c aes256-cbc
    • rsync tune: -e "ssh -T -x -c aes128-cbc -o Compression=no" and do not use -z for rsync (unless you are transferring lots of compressible data)
    • sshd: /etc/sshd_config: Ciphers ...
    • openssl compiled with both cryptos and digests is triggering oops so dont use.
  • gnutls: i've prepared the packages, but no one was interested so not adding them to installation script, feel free to test and report
  • dont want to install kernel or want to compile your own? 18:37 #sysarm m132 > lol high upload speeds on stock 4.9 ovh kernel are just one sudo sysctl -w net.ipv4.tcp_min_tso_segs=20 away. this workaround is already included in ovh's linux-image-4.9.160-armada375

TODO

About

kernel for OVH Nas board (marvel armada375 based SYS-arm offering)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published