Phiên Hỏi & Đáp hôm nay đến với chúng tôi theo lịch sự của SuperUser - một phân khu của Stack Exchange, một nhóm các trang web Hỏi & Đáp do cộng đồng điều hành.
Câu hỏi
Người đọc siêu người dùng kosinix muốn biết tại sao máy tính không thể khởi động hoàn toàn ngay lập tức:
Computers have been around for quite some time. So what is stopping us from making computers boot instantly like regular home appliances and other devices? Is it even possible? I know there are ‘Hibernate’ and ‘Sleep’ options, but those aren’t really ‘real boot’.
Tại sao máy tính không thể khởi động hoàn toàn ngay lập tức? Với phần cứng tốt hơn, mạnh mẽ hơn hiện có và cải tiến liên tục các hệ điều hành, người ta sẽ nghĩ rằng các máy tính có thể khởi động nhanh hơn rất nhiều so với những ngày này.
Câu trả lời
Người đóng góp của SuperUser ckhan có câu trả lời cho chúng tôi:
Computers are state machines. The problem is that the initial condition the computer starts with (which is, literally, instant) is not very useful to you and me. (Even after the first electron moves.)
What is useful to you and me is many millions of steps further down that ‘state machine’. The easiest way for developers to describe that state is to define it in programs, and those programs will always take more than ‘zero time’ to run.
Now you might say: “Fine, but can’t you cache the ‘first-usable-state’ and start there?” And you could, and it does. It’s (roughly) what resume from ‘Sleep’ is, and which is why it’s not very fair, I think, to “exclude” resume from a discussion of improving boot times.
Mặc dù thời gian khởi động chắc chắn đã được cải thiện trong vài năm qua và sẽ tiếp tục cải thiện khi thời gian trôi qua, và sẽ luôn có rất nhiều thứ xảy ra sau màn hình mỗi khi bạn khởi động máy tính yêu thích.
Có cái gì để thêm vào lời giải thích? Tắt âm thanh trong các ý kiến. Bạn muốn đọc thêm câu trả lời từ những người dùng Stack Exchange có hiểu biết công nghệ khác? Xem toàn bộ chuỗi thảo luận tại đây.