Rethinking race-free process signaling
Rethinking race-free process signaling
Posted Apr 8, 2019 1:59 UTC (Mon) by ebiederm (subscriber, #35028)In reply to: Rethinking race-free process signaling by dvdeug
Parent article: Rethinking race-free process signaling
not properly running programs that consume a few more resources than normal.
There is the other issue with more pids that if they get too large they get ungainly and difficult
to use. Which argues against making 4 million the default. But otherwise something like 4 million
would probably be a fine default for a limit like that.
Posted Apr 8, 2019 5:54 UTC (Mon)
by eru (subscriber, #2753)
[Link] (4 responses)
Posted Apr 8, 2019 7:27 UTC (Mon)
by rbanffy (guest, #103898)
[Link] (3 responses)
Posted Apr 10, 2019 5:15 UTC (Wed)
by eru (subscriber, #2753)
[Link] (2 responses)
Posted Apr 10, 2019 18:07 UTC (Wed)
by rbanffy (guest, #103898)
[Link] (1 responses)
Posted Apr 12, 2019 6:19 UTC (Fri)
by massimiliano (subscriber, #3048)
[Link]
You have to let your imagination fly higher, eru. 290,000 years is a blink of an eye in cosmic terms...
If I let my imagination fly just a bit higher, in such a system this issue will be solved just like the current 2038 problem.
At some point the system will do a live migration to a 128 bit architecture, with conversion of the persistent state to appropriately sized values, and the "actor IDs" in the distributed systems will get a bit of fresh air with a wraparound time of 2^32*290k years, whatever that means...
If the pid limit is 4 million, problems due to wraparound are rare, but they may occasionally happen, causing hard to trace bugs. Same with MAXINT. But if pid were a 64-bit number, and the limit the maximum of that, wraparound would never happen, so software could safely assume that pids are always unique.
Rethinking race-free process signaling
Rethinking race-free process signaling
> But if pid were a 64-bit number, and the limit the maximum of that, wraparound would never happen
Cue to a meeting room with a dozen people dressed like characters from Things to Come trying to figure out why The Google stopped answering their questions.
Fine. It'll be a looooong time.
Rethinking race-free process signaling
Rethinking race-free process signaling
Rethinking race-free process signaling