[PR #2185] [CLOSED] tools/windows: enable_large_pages.ps1 helper to grant SeLockMemoryPrivilege #3909

Closed
opened 2026-11-07 15:31:36 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/2185
Author: @dvasdekis
Created: 10/12/2026
Status: ❌ Closed

Base: main ← Head: tools/windows-large-pages


📝 Commits (1)

  • 346cfd0 tools/windows: enable_large_pages.ps1 helper to grant SeLockMemoryPrivilege

📊 Changes

1 file changed (+89 additions, -0 deletions)

View changed files

➕ tools/windows/enable_large_pages.ps1 (+89 -0)

📄 Description

Summary

Adds ools/windows/enable_large_pages.ps1 to configure the 'Lock pages in memory' privilege (SeLockMemoryPrivilege) on Windows:

  • Uses secedit to safely grant SeLockMemoryPrivilege to the current user (or specified account).
  • Enables 2 MB large pages (MEM_LARGE_PAGES) for Strata's host expert arena (24-30 GiB), reducing TLB overhead from ~6.5M 4KB entries down to ~12.8K 2MB entries.
  • Verifies administrative permissions and includes GUI fallback instructions for secpol.msc.

What it leaves alone

  • Zero runtime code touched; standalone administrative helper script only.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/2185 **Author:** [@dvasdekis](https://github.com/dvasdekis) **Created:** 10/12/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `tools/windows-large-pages` --- ### 📝 Commits (1) - [`346cfd0`](https://github.com/Niko1221/Strata/commit/346cfd0965ac9131a37199122609d9184e3de4c8) tools/windows: enable_large_pages.ps1 helper to grant SeLockMemoryPrivilege ### 📊 Changes **1 file changed** (+89 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `tools/windows/enable_large_pages.ps1` (+89 -0) </details> ### 📄 Description ### Summary Adds ools/windows/enable_large_pages.ps1 to configure the 'Lock pages in memory' privilege (SeLockMemoryPrivilege) on Windows: - Uses secedit to safely grant SeLockMemoryPrivilege to the current user (or specified account). - Enables 2 MB large pages (MEM_LARGE_PAGES) for Strata's host expert arena (24-30 GiB), reducing TLB overhead from ~6.5M 4KB entries down to ~12.8K 2MB entries. - Verifies administrative permissions and includes GUI fallback instructions for secpol.msc. ### What it leaves alone - Zero runtime code touched; standalone administrative helper script only. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:31:36 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3909
No description provided.