Is Haiku startup process multithreaded the same way as in BeOS?


#1

Here is the excerpt from the old article which describes BeOS startup process:

‘The operating system’s incredible efficiency is due in large part to its multithreading abilities. For example, during boot-up, separate threads are spawned to handle kernel debugging, to turn off the floppy drive motor and to manage the disk cache. The boot process even takes advantage of BeOS’s ability to address multiple processors: during start-up, while the first processor is searching for available drives, the second processor (if available) displays the Be logo on the screen.’

Out of curiosity: is Haiku startup process multithreaded the same way as in BeOS?


#2

Obviously division of tasks will be different. But yes, after the first icon is lit, there are already a number of threads doing different tasks running.

In practice this isn’t necessarily a massive speedup however. Most of the boot is spent waiting for disk I/O to complete.


#3

… unless you’re using an NVMe :smiley: