Git Product home page Git Product logo

ovhnas's Introduction

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

ovhnas's People

Contributors

kotc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ovhnas's Issues

upgrade kernel

Hi,

I have been using 4.9.150-kc375 for a long time and it has been working fantastic, amazing, many thanks!!
Today I came to this github page and I realized that there is a newer version: "currently 4.9.172"

I tried to update: "sudo apt update" and "sudo apt upgrade" but it did not upgrade haha

So, how can I install the lastest kernel?

My SYS-arm server has been working as a charm since I installed your kernel.
Thank you very much

Provide the actual source code ?

Hello !

You've worked on this project and it seems really interesting ! I'd like to know what your doing so I could do it myself to :)
Can you provide the source code ? You script, kernel config and everything needed to contribute ?

Thanks

Wireguard

Hello,

I tried theses scripts to install wireguard:

When I try with my client to connect to my ARM server, I don't have access to internet anymore with both.
I wonder if it is because of the kernel that may not support Wireguard ?
I'm using last version I think: 4.9.310-kc375.

Do you think it can be related to kernel ?
Do you have tips to run wireguard properly with arm servers ?

Thanks for your help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.