Tuesday, January 13, 2015

Linux creator: leap second question for a few people to worry about it!


 2015 extra second, what are you going to do? Accompany their loved ones? Friends and partying to celebrate? Or directly blink a little wine on the past? For discussion of this topic, "leap seconds", the printing division has always been positive and negative two factions.
Optimists believe how Lehe how too, but the problem many people have of this phenomenon is caused worried.

  Leap seconds of background knowledge to understand the user will know that leap seconds is UTC (Coordinated Universal Time) to the Atomic Clock (atomic clock) a way to align the aim is to make the time to keep pace with the sun. Leap second adjustment will not have an impact on the daily lives of ordinary people, but it is slightly more complex computer systems.

  In general, the computer system is configured UTC clock required by NTP (Network time protocol) for time synchronization, NTP server will send a level underground leap second event notification until the edge of the NTP server, and NTP will put leap seconds notification to the client operating system, the operating system to handle leap seconds notice.

  Although seemingly leap second adjustment is not much difficulty, but it is partially open Linux operating system for the NTP service can lead to the collapse of the Linux kernel. In fact, in 2012, the arrival of "leap seconds" time to make, including social news aggregation website Reddit, including several sites have suffered a technical failure. This question was once Linux Systems "scourge."

  For the upcoming year, on June 30 at midnight arrival of "leap second" moment, Linux creator Linus Torvalds did not seem too worried, he expects a big impact this should not occur. Linus Torvalds said that after the 2012 leap second accident, a lot of software has been upgraded, he will usher in for the test again with confidence.

  Torvalds for Linux and Unix time standard POSIX platforms are described. POSIX will one day be defined as 86,400 seconds, let the computer systems and UTC (which can automatically adjust the leap seconds) synchronization, and will definitely cause conflict. Torvalds believes, POSIX's approach is to ignore most of the time without a leap second question, this is a sensible approach.

  However, it also raises a question of time for the future, many of the same computer as concerned about the future care of the current time period, the leap second added to the list is very troublesome. Time to consider the future of the computer can not take the leap second added to the list, because their program has not been set up. In the future time, POSIX time does not work, but to use human timekeeping methods timing. The key is to be able to track the POSIX time, if for some time in the future may appear in the leap second, can not be "20 years after twelve noon," Converting to POSIX time, it loses its value.

  If we allow that human use of UTC and let the machine using atomic it? Torvalds that, in fact most of the time, even when the machine also does not care atoms. They care about the time most of the time because people care about the time, such as mortgage payments they remind you when you will be on time special care. So you can not let the machine's timing and the timing of humanity separated. So, to persuade people not care about the time of contact with the sun, or contact date with the seasons, it is not realistic sounds. After all, who really cares about those atoms are astronomers.

  Torvalds believes that for those of us mere mortals, it may still be using the POSIX time, they still let a few unlucky people to worry about it! Why have you doing this!

No comments:

Post a Comment

ad2