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

DisplayDriverServer : Create IPv6 endpoint #1395

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

johnhaddon
Copy link
Member

This avoids delays on Windows, where the ClientDisplayDriver was first trying a V6 connection and then only making a V4 connection if that failed (after a timeout). I don't know enough about this stuff yet to know if this is a good thing to do generally, or if it could cause problems somewhere. But I'm making a draft PR in the hope that @ericmehl can at least confirm that it improves things for him too. For me the difference is very noticeable when running gaffer test GafferImageTest.CatalogueTest.

@ericmehl
Copy link
Collaborator

LGTM. This greatly speeds up the new test in GafferHQ/gaffer#5541 that inspired this change. It goes from about 15 seconds to nominal with this change. A cursory look at the Arnold tests gives me hope that it will also help those pass without needing to extend the wait time for pixels.

@johnhaddon
Copy link
Member Author

LGTM

Great! There's also a flag you can set to say "this v6 endpoint will also accept v4 connections". It was on by default when I tested, but I'm not sure that is always the case. I'll update the PR to set that too, and do a bit of testing on Linux.

@johnhaddon johnhaddon marked this pull request as ready for review February 1, 2024 13:26
@johnhaddon
Copy link
Member Author

I reckon we should get this merged and included in Gaffer 1.4. I've updated the PR to explicitly accept v4 connections as well as v6 and to update the changes file. Still looking good on Windows @ericmehl?

@ericmehl
Copy link
Collaborator

ericmehl commented Feb 5, 2024

LGTM, still getting a very nice performance boost on those tests, and maybe a bit with starting an interactive render.

This avoids delays on Windows, where the ClientDisplayDriver was first trying a V6 connection and then only making a V4 connection if that failed (after a timeout).
@johnhaddon johnhaddon merged commit cd22b19 into ImageEngine:RB-10.5 Feb 12, 2024
4 checks passed
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.

2 participants