Skip to content

Conversation

@obastemur
Copy link
Collaborator

reduces test run time to 1/3

I've got bunch of CI failures due to this test is timing out (xplat). disabling a part of it helps to save it from whole run is going timeout.

I did look into the details and saw interlocked_increment was playing a big role on the timeout. CH loses its' share from OS scheduler.. If CI machine is busy, it takes UNKNOWN amount of time for VM to get back the share needed.. well it loses again very soon because of the same reason.

So, I won't add (todo, enable this) or open an issue to track this. Also, see the comments on the test file.

@jackhorton
Copy link
Contributor

Is it worth commenting somewhere that interlocked_increment could improve such that we don't spend as much time waiting on locks?

@obastemur
Copy link
Collaborator Author

Is it worth commenting somewhere that interlocked_increment could improve such that we don't spend as much time waiting on locks?

that would be a bit vague?

@jianchun
Copy link

jianchun commented Feb 6, 2018

LGTM

@obastemur
Copy link
Collaborator Author

@jianchun Thanks for the review

@chakrabot chakrabot merged commit c1c6912 into chakra-core:release/1.8 Feb 6, 2018
chakrabot pushed a commit that referenced this pull request Feb 6, 2018
Merge pull request #4640 from obastemur:dis_stack_test_xp_ci_partially

reduces test run time to 1/3

I've got bunch of CI failures due to this test is timing out (xplat). disabling a part of it helps to save it from whole run is going timeout.

I did look into the details and saw `interlocked_increment` was playing a big role on the timeout. CH loses its' share from OS scheduler.. If CI machine is busy, it takes UNKNOWN amount of time for VM to get back the share needed.. well it loses again very soon because of the same reason.

So, I won't add (todo, enable this) or open an issue to track this.  Also, see the comments on the test file.
chakrabot pushed a commit that referenced this pull request Feb 6, 2018
…for xplat CI

Merge pull request #4640 from obastemur:dis_stack_test_xp_ci_partially

reduces test run time to 1/3

I've got bunch of CI failures due to this test is timing out (xplat). disabling a part of it helps to save it from whole run is going timeout.

I did look into the details and saw `interlocked_increment` was playing a big role on the timeout. CH loses its' share from OS scheduler.. If CI machine is busy, it takes UNKNOWN amount of time for VM to get back the share needed.. well it loses again very soon because of the same reason.

So, I won't add (todo, enable this) or open an issue to track this.  Also, see the comments on the test file.
chakrabot pushed a commit that referenced this pull request Feb 6, 2018
…it partially for xplat CI

Merge pull request #4640 from obastemur:dis_stack_test_xp_ci_partially

reduces test run time to 1/3

I've got bunch of CI failures due to this test is timing out (xplat). disabling a part of it helps to save it from whole run is going timeout.

I did look into the details and saw `interlocked_increment` was playing a big role on the timeout. CH loses its' share from OS scheduler.. If CI machine is busy, it takes UNKNOWN amount of time for VM to get back the share needed.. well it loses again very soon because of the same reason.

So, I won't add (todo, enable this) or open an issue to track this.  Also, see the comments on the test file.
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

Successfully merging this pull request may close these issues.

4 participants