Haunted by ancient history
Haunted by ancient history
Posted Jan 9, 2015 23:33 UTC (Fri) by dlang (guest, #313)In reply to: Haunted by ancient history by moltonel
Parent article: Haunted by ancient history
you can't get it within 200% of the ideal value, it may not be possible to get it within 2000% of the ideal value. And the ideal value will change from time to time with no notice.
any software the uses delay loops is broken on a multi-user or even multi-application machine, let alone using bogomips to calibrate such loops.
That said, breaking software that's doing the wrong thing still isn't acceptable. Even if the software is maintained, getting the new version into the hands of users can take a LONG time. Rsyslog is very actively maintained and is on v8.6 right now. We still get people asking questions about v3.x, which was out of date in 2006.
Posted Jan 10, 2015 0:52 UTC (Sat)
by moltonel (guest, #45207)
[Link] (2 responses)
Since Linus has decreed that bogomips should be kept, we should keep it in the form that applications expect. We all know that that form is completely broken, but that's irrelevant. Apps ask a stupid question, and Linux gives a stupid answer in the name of retrocompatibility. That's what Linus asked for, and I'm not in a position to disagree.
What I *can* suggest is to take measures today so that in many years the compatibility argument gets weak enough to be ignored. Making bogomips configurable is such a measure, a pretty standard deprecation strategy (even if the time between deprecation and removal is huge).
Posted Jan 10, 2015 2:29 UTC (Sat)
by dlang (guest, #313)
[Link] (1 responses)
Posted Jan 11, 2015 22:56 UTC (Sun)
by moltonel (guest, #45207)
[Link]
Haunted by ancient history
Haunted by ancient history
Haunted by ancient history