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

Problems of running merge sort #1

Open
likai1993 opened this issue Oct 27, 2017 · 2 comments
Open

Problems of running merge sort #1

likai1993 opened this issue Oct 27, 2017 · 2 comments

Comments

@likai1993
Copy link

likai1993 commented Oct 27, 2017

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".

@johnmwshih
Copy link

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.

@likai1993
Copy link
Author

likai1993 commented Oct 30, 2017

Hi, @johnmwshih
What if we put the entire loop in a single transaction? why will it cause exceptios and stop at xbegin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants