Sandra and Large Memory Pages

ojas

Distinguished
Feb 25, 2011
370
0
18,940
Hi everyone.

I've been having this problem with sandra. I keep getting this warning:
Warning W5010 : Cannot use large page memory pages due to lack of privileges.

Fix: Use the Local Security Policy to give yourself lock memory pages privilege.

Large memory pages greatly improve performance when large memory blocks are allocated.
Now I'm running Windows 7 HP (x64), so i can't access gpedit.msc

I looked around a lot, and this is what i found:
User rights assignments are not registry keys, but there is a utility in the Windows 2003 Resource kit that can set Windows privileges, including Lock Pages in memory, and it works on Windows 7 too. The resource kit is a collection of tools available at:

http://www.microsoft.com/DOWNLOADS/en/confirmation.aspx?familyId=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displayLang=en

You only need the program called ntrights.exe, which I'll attach to this post.

Example of turning on the privilege you need (my windows userid is "nick")

C:\Users\nick>ntrights -u nick +r SeLockMemoryPrivilege
Granting SeLockMemoryPrivilege to nick ... successful

If you ever want to turn it off:

C:\Users\nick>ntrights -u nick -r SeLockMemoryPrivilege
Revoking SeLockMemoryPrivilege from nick ... successful

These commands were carried out with UAC off, so you may need that or an elevated command prompt.
Read the full thread here: http://rybkaforum.net/cgi-bin/rybkaforum/topic_show.pl?pid=259791#pid259791

Now i've done this, it works successively, in the sense that it grants the privilege. But Sandra still shows me that message. I also gave myself full control and changed ownership, so i don't know whats going on. I'm running an admin account with UAC off, plus i'm running sandra as administrator explicitly just in case.

Still shows me the same results.

Any ideas?

Thanks :hello:
 

ojas

Distinguished
Feb 25, 2011
370
0
18,940
Ok so i talked to SiSoftware's support, they're saying that since they're unfamiliar with the method they can't really help me. And it's also an unofficial method so...boo.

If someone, by chance, has any idea of what could help, do tell me.