|
|
|
|
|
by spacedcowboy
45 days ago
|
|
Yep, Metal has a 'noCopy' initialisation, otherwise it'll do a copy to aligned data first. The costs are basically latency-time-based (time to prepare the system for execution) coupled with execution-time-based, rignt now. The thing is they're done by measurement, not prediction, so even if I manage to screw up the setup and do something non-optimally, that measurement is still a valid discriminant for the system it's actually running on - and recall that everything is done at runtime, not compile-time, so it's that system that's being characterised. I do actually update the network latency timings on an ongoing basis - there's a heartbeat that sends back info on a periodic basis, and the error-condition mechanism has to cope with a node falling off the network etc. And again, thanks for the insight :) |
|