in reply to Re: "Auto" vivifying shared data structures
in thread "Auto" vivifying shared data structures
Just to reinforce the point, could you give some general information of how much extra space is required to share a structure.
Eg. If a structure takes 10Kb as a non-shared entity, how much would it cost to share this with say 2 other threads (3 total)? Is it 30Kb, 40Kb, 50Kb extra?
Also, if you change a leaf (scalar) within that structure, how much slower is that than in a non-shared equivalent?
Finally, does the hit of updating the other copies of the modified value come
If the latter is the case, does the time the modifying thread waits for the others threads to update depend on the vagaries of the scheduler calling those threads (in competition with all other threads in the system), before the modifying thread can continue and unlock the modified scalar?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: "Auto" vivifying shared data structures
by dave_the_m (Monsignor) on Nov 17, 2005 at 22:58 UTC |