Date: 10 months ago   Category: Hi-Tech

For a kernel of Linux the mechanism of separate accounting of time in containers is offered


For discussion in the list of mailing of developers of a kernel Linux a set of patches with realization of namespace for time is offered. The offered mechanism will allow to operate separately time in each container, allowing to expose the date/time, to synchronize time irrespective of a basic environment and to correct hours after restoration of a container after freezing. the system provides to

In current state the general counters of all types of time for containers that creates difficulties at migration of containers between knots and restoration after freezing of their state. At restoration of a container after freezing important not so much the indication of time in a general sense (CLOCK_REALTIME), how many correctness of restoration of values of monotonous hours (CLOCK_MONOTONIC) and hours of time after loading (CLOCK_BOOTTIME). Monotonous hours reflect past tense from the moment of the certain event in the past i.e. if the container has been frozen, then indications of these hours have to restore value at the time of freezing, having passed time interval at stay in a condition of freezing. The similar situation arises at restoration of time from the moment of loading.

the Essence of the offered changes in addition for each namespace of additional shifts to basic values of system hours. At the appeal of the process which is in not root namespace to the system calls connected with manipulation with time, the specified shifts will be summarized to basic indications of time. In a set of changes submitted for consideration shift are still realized only for the timers CLOCK_MONOTONIC and CLOCK_BOOTTIME. For realization detail CLOCK_REALTIME are at a stage of discussion so far and it is unclear whether there will be shifts enough how to come when changing time to a host environment and whether there is a need for correction of time, used for reflection of the moment of creation or change of files in VFS. On materials: www.opennet.ru

URL:




Today

just now

Today Sony showed the new non-reflex camera with the 61-megapixel full-scale BSI CMOS sensor. The model received important improvements which solidly look against the background of already strong rule...

just now

The strike took place in the fall of 2018 and brought together more than 20 thousand people. the Head of Google Open Research Meredith Whittaker left the position, Bloomberg writes. She was one of organizers of protests of staff of Google against harassments, gender inequality and racism in the company. In Google confirmed that Whittaker does n...

just now

Nadia Dorofeyeva pleased admirers with a new photo. Read to Newsmir.info in the updated Viber chat! Join! Popular articles now Zelensky nearly burst into tears, having seen this: "Some concentrati...

just now

Following the results of monitoring of success of the compact Kia Seltos which went on sale less than a month ago the novelty collected 3 thousand preliminary and already paid orders. The Korean publi...

just now

Americans believe that the minimalism and monochromaticism are fashionable as in automobile design, and design of houses and furniture. From here and new variation of the giant. the Lincoln Navigato...

just now

Germany is not tired to surprise the world with new impressive inventions. This time the startup of Lilium presented a prototype of the five-seater autonomous flying taxi. According to representatives...

just now

Incident occurred in Volgodonsk. On Tuesday, July 16, in the Rostov region of Russia had an accident the truck which transported the scenic equipment and Philip Kirkorov's suits, the corresponding v...

just now

The popular social network Instagram found vulnerability which allows to get access to any account in ten minutes. At the moment this problem is corrected, and the hacker received an award. to hack...