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

runtime: add ERMS-based memmove support for modern CPU platforms #66959

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Apr 22, 2024

  1. add Ice Lake and Sapphire Rapids ERMS support

    Signed-off-by: TangYang <yang.tang@intel.com>
    cocotyty committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    f3f5b0f View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. Rename isIntelBridgeFamily to isIntelERMSGoodCPU.

    Make sure ERMS repmovsb only works on aligned non-overlapped data copy.
    Benchstat result:
    ---
    goos: linux
    goarch: amd64
    pkg: runtime
    cpu: Intel(R) Xeon(R) Gold 6348 CPU @ 2.60GHz
                   │  ./old.txt  │              ./new.txt              │
                   │   sec/op    │   sec/op     vs base                │
    Memmove/2048-2   25.24n ± 0%   24.27n ± 0%   -3.84% (p=0.000 n=10)
    Memmove/4096-2   44.87n ± 0%   33.16n ± 1%  -26.11% (p=0.000 n=10)
    geomean          33.65n        28.37n       -15.71%
    
                   │  ./old.txt   │               ./new.txt               │
                   │     B/s      │      B/s       vs base                │
    Memmove/2048-2   75.56Gi ± 0%    78.59Gi ± 0%   +4.02% (p=0.000 n=10)
    Memmove/4096-2   85.01Gi ± 0%   115.05Gi ± 1%  +35.34% (p=0.000 n=10)
    geomean          80.14Gi         95.09Gi       +18.65%
    
    Signed-off-by: TangYang <yang.tang@intel.com>
    cocotyty committed May 13, 2024
    Configuration menu
    Copy the full SHA
    7f7e861 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. Just checking the CPU for ERMS support, we'll update if we have any o…

    …ther exception cases.
    
    Signed-off-by: TangYang <yang.tang@intel.com>
    cocotyty committed May 17, 2024
    Configuration menu
    Copy the full SHA
    7e2e69c View commit details
    Browse the repository at this point in the history

Commits on May 20, 2024

  1. fix incorrectly aligned address check

    Signed-off-by: TangYang <yang.tang@intel.com>
    cocotyty committed May 20, 2024
    Configuration menu
    Copy the full SHA
    e030e7c View commit details
    Browse the repository at this point in the history