Closed 0xFugue closed 1 year ago
I think we can go with this for now, and I am not sure but I think I do not need port-shift information in gennet, as I will handle that in kurtosis with some kind of batch-adding-service.
I mean, there is no point on doing 1000 port shifts if they are in batches of 10 by container for example. Tomorrow I will give you better feedback about this,
I would suggest not to do the packing in Starlark. The container_size and node type will non-trivially interact with subnetwork: With Starlark limitation, containers must be packed with just one subnetwork while minimising both subnet fragmentation and container spill-overs. This means subnetworks and container both need to be developed together. Starlark simply needs to read the gennet generated container packing and populate the script for ENTRYPOINT.
The port_shift will max out at container_size, once that is implemented. I chose not to put in a naive container packing because we need more data/clarity on whether if we allow mix of nodes in a container, what are the trade offs etc.
I think we can go with this for now, and I am not sure but I think I do not need port-shift information in gennet, as I will handle that in kurtosis with some kind of batch-adding-service. I mean, there is no point on doing 1000 port shifts if they are in batches of 10 by container for example. Tomorrow I will give you better feedback about this,
I would suggest not to do the packing in Starlark. The container_size and node type will non-trivially interact with subnetwork: With Starlark limitation, containers must be packed with just one subnetwork while minimising both subnet fragmentation and container spill-overs. This means subnetworks and container both need to be developed together. Starlark simply needs to read the gennet generated container packing and populate the script for ENTRYPOINT.
The port_shift will max out at container_size, once that is implemented. I chose not to put in a naive container packing because we need more data/clarity on whether if we allow mix of nodes in a container, what are the trade offs etc.
No no, maybe I did not explain myself well enough. Gennet will still assign subnetworks to nodes. I only ment the counting of port-shifting.
closes #80 , #69 , partly solves #84 ,