Help installing on existing debian 9

  • Hi I've one Qnap with debian 9 installed on, is quite good


    but I don't know ... seems that is not fully optimized, a lot of swap

    Basically I only use radarr sonarr transmission with nordvpn connection, then a mysql server (mariadb) for kody library)
    Maybe the server is not optimized maybe I'm not so good with linux ...


    For this I'm planning to install OMV over it via apt.


    The processor is -> Intel(R) Atom(TM) CPU D2550 @ 1.86GHz
    The total ram is 3Gb
    Actual there's one RAID 1 configured with 2hd 4TB each and because the nas has 2 ethernet I bonded it into one


    There's any particular problem or advice before I start with the installation?


    Take note that I don't think to use the docker system, I don't fine any good reason to use it


    Any advice?


    Many thanks, Jo

  • seems that is not fully optimized, a lot of swap

    A lot of CPU activity as well. Since swap on HDD is anachronistic and slow I would look into using zram instead. On the other hand the Atom you're using is really slow (30% single-threaded performance compared to recent quad core Gemini Lake Atoms and less than that when comparing 'full loads' on all CPU cores/threads) and your system is already pretty busy according to htop.


    Any advice?

    Maybe overthinking both RAID-1 and bonding (useless at home if you're after more performance since you'll need a lot of NAS clients to benefit from LACP)

  • Thanks tkaiser for your thought!


    Actually I don't use LACP, router not compatible, I use balance-alb mode, this because my ISP connection is about 100mb (not so much) and I also need to stream over the net (wifi) so, to exclude any possible bottleneck I chose to bond the 2 Ethernet. Do you think is a bad idea?


    In that particular moment more task was active, like rss sync and some heavy load under transmission, but notice the 15min cpu load, not so impressive, I think is good for this old nas, do you?
    See the htop now


    The swap are pretty the same and the cpu load is not so heavy, notice also this


    Code
    $ ps -A | grep kswap
       47 ?        00:29:25 kswapd0

    About 30 min in about 10 days, so about 3 minute at day.



    Actually I can't take a new nas, and I don't know, for example, if a Raspberry Pi 3 Model B+ with some controller to attach 3.5" hdd is a good idea. I'm happy to have swirched to Debian system instead Qnap one, now boot is really good

    Code
    Startup finished in 7.164s (kernel) + 53.164s (userspace) = 1min 329ms

    Compared to over 5 min from Qnap system


    I know that swap on hdd is not so good, but the nas already has the max ram on board, 3Gb is not so good but damm are always 3Gb, Apollo 11 has 152 kByte! LOL


    Btw, the only think that came into my mind is that the nas has usb3 support and I have one old ssd (50gb) around home, I can move the swap over the ssd via usb3, but I think is not a good idea, usb 3 is very heavy on cpu requests!


    I did a pc for my mother-in-law with OMV, and I those days I'll take a look into it, but I cleary remember that the swap was not so big, even after lot of days, I've to take a screenshot for that! Maybe the I/O governor?


    Please consider that the function is only a home nas without so many claims.


    Do you think that with OMV I can have a more optimized system?


    J

  • if a Raspberry Pi 3 Model B+ with some controller to attach 3.5" hdd is a good idea


    Nope, worst NAS choice possible (ARM is not a problem but RPi is a joke due to various problems affecting performance and reliability).


    While the majority of today's single board computers will be faster than your Atom (check scores of devices with more than 2,500 in the 7-zip column here) this wouldn't be that important if your box features two true or PCIe attached SATA ports which would be a lot better than USB attached storage (especially USB3 attached storage if it's not already USB-C)


    Can you please provide output of lspci and lsusb and if you see the SATA controller hanging off one of the buses same command but with -v switch added. E.g. lspci -v

  • Yep, as your request

    I don't know if the sata bridge is for the DOM module, btw maybe on paper can be slow and surely is old, but if you use it you can see that is pretty responsive.


    If you need I also have sar performance files to see, I started few days ago.

  • Ok, I collect data from my mother in law, see her OMV in action, mounted one old Asus EB1501, atom processor too



    lspci:
    https://pastebin.com/JQkztaip


    lsusb:
    https://pastebin.com/tmSKi6Ck


    lspci -v:
    https://pastebin.com/im7fGtdp


    lsusb -v:
    https://pastebin.com/temvBq3r


    See the swap? Why is so "small"? I think OMV is great on low system!


    Here the sar data collection from yesterday


    For the CPU
    https://pastebin.com/NhvbHrUr


    For the ram
    https://pastebin.com/WsmShDiE

    Einmal editiert, zuletzt von Chryses () aus folgendem Grund: Added sar logs

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!