Reboot times

Q'center app, Helpdesk app
Post Reply
jkingma
Getting the hang of things
Posts: 58
Joined: Wed Oct 21, 2015 2:15 am

Reboot times

Post by jkingma » Sat Jun 29, 2019 4:52 am

HI

In https://www.qnap.com/en/how-to/knowledg ... hy-is-this QNAP claims that their NAS boot up in 2-3 minutes. This might have been true at some point of time but my NAS typically takes 20-30 min to boot and be available. Even a shutdown (which I rarely do) takes 10min.

1) is this normal?
2) are there ways to improve reboot speed?
QNAP TS-453mini
Firmware: up to date

dolbyman
Guru
Posts: 14253
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Reboot times

Post by dolbyman » Sat Jun 29, 2019 4:57 am

mine take:


TVS-951X (w 10GB RAM) 6-7 minutes boot
- QTS 4.4.1
- RAID6 (+ Qtier RAID1)
- virtualization station


TS-419p+ 5-6 minutes boot

QTS 4.2.0
- RAID10

unclear what your hardware and setup is, that needs 30 minutes

User avatar
storageman
Experience counts
Posts: 4819
Joined: Thu Sep 22, 2011 10:57 pm

Re: Reboot times

Post by storageman » Tue Jul 02, 2019 6:19 pm

Size of drives will have a big impact.

jkingma
Getting the hang of things
Posts: 58
Joined: Wed Oct 21, 2015 2:15 am

Re: Reboot times

Post by jkingma » Fri Jul 19, 2019 5:59 pm

I've found out the culprit, or culprits
1) I had enabled snapshots on the first volume. Snapshots on lvm have a huge impact on lvm volume write speeds (google lvm snapshots performance) I noted speed reductions of a 10th of the speed on volumes wo snapshots. See attachment.
2) I have VMs using VirtIO Red Hat drivers in Linux. these sometimes "hang" for 15-30mins on shutdown.
You do not have the required permissions to view the files attached to this post.
QNAP TS-453mini
Firmware: up to date

User avatar
spikemixture
Been there, done that
Posts: 683
Joined: Wed Mar 07, 2018 11:04 pm
Location: 3rd World

Re: Reboot times

Post by spikemixture » Fri Jul 19, 2019 10:38 pm

My NAS as per below

No Snapshots

16 minutes for a reboot

It's about 6 to shutdown and 10+ to start.

or just now 13 minutes to QNAP announcement plus 6 to start apps
Last edited by spikemixture on Sat Jul 20, 2019 1:17 pm, edited 1 time in total.
Qnap TS-1277 1700 - 6x8TB WD White, 2x8TB WD Red - Raid 5
Qnap TVS-1282 - 8x10TB WD White - Raid 6
Synology -1817+ - 2x10,2x8,2x6 (Ironwolf) 2x6 WD Red - SHR
Drobo 5n - 3x2TB WD Green, 2x3TB WD Red - Drobo Raid
Buffalo LinkStation - 2x2TB WD
ProBox 8 Bay USB3 - 8x4TB Seagate - JBOD
All software is updated as soon as it's available.
I give my opinion from my experience i.e. I have (or had) that piece of equipment/software and used it! :roll:

User avatar
storageman
Experience counts
Posts: 4819
Joined: Thu Sep 22, 2011 10:57 pm

Re: Reboot times

Post by storageman » Fri Jul 19, 2019 11:32 pm

jkingma wrote:
Fri Jul 19, 2019 5:59 pm
I've found out the culprit, or culprits
1) I had enabled snapshots on the first volume. Snapshots on lvm have a huge impact on lvm volume write speeds (google lvm snapshots performance) I noted speed reductions of a 10th of the speed on volumes wo snapshots. See attachment.
2) I have VMs using VirtIO Red Hat drivers in Linux. these sometimes "hang" for 15-30mins on shutdown.
Good point!
Not sure why it needs to read or check snapshots in the boot sequence.

jkingma
Getting the hang of things
Posts: 58
Joined: Wed Oct 21, 2015 2:15 am

Re: Reboot times

Post by jkingma » Mon Jul 22, 2019 1:30 am

It would be really sweet if QNAP would go for ZFS on the smaller NASses. I have a Archlinux based 4HDD ZFS setup here that boots in under a minute. Agreed it has twice the RAM as in my TS 453mini


19.069s zfs-import-cache.service
15.418s systemd-networkd-wait-online.service
5.154s man-db.service
4.554s dhcpcd@enp2s0.service
4.538s logrotate.service
3.607s mariadb.service
2.725s systemd-udev-settle.service
2.340s lvm2-monitor.service
2.239s systemd-logind.service
2.166s smartd.service
2.075s dev-sde3.device
1.950s systemd-networkd.service
1.646s systemd-machined.service
1.497s systemd-modules-load.service
1.367s zfs-mount.service
1.274s systemd-resolved.service
1.113s systemd-udevd.service
951ms systemd-journald.service
886ms setmtu@enp1s0.service
779ms munin-node.service
615ms transmission.service
508ms setmtu@enp2s0.service
475ms systemd-journal-flush.service
459ms php-fpm.service
300ms systemd-udev-trigger.service
257ms smb.service
233ms nmb.service
144ms iptables.service
123ms lm_sensors.service
117ms ntpd.service
117ms user@1000.service
115ms wol@enp2s0.service
98ms systemd-tmpfiles-setup-dev.service
92ms systemd-user-sessions.service
82ms systemd-fsck@dev-disk-by\x2dpartlabel-EFI.service
74ms sshguard.service
71ms kmod-static-nodes.service
69ms systemd-sysctl.service
67ms systemd-remount-fs.service
66ms dev-mqueue.mount
66ms sys-kernel-debug.mount
65ms dev-hugepages.mount
63ms boot.mount
48ms nginx.service
47ms systemd-tmpfiles-setup.service
37ms dev-disk-by\x2dpartlabel-swap.swap
21ms systemd-random-seed.service
18ms systemd-update-utmp.service
16ms haveged.service
13ms user-runtime-dir@1000.service
12ms tmp.mount
9ms sys-kernel-config.mount
QNAP TS-453mini
Firmware: up to date

jkingma
Getting the hang of things
Posts: 58
Joined: Wed Oct 21, 2015 2:15 am

Re: Reboot times

Post by jkingma » Mon Jul 22, 2019 1:32 am

I wonder, is there a systemd-analyze blame version for QNAP QOS?
QNAP TS-453mini
Firmware: up to date

jkingma
Getting the hang of things
Posts: 58
Joined: Wed Oct 21, 2015 2:15 am

Re: Reboot times

Post by jkingma » Mon Jul 22, 2019 1:35 am

Anyway, after a rebuild of the NAS shutdown takes about 03:00 min (Yay!) and startup about 08:00 min (Ahw). The startup is hindered primarily by the Virtual Station startup time. Dunno why.
QNAP TS-453mini
Firmware: up to date

Post Reply

Return to “NAS Management”