3 ms·
"realtime" means "latency is bounded to some documented value". "Hard realtime" means it never exceeds that value, and has the same latency every time. "Soft re
by SAI_Peregrinus 6y ago
"realtime" means "latency is bounded to some documented value". "Hard realtime" means it never exceeds that value, and has the same latency every time. "Soft realtime" means it never exceeds that value but the actual latency varies.
That value doesn't have to be anything in particular. Could be 1ms. Could be 100ms. Could be a year. It just has to exist and be documented, and never, ever be exceeded by whatever operations are covered by its guarantee.
- wtallis 6y agoYour description of hard vs soft realtime doesn't match any that I've previously encountered. Generally, hard realtime means missing a deadline in unacceptable, but does not necessarily imply that latency is exactly fixed—just bounded. Soft realtime means that the consequences of missing a deadline are less severe, so the system may allow for some missed deadlines: eg. dropped packets for a video conference or delayed frames for a video game are noticeable especially if they become common, but they don't crash the whole system and the system remains useful even after missing a deadline.
- snvzz 6y ago>and has the same latency every time. There's no such requirement. All hard realtime needs is the guarantee that the value will never be exceeded.
- SAI_Peregrinus 6y agoRight. Should have written "same maximum every time". Went stupid for a minute.