How nostalgic! Mind you, I say that in a good way! This brings me back to the heydays of Sun Microsystems where they controlled both the hardware (SPARC) and the operating system (Solaris). Sun didn't hesitate to use this to their advantage. With Clear Linux, I see Intel doing some very similar things. Yes, this was just a story about boot time, but it led me to take a look at Clear Linux and it looks like it could b…
Booting a Sun in the 90s took so long that we had the janitor go and power up the CAD lab half an hour before anyone got to the office. Whatever you are nostalgic for wasn’t a Sun.
Linux Kernel Fastboot [pdf]
31–40 of 121 posts
Re: Linux Kernel Fastboot [pdf]
#32> “mem=4096m” in cmdline to only init 2 GB What is going on that makes this 2:1?
2gb user + 2gb kernel?
Re: Linux Kernel Fastboot [pdf]
#33Earlier quoted context omitted.
How did you measure the power usage on Windows? I'm assuming you used Powertop on Linux.
I used Powertop on Linux, yes. For Windows, I simply let the laptop run until it had used 50% of the battery. Watts = Joules / second. On Linux, I used the same methodo to calibrate against powertop. (But found less than 5% of discrepancy anyway.)
Re: Linux Kernel Fastboot [pdf]
#34Those of you who are interested in such things might also like to watch my BSDCan 2018 talk: https://www.youtube.com/watch?v=HMywejyXB9k
Sorry for off-topic: I checked your HN profile and tarsnap looks like what I've been searching for a long time. Looks much more straight forward than nextcloud and open source too. Wish you success with your company.
Re: Linux Kernel Fastboot [pdf]
#35I love the bit on slide 16 where initializing 8GB of RAM takes 100MS, so they boot with only 2GB and then hotplug in more memory later.
Re: Linux Kernel Fastboot [pdf]
#36> SATA driver init takes 100 to 200 ms even without a real disk That's pretty interesting. Wonder what it is doing?
It wouldn’t necessarily have to be done synchronously up front at all, except when the BIOS hands off control of the system to the SATA controller it expects that afterward it has a definitive list of available boot devices and their properties, for selection/display in the boot menu and BIOS configuration.
Theoretically with UEFI and it’s NVRAM-resident settings, a boot device could be expressed as a namespace and path, and the firmware need not enumerate devices until it has determined that there’s a need to search for alternative/fallback boot devices, but the stack hasn’t been updated with that in mind.
Re: Linux Kernel Fastboot [pdf]
#37I've seriously got to look into running arch with a clear linux kernel. I knew they did some pretty serious optimization work, but this is definitely impressive.
Re: Linux Kernel Fastboot [pdf]
#38I love the bit on slide 16 where initializing 8GB of RAM takes 100MS, so they boot with only 2GB and then hotplug in more memory later.
Just last weekend I was talking to one of FreeBSD's VM gurus about doing exactly this in FreeBSD too. You have to be careful about it though -- some data structures are autosized at boot, and if you're not careful you can end up with systems "running out of memory" because they have too much memory.
https://devblogs.microsoft.com/oldnewthing/20030814-00/?p=42...
Re: Linux Kernel Fastboot [pdf]
#39> “mem=4096m” in cmdline to only init 2 GB What is going on that makes this 2:1?
Re: Linux Kernel Fastboot [pdf]
#40How nostalgic! Mind you, I say that in a good way! This brings me back to the heydays of Sun Microsystems where they controlled both the hardware (SPARC) and the operating system (Solaris). Sun didn't hesitate to use this to their advantage. With Clear Linux, I see Intel doing some very similar things. Yes, this was just a story about boot time, but it led me to take a look at Clear Linux and it looks like it could b…
Also, its package manager forces you to install "bundles" of somewhat related packages rather than just the specific packages you want and their deps. Maybe I'm missing something, but I find this very odd.