Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Performance issue fix for manged sni #25621

Merged
merged 1 commit into from
Dec 1, 2017
Merged

Conversation

geleems
Copy link

@geleems geleems commented Dec 1, 2017

Setting buffer size of socket manually causes the performance issue. This is a fix for the issue: https://github.com/dotnet/corefx/issues/24480

Copy link
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@stephentoub stephentoub merged commit 6126b43 into dotnet:master Dec 1, 2017
@vancem
Copy link
Contributor

vancem commented Dec 1, 2017

Just out of curiosity, can someone describe why setting the buffer size led to a perf problem. As a general rule, you would have expected if 'upper levels' of the stack set the buffer size that they would have a better idea of a good value. This change basically removes calls to _socket.*BufferSize, and I am wondering if other uses of these socket APIs have a similar problem?

@karelz karelz added this to the 2.1.0 milestone Dec 4, 2017
saurabh500 pushed a commit to saurabh500/corefx that referenced this pull request Dec 20, 2017
geleems pushed a commit to geleems/corefx that referenced this pull request Jan 9, 2018
saurabh500 pushed a commit that referenced this pull request Jan 12, 2018
* Performace issue fix for manged sni (#25621)

* Increased SqlClient assembly and package versions for servicing

* corrected version number
@geleems geleems deleted the perf2 branch February 16, 2018 00:15
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants