Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

SQL Server Memory settings versus Locked Pages in Memory

$
0
0
(min srv memory=0 & max srv memory=48GB),(min srv memory=12GB & max srv memory=48GB) any diff in terms of locked page in memory?

now let me explain my question including some internals...

whenever we are using LPIM then memory for buffer pool will be allocated through AWE API function AllocateUserPhysicalPages().Memory allocated through this function will not be a part of process working set and can not be pagedout.we also knows that min and max memory settings belongs to buffer pool part only.

Now come back to my question - (min srv memory=0 & max srv memory=48GB) and (min srv memory=12GB & max srv memory=48GB) with LPIM
here all memory upto 48 GB will allocated through AllocateUserPhysicalPages() function that will not be a part of sql server process working set and also can not be paged out.

i.e. all memory allocated to buffer pool can not be paged out due to LPIM i.e. 48gb in my case.

then how can we say that with LPIM, SQL Server can not paged out this memory upto only min server memory?

Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>