Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Conversation

@hqueue
Copy link
Member

@hqueue hqueue commented Sep 28, 2017

There is a help message for --arch option,
but there is no code for the option.

There is a help message for --arch option,
but there is no code for the option.

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
@stephentoub stephentoub merged commit c7f67e7 into dotnet:master Sep 28, 2017
@karelz karelz added this to the 2.1.0 milestone Oct 11, 2017
Dotnet-GitSync-Bot pushed a commit to Dotnet-GitSync-Bot/corefx that referenced this pull request Apr 30, 2019
* Workaround memset alignment sensitivity

memset is up to 2x slower on misaligned block on some types of hardware. The problem is uneven performance of "rep stosb"
used to implement the memset in some cases. The exact matrix on when it is slower and by how much is very complex.

This change workarounds the issue by aligning the memory block before it is passed to memset and filling in the potential misaligned
part manually. This workaround will regress performance by a few percent (<10%) in some cases, but we will gain up to 2x improvement
in other cases.

Fixes dotnet#24300

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
stephentoub pushed a commit that referenced this pull request Apr 30, 2019
* Workaround memset alignment sensitivity

memset is up to 2x slower on misaligned block on some types of hardware. The problem is uneven performance of "rep stosb"
used to implement the memset in some cases. The exact matrix on when it is slower and by how much is very complex.

This change workarounds the issue by aligning the memory block before it is passed to memset and filling in the potential misaligned
part manually. This workaround will regress performance by a few percent (<10%) in some cases, but we will gain up to 2x improvement
in other cases.

Fixes #24300

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
There is a help message for --arch option,
but there is no code for the option.

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>

Commit migrated from dotnet/corefx@c7f67e7
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants