-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CDH | Multiple CDH instances in ttrpc CDH process #688
Labels
cdh
Confidential Data Hub
Comments
Xynnn007
added a commit
to Xynnn007/guest-components
that referenced
this issue
Sep 27, 2024
Fixes confidential-containers#688 This commit will copy only the pointer of CDH to implement different APIs. In old version, each CDH instance will serve for one API, thus occupies multiple times of memory. Signed-off-by: Xynnn007 <[email protected]>
Xynnn007
added a commit
to Xynnn007/guest-components
that referenced
this issue
Sep 27, 2024
Fixes confidential-containers#688 This commit will copy only the pointer of CDH to implement different APIs. In old version, each CDH instance will serve for one API, thus occupies multiple times of memory. Signed-off-by: Xynnn007 <[email protected]>
Xynnn007
added a commit
to Xynnn007/guest-components
that referenced
this issue
Oct 3, 2024
Fixes confidential-containers#688 This commit will copy only the pointer of CDH to implement different APIs. In old version, each CDH instance will serve for one API, thus occupies multiple times of memory. Signed-off-by: Xynnn007 <[email protected]>
Xynnn007
added a commit
to Xynnn007/guest-components
that referenced
this issue
Oct 8, 2024
Fixes confidential-containers#688 This commit will copy only the pointer of CDH to implement different APIs. In old version, each CDH instance will serve for one API, thus occupies multiple times of memory. Signed-off-by: Xynnn007 <[email protected]>
Xynnn007
added a commit
that referenced
this issue
Oct 17, 2024
Fixes #688 This commit will copy only the pointer of CDH to implement different APIs. In old version, each CDH instance will serve for one API, thus occupies multiple times of memory. Signed-off-by: Xynnn007 <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently we are using a macro to create structures that handles different API of CDH. Because of the limit of ttrpc, we should create a separate
Server
struct for every server, this would occupy 4~ memory than only oneServer
struct.Let's fix this by multiplex one
Server
struct after containerd/ttrpc-rust#235 gets merged.The text was updated successfully, but these errors were encountered: