Skip to content

Why do we need to grab a enclave lock during do fault? #140

Open
@lz18064638846

Description

@lz18064638846

When I doing some performance test on SGX 1, I notice my application suffer from scalability problem when doing some memory-intensive work like gc. I find it comes from waiting for enclave lock before do the fault, I wonder why does the driver need to wait the enclave lock before actually do the allocation and eldu, and if it is a necessity, can we at least do some modification to slightly release the concurrent control?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions