t-sgx
t-sgx copied to clipboard
Problems of running merge sort
Hi, there, Firstly thanks for your eminent contribution to t-sgx project. However, I just meet a problem in running merge sort based on your tsgx-test folder. The problem is that when the length of the input array was over 5000, the t-sxg process just hanged up. Then I used gdb to debug the process and found that the $pc just stopped at the instruction: "xbegin sb.entry.tsx".
Hi, Thanks for showing your interest in our project. This is a known issue of the current released version as we hard-coded enable the optimization (i.e., the code tend to put the entire loop in a single transaction). Although the new version is still under development, I'll try to provide a fix for this issue first.
Hi, @johnmwshih What if we put the entire loop in a single transaction? why will it cause exceptios and stop at xbegin?