Hi,
I am looking for a way to count EPC hits and misses, and EPC paging.
For EPC paging I thought of counting the invocations of the EWB instruction. For that I placed a counter in:
static void sgx_evict_page(struct sgx_encl_page *entry,
struct sgx_encl *encl)
Every invocation would equal to 4kB of data. Is that correct?
I actually tried it out and for an enclave that processed some data in 30s it showed me 6000MB of EPC paging. Could that really be the number?
I struggle to find a way to count EPC hits and misses. Is there a way to detect an EPC access?
Best,
Kajetan
Link Copied
Hi,
Thanks for posting in Intel forums.
Could you share your platform details?
Regards,
Janani Chandran
I'm running Ubuntu 18.04.5 with kernel 5.3.0 on Intel Core i7-8565U CPU and SGX driver v2.11
Hi,
Sorry for the delay .We are checking with the concerned team. We will get back to you shortly.
Regards,
Janani Chandran
For more complete information about compiler optimizations, see our Optimization Notice.