Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-90036

Set glibc.pthread.rseq on evergreen variants with glibc version >= 2.34

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Build
    • Fully Compatible
    • 0

      Set GLIBC_TUNABLES=glibc.pthread.rseq=0 on buildvariants with glibc >= 2.34. Buildvariants with this version or newer register custom rseq ABI behavior that is incompatible with the new TCMalloc, and will cause TCMalloc's rseq functionality to break and fall back to the per-thread cache behavior. Buildvariants with an older glibc version will successfully use TCMalloc's per-CPU caches. We must ensure this environment variable is set on problematic systems.

      Context on the situation here.

            Assignee:
            zack.winter@mongodb.com Zack Winter
            Reporter:
            zack.winter@mongodb.com Zack Winter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: