Originally posted by Vistaus
View Post
Announcement
Collapse
No announcement yet.
TrueOS Finishes Porting Scripts To OpenRC
Collapse
X
-
Originally posted by duby229 View PostIt's possible. Hell, even like 2004 it was possible. You can make Gentoo as lightweight as you want it to be. You literally have control over every package and every dependency.
With SSDs of course you can pull that off, with a light userspace, but that's due to SSD brute speed. In 2004, no SSDs so no way.
- Likes 2
Comment
-
Originally posted by starshipeleven View PostNot even LEDE boots so fast and it is a router distro whose whole kernel+system fits in 4-ish MB and has like 5 services total to start on boot (apart from hardware initialization). Ignoring the bootloader wait times (that are the same whatever you boot), it takes 5 seconds or so with a default-ish config.
With SSDs of course you can pull that off, with a light userspace, but that's due to SSD brute speed. In 2004, no SSDs so no way.
Comment
-
Originally posted by duby229 View PostYeah, and the rom is prolly on a 8 bit buss or something really slow, where reading 4MB takes that long.
Besides, there are x86 builds of LEDE too, like for example for my Geodes, or more modern and powerful stuff, and startup times aren't much different there either.
My system right now is installed a RAID 5 array, using regular disks and I didn't try to very hard to keep slim, and it boots in like 5 seconds.
Btw, weren't you using a RAID0 with SSDs?
- Likes 1
Comment
-
Originally posted by starshipeleven View Postit is not, it's the write speed that sucks arse on raw flash (I looked at the thing booting through the debug serial console many times, I know full well what's going on), the whole system is in RAM in less than a second after the bootloader started loading it, what takes time is hardware initialization and service startup.
Besides, there are x86 builds of LEDE too, like for example for my Geodes, or more modern and powerful stuff, and startup times aren't much different there either.
FYI: we were talking of 2 seconds to boot. That's unrealistic unless you have SSD RAIDs or a NVMe SSD.
Btw, weren't you using a RAID0 with SSDs?
I do suppose if your using a genkernel built initrd, then it'll probably take a second or two just to load that thing. But mine is a whole lot lighter than theirs.
EDIT: re SSD array. Yeah that array for a different purpose, both arrays are on the same system though.Last edited by duby229; 30 July 2017, 10:05 AM.
Comment
-
It takes ~40sec booting LEDE x86-64 generic using mech hard drive. Though I did use one I compiled against glibc, not musl and the image itself contained bunch of stuff. Wasn't thus much different from pre-systemd linuxes.
What's the importance of boot times? Do you restart your machines in every 2min or so?
Try using SAS RAID controller in a PC, chasing superior IO. Some of the cards themselves may boot/start up like 2-5min. Yeah, it's actually server-grade hardware but it nicely illustrates a point: boot time is important to only home users, and even there, to the portion of it.
Most do not care if it takes 5 seconds or 20. It has no meaning at all on servers.
BSD kernel.. Disable the services you do not need (rc-update) and be done with it - if it annoys you. I also do get annoyed by 1:30 timeouts systemd likes to produce now and then.
Comment
-
Originally posted by aht0 View PostIt takes ~40sec booting LEDE x86-64 generic using mech hard drive. Though I did use one I compiled against glibc, not musl and the image itself contained bunch of stuff. Wasn't thus much different from pre-systemd linuxes.
Most cases on x86 hardware you place the LEDE "firmware" on a USB flashdrive or sdcard, it does not write anywhere near enough to wear them out.
What's the importance of boot times? Do you restart your machines in every 2min or so?
Try using SAS RAID controller in a PC, chasing superior IO. Some of the cards themselves may boot/start up like 2-5min.
I also do get annoyed by 1:30 timeouts systemd likes to produce now and then.
DefaultTimeoutStartSec=
Comment
Comment