Slashdot Mirror


Internet of Things Endangered By Inaccurate Network Time, Says NIST

An anonymous reader writes: Current standards of network timekeeping are inadequate to some of the critical systems that are being envisaged for the Internet of Things, according to a report (PDF) by the National Institute of Standards and Technology (NIST). The report says, "A new economy built on the massive growth of endpoints on the internet will require precise and verifiable timing in ways that current systems do not support. Applications, computers, and communications systems have been developed with modules and layers that optimize data processing but degrade accurate timing." NIST's Chad Boutin likens current network accuracy to an attempt to synchronize watches via the postal system, and suggests that remote medicine and self-driving cars will need far higher standards in order not to put lives at risk. He says, "modern computer programs only have probabilities on execution times, rather than the strong certainties that safety-critical systems require."

166 comments

  1. It supports it just fine, article is BS by Anonymous Coward · · Score: 0

    SystemTime = CurrentDataBaseTime
    TimeDifference = LocalTime - SystemTime
    Now = LocalTime - TimeDifference

    1. Re: It supports it just fine, article is BS by x181 · · Score: 1

      so Now == CurrentDataBaseTime?

    2. Re:It supports it just fine, article is BS by rickb928 · · Score: 1

      And this works fine even if the time differences are 'positive' or 'negative'?

      It's when LocalTime appears in the future that the fun begins. Snap LocalTime back a few seconds to sync with CurrentbaseTime, feh, probably livable. But make it more than an hour, and do you risk having all of those log entries either being reset to some arbitrary time, or do they have to disappear? And my password change? And the front door alarm entry? Did that get re-timed, or deleted, or marked as suspicious?

      We are going to use the concept of synthetic time to resolve these issues.

      I know this is nontrivial. So will the IoT deal with this sufficiently? Do many systems deal with this well?

      --
      deleting the extra space after periods so i can stay relevant, yeah.
    3. Re: It supports it just fine, article is BS by Anonymous Coward · · Score: 1

      The log problem you're talking about isn't an issue if you use a robust logging system like systemd's journal. Binary logs are more resilient to time changes than text logs are.

    4. Re:It supports it just fine, article is BS by Bengie · · Score: 2

      SystemTime = CurrentDataBaseTime
      Delay = LocalTime - SystemTime - TimeDifference
      TimeDifference = LocalTime - SystemTime - Delay
      Now = LocalTime - TimeDifference

      There, corrected it for you. Now you try to figure this problem out.

    5. Re:It supports it just fine, article is BS by Bengie · · Score: 1

      One way to "fix" that issue is to not have time go backwards, but make time tick more slowly until real time catches up. Servers should be closer to seconds out of sync. Several of my home systems are less than 1ms out of sync with remote servers 80+ ms away from me.

    6. Re: It supports it just fine, article is BS by Anonymous Coward · · Score: 0

      That's totally untrue. It does not matter in what format you save the logs. The way you handle the logs matters. If i have timestamps like this:
      2015-03-20 16:34:32:123 yab yab yab yab yab
      2015-03-20 16:34:32:146 yab yab yab yab yab
      2015-03-20 16:34:32:168 yab yab yab yab yab
      2015-03-20 16:34:32:183 yab yab yab yab yab
      2015-03-20 15:34:32:000 yab yab yab yab yab
      2015-03-20 15:34:32:021 yab yab yab yab yab
      2015-03-20 16:34:32:047 yab yab yab yab yab
      It's exactly the same shit in text and binary. How you handle the fact that suddenly time goes back an hour in the log does not depend on the way you saved the information.

    7. Re: It supports it just fine, article is BS by Anonymous Coward · · Score: 0

      oops, the last entry was supposed to be 15 also

    8. Re: It supports it just fine, article is BS by Anonymous Coward · · Score: 0

      Your mistake putting together a simple example of a text log file just goes to show that the GP is right. Binary logs are more resilient, and the mistake you made would not have happened if you were using a binary log format.

    9. Re:It supports it just fine, article is BS by WuphonsReach · · Score: 1

      Typical NTP from the public pool seems to be anywhere from 0.5ms to 2.5ms. Which is good enough for practical purposes for most things.

      With luck, good components, and good climate control, you can usually manage to keep an internal LAN within about 1/5th of a millisecond. Maybe 1/10th if everything is well behaved.

      --
      Wolde you bothe eate your cake, and have your cake?
    10. Re:It supports it just fine, article is BS by Bengie · · Score: 1

      In my experience, the public NTP pool is up to 30ms off. I have NEVER had all of my public pool server agree at the same time, there has always been at least one that is way off.

  2. On the subject of self-driving cars by Anonymous Coward · · Score: 0

    I think we are starting to see that perhaps defining sanity solely in societally-defined terms might not always be an appropriate methodology.

  3. ORLY? by Anonymous Coward · · Score: 3, Insightful

    That's assuming self-driving cars and medicine have any place at all on the internet.. Which they don't, if you ask me.

    1. Re:ORLY? by Lunix+Nutcase · · Score: 3, Insightful

      Yes, but you aren't an "Internet of Things" seller.

    2. Re:ORLY? by Anonymous Coward · · Score: 0

      This. The thing that endangers the Internet of Things is stupidity, lying, and marketing (I know, I'm being redundant). In many cases, such stupidity will cause the Internet of Things to endanger actual people.

    3. Re:ORLY? by westlake · · Score: 1

      That's assuming self-driving cars and medicine have any place at all on the internet.. Which they don't, if you ask me.

      The self-driving car must respond correctly to changes in the weather, traffic reports, detours, road-closings, and the like. Will it take the elevated highway that locals have learned to their cost is extraordinarily dangerous in high winds?

    4. Re:ORLY? by Bing+Tsher+E · · Score: 1

      Most of those are instances of data that are real time and not dependent on a time stamp or any form of synchronization. The weather now is the weather now. Traffic reports are about the traffic now.

    5. Re:ORLY? by Anonymous Coward · · Score: 0

      I work for one of the top 10 IT companies in the US as a data analyst/developer.

      I wouldn't be too worried about what the IoT sellers sell.

      Big boss told in our annual meeting, that IoT is good for business. He just sells IoT solutions to large companies and essentially they are just upgrades to same old systems. Nothing new, just same old. But lots of new buzzwords to throw around and CIOs are forced to upgrade - or they fall behind the curve..

  4. NOT "network timekeeping", just timekeeping by Chirs · · Score: 4, Informative

    The network is not necessarily involved. The example given of a self-driving car talks about the amount of time taken to distinguish between a plastic bag blowing in the wind and a child running in front of the car. This is not "network" timekeeping, just regular real-time processing.

    1. Re:NOT "network timekeeping", just timekeeping by mrlinux11 · · Score: 2

      Yep they are trying to ascribe 2 different things to inaccurate network time. Real-Time systems do not need to know the Date/Time in most cases, they need an accurate timer/heartbeat. Inaccurate time(clock) can cause authentication failures in some cases.

    2. Re:NOT "network timekeeping", just timekeeping by CreatureComfort · · Score: 3, Funny

      Plus, self-driving cars, in particular, will be using the time stamps from GPS, which is about as accurate as you can get outside of a lab these days, and far more accurate than anything the vehicle will need it for.

      Now what time source my IoT toaster will use, to brown my bread for exactly 23.5439263 seconds, starting at precisely 13minutes and 4.5098 seconds after local dawn... THAT I am concerned about!

      --
      "Unheard of means only it's undreamed of yet,
      Impossible means not yet done." ~~ Julia Ecklar
    3. Re:NOT "network timekeeping", just timekeeping by ShanghaiBill · · Score: 1

      This is not "network" timekeeping, just regular real-time processing.

      Besides, SDCs don't get their time from "the network", they get it from GPS satellites, which are accurate to within a few nanoseconds. How far does a wind blown plastic bag move in a nanosecond? The width of a molecule?

    4. Re:NOT "network timekeeping", just timekeeping by Anonymous Coward · · Score: 2, Funny

      Without accounting for relative humidity and possible changes therein at start and end times? Are you mad?

    5. Re:NOT "network timekeeping", just timekeeping by plover · · Score: 2

      Remember that the bag's Zigbee radio is broadcasting the bag's location constantly in real time, whereas the child's embedded GPS transceiver is using an accelerometer to help predict when the child will zip across the roadway; plus the child's Wi-Fi chip, network path, etc., will all add latency. If that child's GPS receiver has lost signal due to interference, it's going to need to rely on inertial navigation and its own free-running clock to send the predictions of future locations to the car, and those might be out of sync, depending on how long the child has spent in the basement.

      Oh, wait. Children aren't having embedded ADS-B chips surgically implanted yet? And random trash bags don't have Zigbee? Hasn't someone been thinking of the children?

      --
      John
    6. Re:NOT "network timekeeping", just timekeeping by Anonymous Coward · · Score: 0

      Light goes almost a foot in a nanosecond.

      http://www.wolframalpha.com/input/?i=how+far+does+light+travel+in+1+nanosecond

      You've made a compelling case for plastic bag positional variation as a function of nanotime, but woefully underestimated the magnitude of delay in getting the nanosecond accuracy from the time source down to the devices that use it.

      Of course, the real problem is one of trust. Do you trust that a data point about a road hazard is correct if it was observed 100ms, 30 seconds, or 6 hours ago. And should that data point indicate severity of issue if unresolved? e.g., bridge out vs plastic bag or tumbleweed crossing street. Digital signatures have to become ubiquitous to differentiate between a road condition data point from an unmodified SDC from manufacturer G, vs report of unicorn crossing from cell phone of crack head with no trust chain.

    7. Re:NOT "network timekeeping", just timekeeping by itzly · · Score: 1

      Exactly, and real-time processing with safety critical deadlines is nothing new. That stuff has been done since the very first computer systems were used in industrial control.

    8. Re:NOT "network timekeeping", just timekeeping by I4ko · · Score: 0

      The definition of a nanosecond is: The time between the traffic light showing green and the honk of the guy behind you in Pernik. That is some city in eastern Europe

    9. Re:NOT "network timekeeping", just timekeeping by aix+tom · · Score: 1

      Well, if the "network" is and should not be involved, then why do they ramble on about the "internet of things" in the article. That's what I don't get.

      The short form of the article basically is "The IoT won't grow as fast as we would like, unless we do a massive upgrade on a lot of stuff so what we can do things over the network that make absolutely no sense to do over the network anyway".

      It's like demanding that the postal service gets upgraded until it is efficient enough so you can sent a letter to your wife lying in bed beside you faster that you can tell her something in person.

    10. Re:NOT "network timekeeping", just timekeeping by Darinbob · · Score: 1

      Accurate time(clock) is very necessary to wireless networking, point to point or meshed. A node must know when its neighbors are hopping to new channels. Almost all of the internet-of-things protocols and techniques are not going to be relying on some global beacon to keep things in sync (except for the dumb IoT stuff that's merely bluetooth to your phone). Either that's requires a distributed beacon or a distributed time synchronization method.

      Even with self driving cars that matters. The car may want to communicate when a sensor or device in the stoplight up ahead or embedded in the road. This means that time should be kept in sync even as the car moves around in the network and a few milliseconds of difference can disrupt the communication.

    11. Re:NOT "network timekeeping", just timekeeping by Darinbob · · Score: 1

      GPS is expensive though, especially when these IoT devices may be running on batteries that are not being recharged nightly. GPS is good when you have it, but it's still just a starting point as some networks may require a tighter synchronization of time than GPS offers.

    12. Re:NOT "network timekeeping", just timekeeping by Loconut1389 · · Score: 1

      moreover the cars GPS is probably a more accurate source anyway, relative to mobile data network variability.

    13. Re:NOT "network timekeeping", just timekeeping by Anonymous Coward · · Score: 0

      Perhaps a way to transmit a atomic clock based time signal on an AM carrier could be devised somehow.. ;)

    14. Re:NOT "network timekeeping", just timekeeping by Duhavid · · Score: 1

      You didn't factor in bread types, densities and thicknesses.....

      --
      emt 377 emt 4
    15. Re:NOT "network timekeeping", just timekeeping by voights · · Score: 1

      GPS has excellent precision. There is almost literally nothing better than GPS timekeeping.

    16. Re:NOT "network timekeeping", just timekeeping by Bing+Tsher+E · · Score: 1

      Poptarts will come with a certificate of calibration right in the box. Readable by the toaster with RFID.

    17. Re:NOT "network timekeeping", just timekeeping by Bing+Tsher+E · · Score: 1

      Clearly for Google'sself driving car initiative to work, implants need to be widely implemented.

      I just hope my 2006 Ford Ranger (a profoundly dumb car) remains street legal for it's whole usable life. I'm wishing for another decade at least.

    18. Re:NOT "network timekeeping", just timekeeping by X0563511 · · Score: 1

      Shortly thereafter, toasters will be designed to quietly burn anything that doesn't have a cryptographically signed RFID tag...

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    19. Re:NOT "network timekeeping", just timekeeping by bn-7bc · · Score: 0

      Yes there is Galileo (once all sattelites are up an you hava a two frequency reciver) will probably be better until GPS Block IIIA is operational, so for applications where you need realy precise time synching your best bet witt be a local (as in on site) galileo reciver that serves to sync a ntp+ptp server used to sync all on site system Disclaimer: I am not an expert on time sync problems so any corrections are greatly appreciated

  5. Internet of Bullshit by Anonymous Coward · · Score: 0

    Who gives a fuck

    1. Re:Internet of Bullshit by Lunix+Nutcase · · Score: 3, Insightful

      Dice.com.

  6. You're doing it wrong. by Jason+Pollock · · Score: 5, Insightful

    There is no "now" [1]. If you're relying on accurate timing from a network, you're already broken. If you require accurate local times, then you know that and know the error terms on your clocks. Standard OS clocks only tick at about 100hz, so you're always out by an average of 5ms anyways.

    [1] https://queue.acm.org/detail.c...

    1. Re:You're doing it wrong. by Anonymous Coward · · Score: 1

      And an atomic clock can synchronize it. If the precision requirement is lower, the average network latency can be used to adjust for it. Still, this problem has been solved over and over again with not much issues in multiple industries. I have seen it work without issues with precision below a millisecond.

    2. Re:You're doing it wrong. by OzPeter · · Score: 2

      If you require accurate local times, then you know that and know the error terms on your clocks.

      And that was the issue pointed out in the second FA - that the error terms are so badly defined that it affects "correctness" of operation.

      “For example,” he writes “for a driverless car to decide whether what it senses ahead is a plastic bag blowing in the wind or a child running, its decision-making program needs to execute within a tight deadline. Yet modern computer programs only have probabilities on execution times, rather than the strong certainties that safety-critical systems require,”

      While I can't argue the merits of timekeeping one way or another, I'm wondering if the reporting of this report has actually gotten the way of the what the report is actually about, because I would want my safety systems running on a hard real-time OS and this quote implies that they aren't.

      --
      I am Slashdot. Are you Slashdot as well?
    3. Re:You're doing it wrong. by 0123456 · · Score: 1

      Real-time OS. You're funny.

      Do you really think the outsourced programmers developing Things for the 'Internet Of Things' will do anything but hack together the code in Java or Python on the cheapest OS they can find?

    4. Re:You're doing it wrong. by sjames · · Score: 1

      Even there, the example is not quite right. The computer needs to decide if it's a paper bag on a tight deadline. It's OK if it still doesn't know at the deadline as long as it applies the brakes assuming it's a child. It's fine if it only 'realizes' after applying the brakes that it's a false alarm.

      But, of course none of that is at all related to timekeeping. The exact time of day doesn't alter the problem.

    5. Re:You're doing it wrong. by Jason+Pollock · · Score: 1

      Providing an answer inside of a deadline is an entirely different problem to knowing the current time, and you definitely do not need an accurate clock source to do it.

      Even driving a car doesn't require split second timing. If it did, human's wouldn't be able to do it. That's why we've got the 2s rule...

    6. Re:You're doing it wrong. by suutar · · Score: 1

      The ones for cars hopefully are, because the car companies have a concept of liability for poor design decisions and they're likely to have or know someone who realizes that RTOS is going to work better for that case than what you'd put on a web server. Like the folks who do the firmware for the engine control system; that's got some reasonably tight time tolerances.

      Toasters, not so much. Then again, toasters don't really care about windblown bags.

    7. Re:You're doing it wrong. by Jeremi · · Score: 1

      Do you really think the outsourced programmers developing Things for the 'Internet Of Things' will do anything but hack together the code in Java or Python on the cheapest OS they can find?

      Some companies will do a half-assed job, and some will do a more thoughtful job. Then the market will decide whether or not it's willing to pay the extra money to have things done well. The outcome will depend a lot on what the particular Thing is used for, and what the costs of the occasional malfunction are vs the extra development costs of developing the software 100% correctly.

      --


      I don't care if it's 90,000 hectares. That lake was not my doing.
    8. Re:You're doing it wrong. by itzly · · Score: 1

      And in case of safety critical devices, such as autonomous cars, there will be probably be government mandated regulations in addition to market forces.

    9. Re:You're doing it wrong. by Hognoxious · · Score: 1

      Even that's a relative2s, a delta; the difference between when the vehicle in front passes a marker and when you do.

      It doesn't matter whether those seconds start at 09:35:27 or 23:59:59[1].

      [1] If your software's written right. I've seen supposed one minute delay loops that would run forever if midnight fell in the interval.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    10. Re:You're doing it wrong. by Darinbob · · Score: 1

      Nothing doing IoT should be doing "standard OS" anyway.

    11. Re:You're doing it wrong. by Darinbob · · Score: 1

      Hmm, I'm doing IoT using a mix of C and assembler. Not outsourced though. I can guarantee that the outsourced people will not be going python or java except as back office data churning or mock-ups to show to the investors.

    12. Re:You're doing it wrong. by Anonymous Coward · · Score: 0

      Nanny-state communism.
      --
      udachny

    13. Re:You're doing it wrong. by Bengie · · Score: 1

      Newer hardware supports millions to tens of millions of times per seconds. My home firewall is kept withing 0.1ms of a remote NTP server that's about 2000 miles away round trip. It's a hardware tick that is programmable and can schedule interrupts. The OS can check the current counter to see how much time has elapsed since the last check, and NTP clients can adjust the frequency to adjust for skew.

    14. Re:You're doing it wrong. by Anonymous Coward · · Score: 0

      Hrm? FreeBSD defaults to 1000 Hz. Linux is usually set higher than 100 Hz, though 100 Hz is still a kernel config option.

      I don't get the article, anyway. It's been simple to me: 1) plug in timesource that has a driver for a NTP server; 2) start the NTP server; 3) point the NTP client on other computers at the NTP server from (2). It's hard to see how the guy got 26 pages out of worrying, except for one thing: GPS manufacturers could be a little bit less stingy with their PPS availability and cabling. It would make computer timing vastly more accessible to the average consumer.

    15. Re:You're doing it wrong. by hyperfine+transition · · Score: 1

      Standard OS clocks only tick at about 100hz, so you're always out by an average of 5ms anyways.

      Nope. Although the system interrupt is only between a few hundred Hz and a kHz, other, faster counters are used to interpolate between these ticks. So on Linux, eg the Time Stamp Counter in the CPU can be used to improve the timestamp resolution to a microsecond, or even nanoseconds, with the nanokernel patch (which is standard in the BSDs, I think).

    16. Re:You're doing it wrong. by ChunderDownunder · · Score: 1

      I expect Apple Watch apps will be written in Swift.

      But now you're telling me the watch itself won't keep accurate time because Darwin isn't an RTOS? Suckers!

    17. Re:You're doing it wrong. by EETech1 · · Score: 1

      It's incredibly precise, I used to test ECU software to 12,000 RPM. That's 200 Revolutions per Second, or 72,000 Degrees per Second.

      At 33Mhz, you have about 458 clock cycles per degree, so if you have a 60 tooth crank sensor with 6 degrees per tooth, you have a real time position update you need to task switch to, synchronize with, and schedule events on coming every 2750 clock cycles. In between them, you have to read filter and diagnose all of the sensors so you can look up, interpolate, and calculate all of the fuel and spark info, convert it back to binary time counts, then load or reload all of the different hardware timers safely at the proper time so they don't skip or wrap around.

      You have to have over 7200 events (start and end of: fuel, air, spark on a 6 cyl, low emissions 2 stroke) happen at the exact time every second or the engine will misfire.

      Starting with the Motorola MPC555 there was also a TPU (Time Processing Unit) that had multiple "self-synchronizing" counters and timers you can daisy chain, that took care of most of the heavy lifting (besides scheduling it!!!)

      The TPU, along with a PowerPC core or two now allows modern ECUs to calculate everything based on a Simulink model of the engine while all of this is going on.

  7. Totally irrelevant! by Anonymous Coward · · Score: 0

    The so called "Internet of Things" is totally irrelevant! Its ONLY purpose is to give corporations and governments (which are the same thing in most countries now) more ways to spy on people and take away their rights, especially the right to privacy!

    1. Re:Totally irrelevant! by 0123456 · · Score: 1

      Don't forget forcing mandatory upgrades, removing features and charging you to add them back. then announcing that they're moving to a subscription model, and if you don't pay them $500 a month, your house will no longer work.

      I remember reading an SF story once where everything was 'smart' and people even had to put a quarter in the lock to get in and out of their house; that's the future the rentier corporations want to see.

    2. Re:Totally irrelevant! by Darinbob · · Score: 1

      If you don't want your utilities to spy on how much of their resources you are using, then disconnect from the grid and the pipes.

  8. Duh by Anonymous Coward · · Score: 2, Informative

    Nobody has ever depended on accurate time synch delivered over a network system with zero guarantee of packet delivery, let alone guarantee of delivery time. NTP has always just been "Good enough" to make sure your systems to be on the same date/time so things can synchronize in a somewhat organized fashion.

    Anything requiring honestly accurate time synch has always relied on external synchronization schemes. Ultra-accurate clocks, sometimes synched with outside networks that /do/ have guarantee mechanisms.

    But that was in the past. Long gone are the days of special 1000 dollar add on-cards for scientific and specialized computing applications.

    Now you can get a GPS chip for 25 cents and draw a half-inch antenna on the outer edge of your PCB.. And guess what? High quality, accurate time sync that rivals the most expensive solutions from yesteryear. Fuck. The SoC that your IoT device is running on probably has half of that circuitry already built in (Along with Wifi, bluetooth, etc) so your GPS transceiver chip probably only costs half that.

  9. Easy problem, easy solution by Anonymous Coward · · Score: 0

    Since we're connected to the IOT already ..... just have a reasonably accurate local time source, and synchronize the time once a day.

    Is NIST hoping for some extra funding?

  10. "probabilities on execution times..." by Bob_Who · · Score: 1

    Sounds like another real job for a "quantum computer"...

  11. Finally! by ArcadeMan · · Score: 1

    "modern computer programs only have probabilities on execution times, rather than the strong certainties that safety-critical systems require."

    So, we're going back to coding in assembly and calculating the execution time of opcodes, right?

    1. Re:Finally! by Obfuscant · · Score: 1

      So, we're going back to coding in assembly and calculating the execution time of opcodes, right?

      No, we're admitting that non-realtime OSs cannot guarantee when a program will be executed or that it won't be interrupted in the middle for some other task. It is a Bad Thing if the program that is in charge of determining whether your autonomous vehicle is about to hit a small person or a wind-blown plastic bag is currently swapped out because the mp3 player is processing your touch-screen input, or even if it is waiting for disk I/O to complete.

      Coding in assembly will not solve that problem.

      I would also not be surprised to find that the "bag/child" program was not running at the moment because the car's computer had just downloaded a critical update from Microsoft and was rebooting to install it.

  12. I don't buy it. by Anonymous Coward · · Score: 2, Insightful

    I am a professional real-time embedded software engineer working with mission-critical networking devices. I don't buy the claims in the article because I don't understand _why_ internet-of-things devices need to have tight time sync or be real-time deterministic.
    Accurate time sync is challenging - especially if you have wireless asymmetric links with non-deterministic latency.

    Rather than trying to fix time sync, we should be questioning the reasons why we require tight sync to begin with. It is definitely necessary in certain situations, but those are far from the norm. In most cases where lives are not at stake, it's way easier and more sane to implement your system such that it does not need super accurate time sync.

    1. Re:I don't buy it. by ralphsiegler · · Score: 2

      The article is just click bait nonsense like 66% of what is linked from slashdot, it confounds at least three OS time-related concepts.

    2. Re:I don't buy it. by Guspaz · · Score: 4, Informative

      Exactly. The vast majority of Internet-of-Things devices can solve the problem by just installing ntpd and being done with it. My refrigerator or coffee maker or dehumidifier don't need hyper-accurate timing, and in the past year my devices running ntpd have never been more than around a tenth of a second off, which is still more accurate than anything that I actually need.

      I get that you may need hyper-accurate timing for some things, but if something is so critical that a few milliseconds of clock skew can kill people, it shouldn't be connected to the Internet anyhow!

    3. Re:I don't buy it. by Anonymous Coward · · Score: 0

      whatcha gonna do when 99% of your local network traffic is ntp packets from all of the devices in your house?

    4. Re:I don't buy it. by Guspaz · · Score: 1

      Call the producers of Hoarders, because for that to happen there would need to be IoT devices piled so high in my home that I could not reach the computer.

    5. Re:I don't buy it. by nanoflower · · Score: 1

      Why would it need to be that much. The devices should be able to maintain their own vision of time accurately enough that syncing to the outside world once a day would be more than enough. If you have a master time server inside the house the traffic won't even hit the world outside of your home.

    6. Re:I don't buy it. by Anonymous Coward · · Score: 0

      No kidding.

      I too have written a few of these IoT devices. Most of the ones I have written if you are +/- 5 seconds most people were pretty happy.

      Most of them are sample applications that talk back to some central server that then makes a decision. That can take an hour or two to come back.

    7. Re:I don't buy it. by Bengie · · Score: 2

      1000 NTP clients would average about 1Kbits/s total. You're going to need a whole lot of "internet of things" before bandwidth becomes an issue.

  13. Why not have devices get their time from GPS? by mmell · · Score: 4, Insightful

    The clocks are hyper-accurate, world accessible and the technology is sufficiently robust and mature to be considered essentially bulletproof. It relies on a broadcast technology that scales to any number of receivers you care to connect and doesn't get bogged down by additional loading. Best of all it's managed and maintained by the US Government - but it works correctly anyway.

    1. Re:Why not have devices get their time from GPS? by Anonymous Coward · · Score: 0

      Silly! How would that channel extra funds to NIST?

      You'll never be an MBA, son.

    2. Re:Why not have devices get their time from GPS? by Durrik · · Score: 2

      This works nicely for self driving cars which need GPS anyway. I have no idea why self driving cars were listed. And for the times that it can't get a GPS signal the internal clock shouldn't drift that much. Unless the self driving car is 100% underground it should be able to find a GPS signal to time sync to often enough.

      Things inside a building might be harder. But there are things that take a GPS signal and put a NTP server on the network. All you need is on of these and you're fine for the local network. I used these 10 years ago when working on base stations, and they provided a very stable 10 MHz reference clock too. And they're not that expensive, I was looking for one for home because I'm a little anal about time some days.

      --
      Software Engineer & Writer of Military Science Fiction and Fantasy Blog: petermwright.com Twitter: WrightPeterM
    3. Re:Why not have devices get their time from GPS? by phantomfive · · Score: 1

      Or better yet.....write software that doesn't depend on a precise time for security.....

      --
      "First they came for the slanderers and i said nothing."
    4. Re:Why not have devices get their time from GPS? by snowgirl · · Score: 1

      Silly! How would that channel extra funds to NIST?

      http://tf.nist.gov/time/common...

      Because NIST developed the "Common view time transfer using the GPS system"...

      Because NIST has a finger in everything having to do with measurement?

      Clearly, you'll never be a politician, son!

      --
      WARNING! This girl exceeds the MAXIMUM SAFE standards established by the FDA for BRATTINESS
    5. Re:Why not have devices get their time from GPS? by adolf · · Score: 1

      The problem with network time is that it relies on network access. It fails in all of the same ways that GPS wins.

      But it doesn't matter much because GPS repeaters are things that exist. Some additionally handle GLONASS, thus limiting reliance on any singular government's system.

      For example.

    6. Re:Why not have devices get their time from GPS? by Anonymous Coward · · Score: 1

      GPS is robust?

      They rely on an ultra weak signal being received from satellites that are 20,000 km away from the user.

      GPS receivers have their limitations. You can get an idea of the timing accuracy by looking at the positioning accuracy. Roughly dividing the positioning accuracy by the speed of light gives you the timing accuracy that can be achieved. A typical consumer grade GPS in open-sky conditions will get you around 10m accuracy. Lets call it 9m and the speed of light lets say it is 3e8m/s for easy math. Then the timing accuracy will be 30 ns. IDNRTFA. Is 30ns good enough?

      Then you have to think about where computers are typically located. Indoors...hmmm...GPS is not that great indoors even the high sensitivity receivers designed for cellphones. These receivers indoors can get as bad as 200m errors. Let's call it 300m which can happen in poor signal conditions. Now you are looking at 1us of error inside the GPS. You also need to transfer the time from the GPS receiver to the computer that is using the time. This will introduce even more error. Assuming you have a PPS signal from the GPS to the computer then you will only be adding in the error in your ISR latency. When the PPS signal is sent to the computer you will need to timestamp when the PPS signal was received using the computers local clock so you can get the relationship of the computer's local clock time to that of the GPS system time. Depending on the OS, the ISR latency can be anywhere from 100s of ns to may 1 ms for a really crappy OS (you fill in the name). You can try to calibrate out some of the delay, but I think if you get it down to 1us of error you have done well for yourself.

      So now you are looking at roughly 1 or 2 us accuracy at the computer. Is this good? Also, don't forget, once you have established the relationship between the computer clock and the GPS system time that the computer clock is going to drift. So you need to keep estimating it. How bad can it get? Lets assume 2PPM of error in the computer clock oscillator. Then in 1 second you will get 2us of error introduced by the computer clock drifting. You can of course try to estimate out a good chunk of this error as well, but you are still looking at 100s of ns. Especially if the computer oscillator is constantly changing temperature.

      If the goal is to synchronize down to the low ms levels, then ok. GPS can work, but only in areas that can receive the GPS signal. Not exactly bullet-proof....and hyper-accurate is a subjective term...a couple of micro seconds for some applications is a deal breaker.
       

    7. Re:Why not have devices get their time from GPS? by Hognoxious · · Score: 1

      Being disabled on a whim by the US or Russian government is a win?

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    8. Re:Why not have devices get their time from GPS? by adolf · · Score: 1

      Having a backup is a win. The GPS in my phone does both, concurrently.

      And good luck on getting the US and Russia to agree to do anything at the same time...

    9. Re:Why not have devices get their time from GPS? by memph · · Score: 1

      They are aware of that, from the report:

      "though GPS is now embedded in many systems for time and frequency transfer, there is an urgent need to back it up, or allow for appropriate holdover"

      They seem to want funding for research into better hardware for the timekeeping itself. better then the quarts crystals we currently use.

    10. Re:Why not have devices get their time from GPS? by Anonymous Coward · · Score: 0

      How is GPS being disabled any different from a broken antenna, or driving through a tunnel, or faulty wiring?

      I would expect my self-driving car to be equipped with at least two, perhaps more redundant systems. Cars communicating with each other forming highway trains and other tricks would be great. But if the car loses connection with the network for any reason, it should still function sufficiently to at least get me to safety. In this situation I expect a second more primitive but also more reliable system to kick in, where the car simply uses it's own sensors and judgement to drive and follow the rules of the road, as a human being would, at least until it can reconnect with the hive mind or get to a repair shop.

    11. Re:Why not have devices get their time from GPS? by Anonymous Coward · · Score: 0

      That would be great if GPS was both cheap and very low power. Adding a $10 module to every sensor doesn't seem like a great idea.

    12. Re:Why not have devices get their time from GPS? by Bing+Tsher+E · · Score: 1

      GPS is already just about important enough to be Too Big To Fail. Doesn't mean it couldn't fail, of course, and there are probably people out there working on making it fail.

    13. Re:Why not have devices get their time from GPS? by Anonymous Coward · · Score: 0

      Being disabled on a whim by the US or Russian government is a win?

      Yes.. because it's an OR, not an AND.

      You only need to sync with one.

    14. Re: Why not have devices get their time from GPS? by Anonymous Coward · · Score: 0

      You dont sync from a single GPS tick, which is good to a few tens of nanoseconds for most receivers. You measure a local clock over many seconds, and improve the estimate. Getting sub nanosecond accuracy is easy, although you do have to worry about things like solid earth tides, etc

  14. That's fine since no one is going to use it by Anonymous Coward · · Score: 0

    Who cares? Consumers not totally nutz; they are not going to buy into the Internet of Things.

    1. Re:That's fine since no one is going to use it by Anonymous Coward · · Score: 0

      The IoT will happen anyways. You don't really pick what you buy, you buy what they make available. As companies monetize data from the IoT, they will only sell devices that are connected. I think smart TVs and thermostats spying on you is a good indicator of the future.

    2. Re:That's fine since no one is going to use it by 0123456 · · Score: 1

      And, if you don't buy them, the government will mandate them. Smart TVs will allow them to immediately send police or ambulance to your house when something bad happens, and smart themostats will allow them to control power demand for the most efficient energy usage.

    3. Re:That's fine since no one is going to use it by Bing+Tsher+E · · Score: 1

      They won't be mandatory at first. But insurance will be more expensive for 'the disconnected' because their risks are greater. 'Don't you want to be safe?'

  15. Hooray by Anonymous Coward · · Score: 0

    Since the "Internet of Things" is either Maker/Hipster fail, or Government surveillance, there's really no value lost if it can't happen. /also, I run my own time server, thank you, your piddly port 123 traffic won't escape.

  16. more ways to spy on people by Anonymous Coward · · Score: 0

    Right ON !
    Power to the people.

    The IOT is a massive surveillance grid by Google, Facebook, NSA, and all their partners and shills.

  17. I call bullshit by msobkow · · Score: 4, Interesting

    Anyone who is designing such systems around "accurate time" hasn't got a freaking clue how to build such systems.

    For example, when dealing with spacing on self-driving vehicles, you rely on radar or laser tracking to maintain the separation between vehicles, not some wildly inaccurate network message about the velocity and position sent by other vehicles.

    Medical in particular baffles me. Who in their right mind would design a medical system that synchronizes with anything other than the patient's own body rhythms?

    But hey, that's what happens when you get some simulation designers trying to apply their single-clock logic to complex systems. They don't think about how real systems work -- the problem isn't an inaccurate time value -- it's an inaccurate understanding of the problem itself.

    --
    I do not fail; I succeed at finding out what does not work.
    1. Re:I call bullshit by Anonymous Coward · · Score: 0

      Who in their right mind would design a medical system that synchronizes with anything other than the patient's own body rhythms?

      How about a pacemaker? Think about that name for a minute.

    2. Re:I call bullshit by QuietLagoon · · Score: 2

      ...Who in their right mind would design a medical system that synchronizes with anything other than the patient's own body rhythms? ...

      If you need to understand how external stimuli affect a patient, you need medical event timestamps that are sync'd to an external agreed-upon clock.

      .

    3. Re:I call bullshit by Anonymous Coward · · Score: 0

      All the device should need is an accurate internal clock. The timestamps can be synced/offset when the data is downloaded from the device.

    4. Re:I call bullshit by dj245 · · Score: 1

      Anyone who is designing such systems around "accurate time" hasn't got a freaking clue how to build such systems.

      For example, when dealing with spacing on self-driving vehicles, you rely on radar or laser tracking to maintain the separation between vehicles, not some wildly inaccurate network message about the velocity and position sent by other vehicles.

      Why not both? I deal with industrial controls somewhat frequently, and it is a common approach to take multiple inputs, align them into comparable units, then weight them according to their importance and add them together. Typically this is done in such a way that if the usual governing input fails, the remaining inputs, combined with the control logic, will guide the system into a safe state.

      --
      Even those who arrange and design shrubberies are under considerable economic stress at this period in history.
    5. Re:I call bullshit by Darinbob · · Score: 1

      If something is on a network they very often need accurate time. Wireless networks especially. Even your basic dumb wifi depends on timing signals from the access point, and your dumb smart phones require accurate times from the cell access points. Many medical devices are on a network; it's a method to get data back and forth from the medical device that is in the exam or operating room back to storage for images or patient records.

    6. Re:I call bullshit by rdnetto · · Score: 1

      There's a difference between elapsed time locally and globally. Locally (i.e. on a single processor), you can have some meaningful concept of absolute time (i.e. whenever the timer interrupt fires). The moment you introduce a second processor, you run into issues where they can be ticking at different rates, and the non-trivial delay in communications between them means that you can't ever hope to synchronize them to the extent you can assume they are the same.

      For most applications, you can get away with fairly large tolerances. e.g. wifi is probably fine with 1% variations in your concept of how long a second is. But that only works because you're using local elapsed time. If you need to compare timestamps from multiple nodes (global absolute time), you need to use approaches like vector clocks, because otherwise there's no meaningful way to reason about whether two events happened before each other.

      tldr; protocols like wifi just need elapsed time to be roughly correct. Comparing timestamps between systems is much, much more complicated, and you can't even infer an ordering for the general case without casuality. (In that sense, there are a lot of parallels with relativity.)

      --
      Most human behaviour can be explained in terms of identity.
  18. NISTerical by SledgeHammerSeb · · Score: 1

    A regular hissy fit over something they don't yet control.

  19. So long as my souffle isn't burned by Anonymous Coward · · Score: 0

    So my oven turns off a few seconds later, who care. Kidding

  20. Can we stop treating the "IoT" as a real thing? by pla · · Score: 1

    Why does my toaster need to know the time more accurately than, say, a five minute window? For that matter, why does my toaster need internet access?

    For that matter, why the hell do I want my two-ton thin-metal-shelled death trap visible on the internet while flinging its contents (me) down the highway at 80MPH?

    1. Re:Can we stop treating the "IoT" as a real thing? by Lunix+Nutcase · · Score: 1

      For that matter, why does my toaster need internet access?

      Because companies need you to be a good little consumer whore and buy worthless junk you don't need.

    2. Re:Can we stop treating the "IoT" as a real thing? by Anonymous Coward · · Score: 0

      Three words:
      Daylight Savings Time

      This is the sole reason I have "internet connected microwave" in my search history. And it's also why I have "little person mud wrestling a seal" in there. Honest.

    3. Re:Can we stop treating the "IoT" as a real thing? by Anonymous Coward · · Score: 0

      I may not care if my toaster is within 5 minutes of real time, but I do care if it is not closely synced to the rest of my kitchen. After all when I tell the house I want 2 eggs over easy a slice of toast and orange juice for breakfast at 6am I do not want eggs at 5am, toast at 6:30 and OJ at 3 in the afternoon. In fact I want them complete within a few seconds of each other, close to the time I requested them.

    4. Re:Can we stop treating the "IoT" as a real thing? by Anonymous Coward · · Score: 0

      Why does my toaster need to know the time more accurately than, say, a five minute window? For that matter, why does my toaster need internet access?

      When you are building a large spy network, you need the times to correlate for positional accuracy.

    5. Re:Can we stop treating the "IoT" as a real thing? by pla · · Score: 1

      when I tell the house I want 2 eggs over easy a slice of toast and orange juice for breakfast at 6am I do not want eggs at 5am, toast at 6:30 and OJ at 3 in the afternoon

      I put the butter in the pan, put the bread in the toaster, put the eggs in the pan, pour the OJ, flip the eggs, take the toast out, and flip the egg onto it. None of that requires Stratum-1 quality time, or even an internet connection.

      More importantly - You have apparently confused "magic" for "the internet". The fact that your toaster has its own facebook feed (with 27,000 followers, no doubt!) doesn't mean that it can walk over to the pantry (dodging your robotic frying-pan on its way to get the eggs and butter, of course), take out the bread, remove that pesky little plastic clip without breaking it, take out two slices, put the clip back on (again without breaking it), then cook them for you.

    6. Re:Can we stop treating the "IoT" as a real thing? by Anonymous Coward · · Score: 0

      Pity your snark gets confused as thought.

      I said I told the kitchen, of which the toaster is a member, that I wanted breakfast at a particular time. In all honesty such a command would be possible now if someone wanted it to be so. Robots can perform every task needed to be able to conform to such a request: Retrieve foodstuffs, toast, crack eggs etc.

      Further you reduce my comment to a strawman. All I said was that devices needed to be close in time and close to reality. Never did I say they needed a net connection or anything else you mention. I described a situation where a toaster would need to know what time it is to something better than 5 minutes, which is what the post I was replying to questioned.

      OP: Why does my toaster need to know the time more accurately than, say, a five minute window?
      Me: Because breakfast
      You: Me is a confused idiot that thinks things are magic because science ninjas cause global warming
      Me: WTH are you going off about aka this post.

    7. Re:Can we stop treating the "IoT" as a real thing? by Darinbob · · Score: 1

      Your toaster does not need this. The IoT is screwed up by the mass media who don't understand it. The sorts of things that make sense to be networked are off the radar of most mass media journalists who normally write articles about the latest phone apps. Ie, these are electric meters, power transformers, stop lights, street lights, traffic counters, shipping pallets or cargo containers, and plenty of other stuff that has nothing to do with mass market consumer goods.

  21. Radio Time sync? by Anonymous Coward · · Score: 0

    Isn't there a radio signal transmitted in most modern countries specifically FOR synchronising times without a hardline or remote purposes?
    At least, I am sure I read that somewhere.

    And if not, it should be fairly trivial to do over existing infrastructure, especially now that spectrum has been freed up in most countries with the digital TV and radio push.
    More to the point, if we are speaking mission-critical systems like car control, train control, plane control, people WILL create these systems for it. It is the easiest way to do it since all it needs is a software update. (of course, bureaucracy nonsense will obviously get in the way and make that price $100,000 for an upgrade to the software that would be rolled out, and it would be buggy, broken, and cause plains to crash unless the Scorpion team get on it)

    1. Re:Radio Time sync? by jones_supa · · Score: 1

      Isn't there a radio signal transmitted in most modern countries specifically FOR synchronising times without a hardline or remote purposes?

      There is WWV in United States and DCF77 in Europe.

    2. Re:Radio Time sync? by Anonymous Coward · · Score: 0

      But the Republicans hated the employees who worked on it and wanted them to starve so they expelled them from their jobs and refused to pay unemployment. They hate working people. They want us to die. That is the way of their kind. Combined with something their kind doesn't understand like time, and they also get fearful and start striking-out. They're cavemen in that regard. They are the reason all of our clocks are so inaccurate.

    3. Re:Radio Time sync? by Anonymous Coward · · Score: 0

      They don't want you to die, they just want you to be poor and powerless.

      What's the point of being rich if no one else is poor?

      Their mentality really is that simple. That core principle shapes their every action and it's painfully clear once you realize it.

    4. Re:Radio Time sync? by Anrego · · Score: 2

      There's also GPS, for which receivers are very cheap and which provides very accurate time.

      This article is nonsense. Assuming IoT ever becomes an actual thing, the vast majority of devices won't need any better than the "good enough" that NTP provides. Those that do will probably manage their own time using accurate clocks and GPS.

      Time patronization rarely matters. Usually you need an accurate clock (i.e. exactly 100hz) way more than you need your time to be within 0.100ms of someone elses time.

    5. Re:Radio Time sync? by itzly · · Score: 1

      These radio beacons aren't very reliable though. A little bit of interference from some nearby electronics can be enough to lose connection.

    6. Re:Radio Time sync? by silas_moeckel · · Score: 1

      There are many broadcasts with time embedded into them. They are not exactly secure as authenticating the time is far harder than receiving it.

      For IoT really you have two times the local time that needs to be taken of faith to be right (served from a local trusted source) this is your clock display etc etc etc, it keeps the complexity and recently ever changing timezone bits out of IoT devices. You then have a unix clock few IoT devices should need this level of accuracy or complexity, when they do they should always use a local reference as IoT devices should not expect nor require they have any internet access to function NTP seems to fit this role well. I'm not sure NTP levels of time accuracy and complexity will be needed for many IoT objects alarm systems about all that comes to mind.

      --
      No sir I dont like it.
    7. Re:Radio Time sync? by 0123456 · · Score: 1

      You appear to be confusing Republicans with Democrats. Though, to be fair, it's pretty easy to do these days.

    8. Re:Radio Time sync? by Obfuscant · · Score: 1
      There are many 60kHz time signals, including WWVB in the US and others in other countries.

      The easiest time source nowadays is the almost ubiquitous cell phone system. You don't even need a paid data service to get the time from the local cellsite.

    9. Re:Radio Time sync? by jones_supa · · Score: 1

      Are there really situations where every frame has to be received? I believe that for most use cases it is fine if you successfully just get one update every now and then.

    10. Re:Radio Time sync? by Anonymous Coward · · Score: 0

      I enjoyed the things you said here, and how incomprehensible they were.

    11. Re:Radio Time sync? by Anonymous Coward · · Score: 0

      So that's why the time clocks at work quit keeping accurate time. We're not far from Fort Collins where WWV used to transmit from. I used to enjoy getting paid accurately for the time I worked. Now, the Republican owner of the corporation I work for sets the clocks fast in the morning and slow in the middle of the afternoon to short us about ten minutes per day.

      My father worked at Univ of Maryland when the Republicans attacked WWV in the 1930s. They hate time and have for decades. They wanted him fired and for our entire family to starve. In 1966 the Republicans succeeded and while my father had already retired at that point, his friends that still worked there lost their jobs. One of them ended-up homeless because of this. He later got a job at Fort Collins, but he was miserable moving from civilization into the middle of the empty west. He was yet another Republican victim in the long time of millions.

  22. Android POV by 32771 · · Score: 1

    At least as far as Android is concerned it is endangered by an incredibly buggy implementation of the Bluetooth LE stack.

    --
    Je me souviens.
  23. So what? by Narcocide · · Score: 1

    Its hardly the only thing by which "Internet of Things" is endangered. Its far from the biggest threat I'd even say.

  24. Republicans don't care about time... by Anonymous Coward · · Score: 0

    and as long as they rule us, we're not going to be allowed to have it. Their kind simply can't comprehend the concept so they hate us for being smarter than them. That is how they do.

  25. How accurate do we need? by Anonymous Coward · · Score: 1

    DOCSIS cable modems use a Time Division Multiple Access (TDMA) techniques to allow multiple subscribers share their valuable upstream bandwidth. When a cable modem wants to transmit data up to the internet, the data packet must arrive at the cable provider's equipment with a precision around 6.25 microseconds. With this amount of precision, the transit time has to be factored in. Yet this is done all the time with cable modems that cost less than $100 a pop.

    There already exists all the technology required to be very, very accurate and precise.

    1. Re:How accurate do we need? by Darinbob · · Score: 1

      However if you have a network of devices that all need to keep in time sync with each other then this gets a lot harder. If there's no global time source that everyone hears (like a wifi access point) then it's harder still as you have to distribute the time synchronization across the network.

    2. Re:How accurate do we need? by Bing+Tsher+E · · Score: 1

      Be more concrete. Explain to us more about this network of many devices that all need to be so tightly synched. An itemized list of said devices will suffice.

  26. what system? example? by Mirar · · Score: 1

    I couldn't figure out, I can't figure out what they are talking about.

    I've only seen IoT things that either don't care, at all, about time: all the datakeeping is local, and you can ask them or not ask them about the state and the logs (a fridge or a kettle doesn't care what your clock is),

    or IoT things that are real time. that doesn't care what your clock is because they will just want to contact you as fast as possible, like a fire alarm. It really doesn't care what your clock is, it just wants to get the message through as fast as possible - which is a problem, but not this problem.

    Locally IoT things are usually also real-time, and then they only care about highest possible bus delays. Like a car. A car doesn't try to talk to itself like it was several IoT devices. A thermostat reads temperature and adjust the power output accordingly in a timely fashion, knowing that the delay between the reading of the temperature and the switching of the relay isn't too delayed (seconds or minutes is also real-time), if the sensor-relay delay is too long it goes into limp-home mode and probably turns off the relay to be safe.

    I tried to think of cryptological solutions that required to systems on either side to keep an accurate time, but I couldn't. I know some keycode boxes use time as a factor when they generate the login key, but they really don't keep accurate time and that doesn't seem to be a problem...?

    Anyone that come up with a good example?

    1. Re:what system? example? by Mirar · · Score: 1

      and no,

      “For example,” he writes “for a driverless car to decide whether what it senses ahead is a plastic bag blowing in the wind or a child running, its decision-making program needs to execute within a tight deadline. Yet modern computer programs only have probabilities on execution times, rather than the strong certainties that safety-critical systems require,”

      has nothing to do with IoT _nor_ timekeeping.

    2. Re:what system? example? by Anonymous Coward · · Score: 0

      Who the fuck wrote this article!? Epic cluelessness abounds. Self driving cars will need CAT4 PLCs or similar. RADAR + brake I/O means your decision doesn't rely on anything time related. Hell, you normally wire it the other way around. If RADAR reports clear, then the brakes disengage.

    3. Re:what system? example? by Darinbob · · Score: 1

      IoT is a vague concept. I don't think about refrigerators, toasters, or even smart phones, as IoT because those are simple problems to solve. Just but a big noisy access point in the house that everything hears and that is solved, for the consumer electronics stuff that mass media loves to talk about when it says IoT. But for a distributed wireless network of things, running off of batteries that can not be easily recharged, some of which may be moving around, this becomes a very difficult problem.

      I have to work with mesh wireless networks and this time is very important to keeping things working. For example if I need to send a packet to my neighbor then I need to know what channel he will be on when my packet transmits; if the other neighbor is asleep and saving power then I need to know exactly when he wakes up and is ready to listen. This is just for basic communication. In the past when I used mesh with TDMA then the more accurate your got your times sychronized then the higher bandwidth and throughput you could get.

    4. Re:what system? example? by Mirar · · Score: 1

      As far as I know network synchronization has been solved in many different ways already, and is not a problem. Can you give some example on where it hasn't been solved?

      Z-wave, Zigbee, 802.11*, BLE have all solved that. If you invent more (mesh) networks you'll have to solve it for your stack. But it's not like solutions doesn't exist. Or that these protocols have anything to do with IoT. (Timing on networks like ethernet or CAN or radio protocols like GPS or 4g/LTE have all been solved as well, and have even less to do with IoT.)

      I'm not saying it's easy, I'm just saying that these problems are solved and there's no "endangered by inaccuracy" here.

    5. Re:what system? example? by Anonymous Coward · · Score: 0

      Solved, but not necessarily well. The basic 802.11 stuff is too basic, zigbee just has a multitude of problems, etc. The trick really is what to do if you're off most of the time. Those protocols you list are for things that are always on, always connected, and resynching often. Internet of things will encompass devices which are not always on, or which for power reasons must be a lot less chatty than prior solutions.

  27. Why not just use systemd? by Anonymous Coward · · Score: 1

    I think that systemd offers a solution to this problem. It probably includes timekeeping functionality. It also powers all Linux distros, and all IoT devices run Linux. So I don't see why there is even a problem here. All IoT devices could use systemd, systemd will keep the time consistent on all IoT devices, and nobody needs to worry about any of this.

  28. NIST apparently are full of idiots (RTOS anyone?) by Anonymous Coward · · Score: 0

    Isn't this exactly what real time os were developed for and used by millions of computers everywhere to do? Greater scheduler control and guaranteed execution. This article is stupid.

  29. Summarry is misleading... by David_Hart · · Score: 2

    The article talks about synchronization of time between systems and processes, not accurate time, as in my watch is 5 minutes fast.

    If a self driving car is seeing something in front of it and launches an app to determine what that object is, then that app needs to return an answer before the car hits the object and in time to brake to a stop, if necessary. It needs a time signal to understand how much time it has left. The problem, in this situation, is that without some sort of accurate time signal and time synchronization, the object recognition app could take more than the remaining time to develop an answer. Of course, you could launch a second app that acts as an emergency braking program that will hit the brakes in time, even if the object recognition app hasn't returned a result. The problem here is that you still don't know within a rigid level of certainty that the emergency baking app will complete in time.

    In many ways you can see this exact same problem with inexperienced drivers. It takes them longer to process what's in front of them and decide to hit the brakes or not. An experienced driver almost has an automatic awareness ("muscle memory") that gives them an advantage when reacting to situations that they have encountered before.

    My thought is that as these scenarios become "learned", they can be moved to "muscle memory". For example, most firewall devices rely on application-specific integrated circuit (ASIC) for real-time firewall rule evaluation. It seems to me that self-driving cars will require their own version of ASICs that contain "rules of the road" and evaluation shortcuts to handle real-time events without having to rely on time signaling.

    1. Re:Summarry is misleading... by itzly · · Score: 1

      If a self driving car is seeing something in front of it and launches an app to determine what that object is, then that app needs to return an answer before the car hits the object and in time to brake to a stop, if necessary. It needs a time signal to understand how much time it has left.

      It doesn't need a time signal. It just needs to be written in such a way that's its guaranteed to be fast enough.

    2. Re:Summarry is misleading... by Anonymous Coward · · Score: 0

      Perhaps I am missing something. The article seems to be concerned with accurate date/time. Using the car example, why should the a car care what time it is when determining what to do about the object it just detected in its path? When the object is detected, the car should know its speed, and distance to the object. This should tell it how long it has to make the determination between is it a bag or child. The car can start an internal clock when it starts the decision operation. If a decision isn't made fast enough, then it executes some default decision, which in this case would likely be to apply the breaks and stop the car. So what I think we are all talking about is how accurate the car's internal time is, versus is the clock in sync with the network. Am I correct?

      JHG

    3. Re:Summarry is misleading... by Hognoxious · · Score: 1

      It works like this:
      Detector: Object in front!
      Brakes: Engaging!
      [SCREEEECH]

      Not like this:
      Detector: Object in front at 12:25
      Brakes: It's only 12:23, no rush.
      [SPLAT!]

      Only an idiot would design it like the latter. Only an imbecile would assume it's designed like that and write an article about it.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    4. Re:Summarry is misleading... by knorthern+knight · · Score: 1

      > If a self driving car is seeing something in front of it and launches an app to
      > determine what that object is, then that app needs to return an answer
      > before the car hits the object and in time to brake to a stop, if necessary.
      > It needs a time signal to understand how much time it has left.

      What are you talking about? Time to impact = distance-to-object divided by your current speed. Distance is obtainable by radar/sonar/whatever, and speed comes from the same tachometer connected to your car's wheels that provides speed info to the speedometer display. It self-driving-car shouldn't care or need to know what time it is. BTW, how would a GPS system operate in an underground (and/or underwater) tunnel http://en.wikipedia.org/wiki/U...

      --

      I'm not repeating myself
      I'm an X window user; I'm an ex-Windows user
  30. Simple by rasmusbr · · Score: 1

    1. Don't let safety-critical decisions be based on unreliable time sources.
    2. Let each device tag incoming messages with its own timestamps, which never leave the device. Due to the laws of nature messages can safely be assumed to have been transmitted no later than the time of reception.

    I wonder if I should patent this...

    1. Re:Simple by Voyager529 · · Score: 1

      Due to the laws of nature messages can safely be assumed to have been transmitted no later than the time of reception.

      I wonder if I should patent this...

      Yes, patent it. However, be sufficiently ambiguous in your patent that it will somehow apply to time machines. If the patent passes muster, you'll obviously receive a visit from either your future self, or a beta testing team that needs you to not file that patent. Either way, you'll likely end up either very rich, or very dead.

  31. Slashdot summary is confused (surprise!) by Spazmania · · Score: 1

    Article TLDR version: a cluster of microcontrollers (raspberry pis) does not a real-time operating system (RTOS) make.

    The article has to do with deadline-based process timing in a dispersed computing cluster. It has nothing at all do with "network time" which means keeping clocks in sync.

    --
    Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion.
  32. BS by Anonymous Coward · · Score: 1

    Perhaps GP should read up on IEEE 1588-2008 which is also known as the "Precision Time Protocol".

  33. The Internet things in Great Danger! by BadPirate · · Score: 1

    Of not living up to it's marketing. Despite what those idiot investors and marketing folks who over-invested in the buzzword would like us to believe, there will be no internet of things. While one can think of plenty of reasons why any particular object in the house might be slightly improved by being able to share some random status or change to the internet at large; one can barely think of anything that that would greatly improve this behavior. Yes I can get a push notification when the toaster pops... but if I was far enough away not to hear it pop, the toast will be cold by the time I get there anyway. Yes occasionally an internet connected thermostat has allowed me to turn off the heat when I'm away, but mostly it just allows me to tweak it from the comfort of my bed 10 feet away.

    Technology, as it becomes cheaper and the the relative usefulness / to expense ratio goes down will slowly creep into every day crevices of our lives, it doesn't change the fact that this is not because the usefulness of having these things done has gone up, but merely the price of the technology to do so has gone down.

    It's 3D all over again (and again, and again)... There are a lot of folks that REALLY want IoT to be the next huge money maker, and have invested a lot of their gambling money (That's what modern investing on futures is for the most part anyway) on it being HUGE. I think the only thing huge about IoT will be the disappointment.

    --
    - Holy crap, I've got MOD points! Who thought that was a good idea.
  34. Of course NIST would say that! by Tony+Isaac · · Score: 1

    They are the official time keepers, so of course they want the world to rely on their services for better time keeping!

    1. Re:Of course NIST would say that! by hyperfine+transition · · Score: 1

      They are the official timekeepers for the US, along with the U.S. Naval Observatory (which also operates the timescale that GPS satellite clocks are steered to) but they are not timekeepers for the world.

      The international standard for time is UTC, a 'paper' clock which is the average of atomic clocks from all around the world.

  35. Leap seconds by MichaelSmith · · Score: 1

    I have seen this with radar processing chains where different component slew the time at different rates, mostly because of differences in the OS and the time synchronisation software. If one part of the chain suddenly steps its time by a second, downstream components reject its messages.

  36. this is a bs problem by Karmashock · · Score: 1

    First only one system on the network needs to actually check with the internet time servers. Everything else can just check that local system. The most damaging thing is not having the time be wrong but the times be out of sync with each other. I'd much rather have all the systems be 4 hours off in the same direction than have them be every which way with some of them using the right time and some of them not.

    Second, there are a lot of ways to check the time and the NIST is not the only way to do it. A lot of companies maintain time servers that I've found to be more error free. I sync to them more often than not simply because it works more often.

    --
    I've decided to stop wasting my time responding to AC trolls/sockpuppets... so if you want a response from me... login.
  37. Re: Read the PDF. by fhage · · Score: 3, Informative
    Forget the article. If you care about time and computers read the PDF from NIST.

    It covers a wide berth of timing related topics and is information dense. I found no marketing BS in this paper at all.

    ./, Thank you for the link. You are still alive.

  38. Re:NIST apparently are full of idiots (RTOS anyone by Darinbob · · Score: 1

    Time is a big issue here with RTOS, not just scheduling but the synchronization with other devices. The devices don't have the same clocks so there often needs to be some synchronization when they talk to each other, especially on networks. All of the wireless protocols we have depend upon accurate timing so that each node knows which channels to be on at which time. The tighter and more accurate you can get this time then the better your network performance is, and as a side effect the more power you save (very important if you're on a battery that needs to last for years without recharging).

    The internet of things, which is I agree a vague term, will have categories of things which can not use a global beacon sent by an AP and so much synchronize their time in a distributed manner. This is the sort of thing I see the NIST being very interested in.

  39. IEEE1588 by Anonymous Coward · · Score: 0

    There has been done some good progress in deploying good clocks. The LTE network carry a IEEE1588 clock syncronzied, where it is synconized with a GPS clock at the base station.

  40. Re: Read the PDF. by Anonymous Coward · · Score: 0

    ./

    You're in the wrong place.

  41. Risks by Anonymous Coward · · Score: 0

    " self-driving cars will need far higher standards in order not to put lives at risk."

    Well, if you can't even build an ignition-lock that doesn't kill people, it can get hard.

  42. No, it doesn't say that by Anonymous Coward · · Score: 0

    SoulSkill, the article at TheStack is talking about RealTimeProcessing, which means the decision must be made in xx time or else.

    HardRealTime systems are found in a car's anti-lock breaks. They MUST decide in a given time (e.g., 1/100th of a second) or the output is totally useless.

    SoftRealTime systems are found in VOIP systems. The MST decide in a given time (e.g., 1/100th of a second) the the output is of greatly reduced quality.

    This has nothing to do with NETWORK TIME or a RealTimeClock. They are not talking about 3pm. They are talking about always deciding something very fast for safety reasons.

  43. Slow/speed time rather than set it by perpenso · · Score: 2

    It's when LocalTime appears in the future that the fun begins. Snap LocalTime back a few seconds to sync with CurrentbaseTime, feh, probably livable. But make it more than an hour, and do you risk having all of those log entries either being reset to some arbitrary time, or do they have to disappear?

    I once worked on the kernel of a system that had to deal with time updates very carefully to avoid screwing up various user land apps whose programmers never considered that a time delta could be negative. Rather than snap the current reported system time to the correct time I would slow down or speed up the progress of time until reported and actual got sufficiently close.

  44. Re:NIST apparently are full of idiots (RTOS anyone by Anonymous Coward · · Score: 0

    There is no dependency on Time (as in Friday at 3 pm). There is a requirement for accurate frequency, self-clocking, and frequency/phase locking. These problems were solved in decades ago. Nothing of any consequence whatsoever uses Time-of-Day for anything other than interacting with humans -- it is far to inefficient and a highly stupid way to sychronize events.

    The only thing time (as in time of day) is useful for is display to humans since humans are (mostly) incapable of computing the correlation factors required to account for differences in local tick counts between disparate frequency/phase locked systems.

  45. Which life-critical devices will now be IOT? by Anonymous Coward · · Score: 0

    Because I'd like to know which products to run away from screaming if I ever see them.

    "Things which are directly responsible for life safety" and "things which are write-accessible via the Internet" should be one hundred percent disjoint sets. Note that this does not imply that life-critical systems cannot have *components* which are IOT, only that life-critical parts absolutely may not be write-accessible via IOT components.

    I don't care if a car has an IoT system, or a nuclear plant's status monitors get screen-scraped for some silly web app. But if you're a system designer and you would let an Internet-accessible device do anything but passively look at the engine controller, or the reactor's control rod drive system, you need to be locked up for being criminally insane.

  46. The definition of 'b.s. artist' = product mgr. by Anonymous Coward · · Score: 0

    "Hey APK.. you only get to say something when you actually write a piece of software that does not need a 3 year education for the operator to work with it" - by I4ko (695382) on Wednesday March 18, 2015 @04:22PM (#49286645)

    See subject: It doesn't - just an IQ above 10 below plantlife (like yours isn't obviously). You only get to talk to ME that way when you can do better YOURSELF, blowhard.

    ---

    "and... err... you know.. .actually works, instead of just taking 100% cpu for 4 hours." - by I4ko (695382) on Wednesday March 18, 2015 @04:22PM (#49286645)

    My system does nearly 4 million record entries in well under 35 minutes (older Core I7 920)!

    I'd think a "bigshot product manager" like YOU CLAIM TO BE could afford the same or better system as I possess - apparently not (you must be a shoe salesman @ best/most then).

    ---

    "when the same can be achieved with curl/wget, bash, grep, sort and cat under Cygwin in less than 3 minutes.... Your software does not work" - by I4ko (695382) on Wednesday March 18, 2015 @04:22PM (#49286645)

    Doubt it. You don't seem to UNDERSTAND how the data for hosts files works then (obviously) - it's NOT that simple since many providers of them use diff. formats + pack the files with a LOT of "b.s." comments etc. & junk - to get the BEST hosts file, my program shears ALL OF THAT, clean away (string processing's expensive on CPU, but then again, seeing you're a mere "mgt. STOOGE"? I can see your lack of education, experience, & understanding on that note... lol, what else can I say?).

    Plus, that'd mean installing ALL KINDS OF "moving parts" bullshit with runtimes too (overheads galore) - I do it from 1 SINGLE PART I wrote myself... unlike YOUR LIMITED "skillset" making you USE the tools others wrote (but not you yourself).

    APK

    P.S.=> Above ALL else? Listen blowhard: Try doing what I did & get results like my ware being hosted & recommended by the folks @ MalwareBytes here http://hosts-file.net/?s=Downl...

    ... apk

  47. Lost in translation by pegdhcp · · Score: 1

    I am sorry to inform you that there is an old Turkish proverb that states "If my aunt had moustache, then she would be my uncle". This was the first thing came to my mind while reading TFA....

  48. The Time Rift of 2100: How We lost the Future by TheRealHocusLocus · · Score: 2

    The Time Rift of 2100: How We lost the Future --- and Gained the Past.

    WE CAN ONLY BLAME OURSELVES for the Time Rift. From discrete logic to main boards to chipsets to picoboards to nanite molecular clusters, we had machines re-drawing the same machines on smaller scale until they were like dust and pebbles, and yet, everything worked pretty well most of the time.

    THE DISTINCTION between software and hardware had merged, workable modules open sourced and refined with a really clever interconnection scheme. Somewhere along the line we left hardware design from 'scratch' --- and software design to the 'code' level --- behind. Things were no longer constructed for purpose. Software was no longer compiled. We began to plug and play and clone and shim.

    IT WAS HUMANS, amateur enthusiasts even, that first cloned and shimmed small machines into other machines of similar more refined purpose, and they did it with the same techniques we had used to construct analog circuits: locking together this way, and securing with that, test and done. There was an art to it. Where one had once meshed APIs together in the synchronous communications realm, now it was a matter of finding the proper angle and orientation of these smart pebbles, based on their markings and unique shapes. There was a flair to it, and some of this art was as much judged by its appearance as by function.

    BUT SOON WE GREW WEARY of that, and trained our machines to clone, shim and assemble these smaller machines. It was like some cyborg Tetris game where your challenge was to fit the pieces together as they fell from the sky. And the sky was full of pieces. Anything was possible if your reach was long and you gazed far enough, to grasp the perfect puzzle-piece.

    A FEW RESPONSIBLE ENGINEERS of the era took the time to publish diagnostic procedures with which one could fix these amalgamations, should one have the patience to pull them apart to do so, like the SAMS Photofacts of old. Every piece had its own direct interface for configuration and in theory at least, one could fix problems or reconfigure the pieces by simply talking to them directly. They documented these diagnostic and configuration interfaces, often cribbed from the documents of other engineers, which were scarcely ever used now, probing them to discover the more primal pieces within to gather documentation on those too.

    BUT IT WAS THANKLESS to do so, and these engineers found themselves out of work or forcefully retired. Their productivity paled besides younger geniuses who were simple hunter-gatherers, whose cleverness in assembling working prototypes was deft and swift. From concept to bubble-wrap technology companies had little interest in deep documentation. It was seen as a fetish. The thing works! Clone it and done. These hastily made things flooded the market and soon replaced other well-documented things. At times something failed and its inventors could not say why, they just assembled a new one or went bankrupt.

    IN A SAD IRONY as to the supposed superiority of digital over analog --- that this whole professionon of digitally-stored 'source' documentation began to fade and was finally lost. It had became dusty, and the unlooked-for documents of previous eras were first flagged and moved to lukewarm storage. It was a circular process, where the world's centralized search indices would be culled to remove pointers to things that were seldom accessed. Then a separate clean-up where the fact that something was not in the index alone determined that it was purgeable. The process was completely automated of course, so no human was on hand to mourn the passing of material that had been the proud product of entire careers. It simply faded.

    THEN SOMETHING TOOK THE INTERNET BY STORM, it was some silly but popular Game with a perversely intricate (and ultimately useless) information store. Within the space of six months index culling and auto-purge had assigned more than a third of all storage to the Game. Only as the Game itself faded

    --
    <blink>down the rabbit hole</blink>
    1. Re:The Time Rift of 2100: How We lost the Future by TheRealHocusLocus · · Score: 1

      OH --- AND BEFORE YOU GO --- do please look over these necklaces of fine silicon jewels and take one as your own, or for your sweetie. You see they are actually little computers, or 'chips', as ran the great society of old. I have filed off the covering so you can see the tiny chip, which shines in the light. See here! Only a copper or two for each, and if you look me in the eye and promise you will strive to better your mind and help re-build this world, I'll part with it for a shake of the hand.

      Did you know that the little chips in these fine adornments were called IBM Power8 Chips, and they were powered by... coal? Absolutely true! But that is another story...

      --
      <blink>down the rabbit hole</blink>