r/AskComputerScience • u/Successful_Box_1007 • Dec 01 '24
How does Bios Transfer access, read, and transfer entire OS in ROM quickly enough to RAM where it’s better to do this than just keep OS in the slower-accessible ROM?
Hi everybody,
A bit confused about something: How does Bios Transfer access, read, and transfer entire OS in ROM quickly enough to RAM where it’s better to do this than just keep OS in the slower-accessible ROM?
Thanks so much!
5
Upvotes
View all comments
2
u/ghjm MSCS, CS Pro (20+) Dec 01 '24
In modern machines, the non-volatile BIOS is often stored on flash memory, and not even particularly fast flash memory. So it has to be loaded to shadow RAM because it literally can't be executed on its permanent storage.
Back in the days of EPROMs, shadow RAM was still a good option because the RAM was so much faster that the one-time cost of copying the BIOS was easily outweighed by time savings of running from RAM just during the boot process, let alone the improved speed of all BIOS operations for the entire time the computer is running. RAM is easily 10X faster than EPROM.