Skip to content
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

Closed
Xynnn007 opened this issue Aug 21, 2024 · 0 comments · Fixed by #727
Closed

CDH | Multiple CDH instances in ttrpc CDH process #688

Xynnn007 opened this issue Aug 21, 2024 · 0 comments · Fixed by #727
Assignees
Labels
cdh Confidential Data Hub

Comments

@Xynnn007
Copy link
Member

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 one Server struct.

Let's fix this by multiplex one Server struct after containerd/ttrpc-rust#235 gets merged.

@Xynnn007 Xynnn007 self-assigned this Aug 21, 2024
@Xynnn007 Xynnn007 added the cdh Confidential Data Hub label Aug 23, 2024
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
Labels
cdh Confidential Data Hub
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant