Sign in
Slava Oks's WebLog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Be Aware
Coding & Debugging tips
Memory Management
Pages
Q&A
Q&A
SQL Server Memory Management
SQL Server Scheduling
SQLOS
SQLOS's DMVs
Archive
Archives
March 2007
(1)
January 2007
(1)
November 2006
(3)
September 2006
(1)
August 2006
(3)
April 2006
(2)
March 2006
(5)
November 2005
(5)
August 2005
(4)
July 2005
(2)
June 2005
(3)
April 2005
(1)
March 2005
(2)
February 2005
(8)
January 2005
(5)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Slava Oks's WebLog
Changing gears
Posted
over 6 years ago
by
slavao
1
Comments
You haven't heard from me in while and there is a reason. I moved from SQL Server's Storage Engine team to a new incubation team that is involved in exploring new directions in operating systems. This subject area has been always very fascinating for...
Slava Oks's WebLog
Q and A: Ratio between AWE Allocated and VM Committed/Reserved in DBCC MEMORYSTATUS output
Posted
over 6 years ago
by
slavao
1
Comments
Q: What kind of ratio should you expect to see between AWE Allocated and VM Committed/Reserved? We are running 8GB with a cap of 7GB in the max server memory and yet the VM Committed is around 100MB. I was first shocked to see that the sqlservice in task...
Slava Oks's WebLog
Q & A: I am running on 64 bit and all of my tasks are waiting on SOS_RESERVEDMEMBLOCKLIST, What is going on?
Posted
over 7 years ago
by
slavao
3
Comments
This wait type represents waiting on multi page allocations inside of SQLOS's memory manager. As you remember from my description of memory manager's working internals, it has two major allocators single page allocator, SPA and multi page allocator, MPA...
Slava Oks's WebLog
SQLOSDMV's Continue
Posted
over 7 years ago
by
slavao
1
Comments
sys.dm_os_waiting_tasks One can run lots of interesting queries using this view. You can even use this view to perform deadlock detection that is not resolvable by deadlock monitor, DM. For example if you have tasks waiting on external resources such...
Slava Oks's WebLog
Q & A: Does SQL Server always respond to memory pressure?
Posted
over 7 years ago
by
slavao
8
Comments
Q: I thought I've seen reference recently to problems with SQL2005 not releasing memory when under pressure, and this was possibly due to the Lock Pages In Memory option. We have a server where this seems to be happening, i.e. SQL2005 uses all available...
Slava Oks's WebLog
SQLOS's DMVs Continue
Posted
over 7 years ago
by
slavao
6
Comments
sys.dm_os_schedulers Q. Do I need to by more CPUs? In order to answer this question you have to find out if your load is really CPU bounded. Your load is really CPU bounded if a number of runnable tasks per each scheduler always greater than...
Slava Oks's WebLog
SQLOS's DMVs
Posted
over 7 years ago
by
slavao
8
Comments
SQL Server 2005 has a large number of DMVs that you can take advantage of especially when you try to understand behavioral characteristics of your SQL Server 2005 installation. DMVs expose enormous amount of information but how can you make use of it...
Slava Oks's WebLog
Talking points around SQL Server 2005 scalability
Posted
over 7 years ago
by
slavao
10
Comments
Couple of weeks ago I did a talk on SQL Server 2005 scalability. The actual talk was not about the enormous amount of features that you can leverage in SQL Serve 2005 to make your application scale but rather how SQL 2005 achieves its scalability. In...
Slava Oks's WebLog
Q & A: I can't make SQL Server 2005 32 bit version to use all memory on the machine
Posted
over 7 years ago
by
slavao
6
Comments
I’m currently using the RTM+SP1 x86-SQL2005 build on a server which has 32GB of physical memory. I notice that during ramp-up the memory usage (as seen under task manager) increases to about 28GB (i.e. “Available memory” reduces to 4GB) and stays there...
Slava Oks's WebLog
Set of new features in SQL Server 2005 enabled by SQLOS
Posted
over 7 years ago
by
slavao
4
Comments
Couple of weeks ago I had a chance to visit set of our customers and talk to them directly. It was an unforgettable experience. As a part of the visit I made set of presentations related to SQLOS and new features it enables in SQL Server 2005. I thought...
Slava Oks's WebLog
Q and A: Enabling AWE settings for SQL Server 32 bit edition in WOW
Posted
over 7 years ago
by
slavao
1
Comments
Q. A customer wants to run SQL 2000 SP4 in a Windows Server 2003 SP1 x64 edition. They did the installation without problems but SQL Server is not using more than 4GB of memory. Is it possible to enable AWE in this configuration? A. The answer is yes...
Slava Oks's WebLog
Q and A: Some questions about output from dbcc memorystatus
Posted
over 7 years ago
by
slavao
4
Comments
Recently I have recieved following question: A customer of mine is getting this output on an Itanium with 16GB of memory: Memory Manager KB ------------------------------ -------------------- VM Reserved 16979888 VM Committed 217928 AWE...
Slava Oks's WebLog
Q and A: SQL Server memory allocated outside of Buffer Pool, formerly known as MemToLeave
Posted
over 7 years ago
by
slavao
2
Comments
Q. Under SQL Server 2000 Is the memtoleave concept still valid under 64-bit? A. Yes. If SQL Server’s component requests memory larger than 8 KB block, the block will be allocated outside of Buffer Pool. Remember, inside of SQL Server, Buffer Pool is...
Slava Oks's WebLog
Q and A: Do I need to run "sp_configure 'awe enabled', 1" to make 64 bit version of SQL Server use locked pages?
Posted
over 7 years ago
by
slavao
0
Comments
The answer is No. The source of possible confusion came from one of my previous posts: http://blogs.msdn.com/slavao/archive/2005/11/15/493019.aspx . I apologize for the confusion. In order to make 64 bit version of SQL Server leverage locked pages all...
Slava Oks's WebLog
Be Aware: 4GB of VAS under WOW, does it really worth it?
Posted
over 7 years ago
by
slavao
7
Comments
By now you have heard a lot about the fact that under WOW a 32 bit process can get 4GB of VAS. I agree this is great, but I would like you to be aware of something that might hit you really hard. As it turns out enabling 4GB VAS can be problematic due...
Slava Oks's WebLog
Retrieving information about CPUs' relationships
Posted
over 7 years ago
by
slavao
6
Comments
In order for server side applications to run efficiently on modern hardware they have to understand hardware layout. As we are moving towards multicore and multi node NUMA systems, understanding relationships amongst cores, logical and physical CPU has...
Slava Oks's WebLog
Q and A: Clock Hands - what are they for?
Posted
over 8 years ago
by
slavao
0
Comments
Q1 I read in your blog about the new algorithm with two clock hands to control memory consumption, but I really would like to understand exactly what the hands are doing and if they relate to the lazywriter. A1. In SQL Server 2005 we have separated...
Slava Oks's WebLog
Q and A: Virtual Address Space, VAS, reservation - why bother?
Posted
over 8 years ago
by
slavao
4
Comments
Seems like today is a question day :-). I will attempt to answer several questions about VAS I got today: Q1. There is one aspect of Virtual Memory that is just not clear yet. I think I understand about VAS, but maybe not as much as I could, but I...
Slava Oks's WebLog
Q and A: x64 & AWE mechanism
Posted
over 8 years ago
by
slavao
11
Comments
Today I received following question: Hello, We will be running Windows Server 2003 x64 with SQL Server 2005 x64. I would think AWE would not come into the picture in this scenario. I'm trying to find out more about SQL Server 2005 memory management...
Slava Oks's WebLog
Be aware: To Hyper or not to Hyper
Posted
over 8 years ago
by
slavao
35
Comments
Our customers observed very interesting behavior on high end Hyperthreading (HT) enabled hardware. They noticed that in some cases when high load is applied SQL Server CPU usage increases significantly but SQL Server performance degrades. Occasionally...
Slava Oks's WebLog
Final changes in SQL Server 2005's memory manager
Posted
over 8 years ago
by
slavao
6
Comments
As you would expect in the last several months SQL 2005 went through rigorous testing. During the period we have identified and put several improvements that you might be interested to hear about. Memory Broker Analyzing SQL Server's behavior...
Slava Oks's WebLog
Q and A: Using Lock Pages In memory on 64 bit platform
Posted
over 8 years ago
by
slavao
24
Comments
Q: Hello Slava, I would like to confirm my understanding that on SQL 2005 64 bit edition it is recommended to grant Lock Pages in Memory right to the SQL account and then turn on the AWE setting. Thanks A: Yes, we do recommend to turn on Lock pages...
Slava Oks's WebLog
Talking Points around Memory Manager in SQL Server 2005
Posted
over 8 years ago
by
slavao
10
Comments
Yesterday I gave a talk around SQL Server 2005's memory manager. The talk was rather chalk talk. It included memory manager changes in SQL 2005 as well as changes post CTP15. For the talk I prepared several slides - basically talking points that I thought...
Slava Oks's WebLog
Configuring SQL Server 2005 for Soft NUMA
Posted
over 8 years ago
by
slavao
6
Comments
Sometimes I am surprised how issues come up the moment you mention them J . Recently, I have discussed Soft NUMA configurations in the article http://blogs.msdn.com/slavao/articles/441058.aspx . This week one of our customers had an interesting problem...
Slava Oks's WebLog
SQL Server 2005 NUMA support & troubleshooting
Posted
over 8 years ago
by
slavao
4
Comments
SQL Server 2005 has been designed to take advantage of NUMA features exposed by both hardware and the Windows operating system. There are several caveats that you need to be aware when attempting to run SQL Server on NUMA platforms. In this post...
Page 1 of 2 (45 items)
1
2