X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fguides%2Fwindows_gsg%2Frun_apps.rst;h=9c9f42e4b18224edd5d1ba71f872fb65064997c1;hb=c08bd191b13de001bf172e94ed22cb0805a658f2;hp=ff4c4654fe2143ab47de82b55a35b9cae7fd46f6;hpb=ad67b6726312f4db3875240a7796d16801121787;p=dpdk.git diff --git a/doc/guides/windows_gsg/run_apps.rst b/doc/guides/windows_gsg/run_apps.rst index ff4c4654fe..9c9f42e4b1 100644 --- a/doc/guides/windows_gsg/run_apps.rst +++ b/doc/guides/windows_gsg/run_apps.rst @@ -4,6 +4,29 @@ Running DPDK Applications ========================= +Grant *Lock pages in memory* Privilege +-------------------------------------- + +Use of hugepages ("large pages" in Windows terminology) requires +``SeLockMemoryPrivilege`` for the user running an application. + +1. Open *Local Security Policy* snap-in, either: + + * Control Panel / Computer Management / Local Security Policy; + * or Win+R, type ``secpol``, press Enter. + +2. Open *Local Policies / User Rights Assignment / Lock pages in memory.* + +3. Add desired users or groups to the list of grantees. + +4. Privilege is applied upon next logon. In particular, if privilege has been + granted to current user, a logoff is required before it is available. + +See `Large-Page Support`_ in MSDN for details. + +.. _Large-Page Support: https://docs.microsoft.com/en-us/windows/win32/memory/large-page-support + + Run the ``helloworld`` Example ------------------------------