Linked by Hadrien Grasland on Fri 27th May 2011 11:34 UTC
Permalink for comment 475202
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.
Features
Linked by Thom Holwerda on 05/21/13 21:38 UTC
Linked by Thom Holwerda on 05/20/13 11:29 UTC
Linked by Thom Holwerda on 05/18/13 21:33 UTC
Linked by David Adams on 05/16/13 4:23 UTC
Linked by Thom Holwerda on 05/11/13 21:41 UTC
Linked by Thom Holwerda on 05/08/13 14:22 UTC
Linked by Thom Holwerda on 05/02/13 15:28 UTC
Linked by Thom Holwerda on 04/29/13 21:06 UTC
Linked by Thom Holwerda on 04/24/13 22:24 UTC
Linked by Thom Holwerda on 04/18/13 11:21 UTC
More Features »
Sponsored Links



Member since:
2005-11-16
Hi,
Your previous post indicated that the message size is more problematic for async compared with threads, I still don't understand why?
No - I only said that (bad) choice of message size can make async more complicated (than async with a different/better choice of message size).
This is possible, yes, but then the OS should be throttling IO as needed.
"With no limit, what happens when a 64-bit process sends a 12 GiB message to a 32-bit process? "
Fair point, however I'd say this fits under the "limited by memory" constraint. Either way, the same problem exists whether async or threaded.
Ok - it fits under the "limited by memory" constraint; but "limited by memory in the all supported systems" rather than "limited by memory in the current system". For example, if the OS supports systems with as little as 16 MiB of RAM, then you'd probably want to set the maximum message size to 8 MiB or less, even for large systems with 123 GiB of RAM, to make sure software designed for the OS works as designed on all supported systems.
I use "tasks" as a generic name for "processes, threads, fibres or whatever else might make sense for the OS or for the context being discussed"..
Someone posted links to a few papers that explore "threads vs. events" (or "theads vs. messages"). Don't let them mislead you - those papers are stupid, and sane people would want both (not one or the other).
- Brendan