dbTalk Databases Forums  

Memory in a 2 node Active/Active cluster

microsoft.public.sqlserver.clustering microsoft.public.sqlserver.clustering


Discuss Memory in a 2 node Active/Active cluster in the microsoft.public.sqlserver.clustering forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Russ
 
Posts: n/a

Default Memory in a 2 node Active/Active cluster - 11-21-2008 , 08:06 AM






Hi,
I have a scenario involving a two node cluster each running a SQL 2005 (x64)
instance. Each node has 64GB of RAM and 'lock pages in memory' is set.

If I configure, via 'Max Server Memory', each node to use say 50GB of RAM -
what happens during a failover. I'm guessing that because of the 'lock pages
in memory' the surviving instance will not release any memory to accomodate
the failed instance and will be forced to compete for the remaining 14 GB of
RAM with the OS.

Whats the best practice here? Should I configure each node to use only 30GB
of RAM? (leaving 4GB for the OS).

Thanks for any advice....




Reply With Quote
  #2  
Old   
Tom Moreau
 
Posts: n/a

Default Re: Memory in a 2 node Active/Active cluster - 11-21-2008 , 08:20 AM






You will see bad performance during a failover with max memory at 50GB. If
the memory needs are equal, then going with 30GB or less for each would be a
better approach. Keep in mind that you may have to reduce it further,
especially if you have a high number of CPU cores. The OS still has to run
and 64-bit OS's like RAM.

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"Russ" <Russ (AT) discussions (DOT) microsoft.com> wrote

Hi,
I have a scenario involving a two node cluster each running a SQL 2005 (x64)
instance. Each node has 64GB of RAM and 'lock pages in memory' is set.

If I configure, via 'Max Server Memory', each node to use say 50GB of RAM -
what happens during a failover. I'm guessing that because of the 'lock pages
in memory' the surviving instance will not release any memory to accomodate
the failed instance and will be forced to compete for the remaining 14 GB of
RAM with the OS.

Whats the best practice here? Should I configure each node to use only 30GB
of RAM? (leaving 4GB for the OS).

Thanks for any advice....




Reply With Quote
  #3  
Old   
Tom Moreau
 
Posts: n/a

Default Re: Memory in a 2 node Active/Active cluster - 11-21-2008 , 08:20 AM



You will see bad performance during a failover with max memory at 50GB. If
the memory needs are equal, then going with 30GB or less for each would be a
better approach. Keep in mind that you may have to reduce it further,
especially if you have a high number of CPU cores. The OS still has to run
and 64-bit OS's like RAM.

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"Russ" <Russ (AT) discussions (DOT) microsoft.com> wrote

Hi,
I have a scenario involving a two node cluster each running a SQL 2005 (x64)
instance. Each node has 64GB of RAM and 'lock pages in memory' is set.

If I configure, via 'Max Server Memory', each node to use say 50GB of RAM -
what happens during a failover. I'm guessing that because of the 'lock pages
in memory' the surviving instance will not release any memory to accomodate
the failed instance and will be forced to compete for the remaining 14 GB of
RAM with the OS.

Whats the best practice here? Should I configure each node to use only 30GB
of RAM? (leaving 4GB for the OS).

Thanks for any advice....




Reply With Quote
  #4  
Old   
Tom Moreau
 
Posts: n/a

Default Re: Memory in a 2 node Active/Active cluster - 11-21-2008 , 08:20 AM



You will see bad performance during a failover with max memory at 50GB. If
the memory needs are equal, then going with 30GB or less for each would be a
better approach. Keep in mind that you may have to reduce it further,
especially if you have a high number of CPU cores. The OS still has to run
and 64-bit OS's like RAM.

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"Russ" <Russ (AT) discussions (DOT) microsoft.com> wrote

Hi,
I have a scenario involving a two node cluster each running a SQL 2005 (x64)
instance. Each node has 64GB of RAM and 'lock pages in memory' is set.

If I configure, via 'Max Server Memory', each node to use say 50GB of RAM -
what happens during a failover. I'm guessing that because of the 'lock pages
in memory' the surviving instance will not release any memory to accomodate
the failed instance and will be forced to compete for the remaining 14 GB of
RAM with the OS.

Whats the best practice here? Should I configure each node to use only 30GB
of RAM? (leaving 4GB for the OS).

Thanks for any advice....




Reply With Quote
  #5  
Old   
Tom Moreau
 
Posts: n/a

Default Re: Memory in a 2 node Active/Active cluster - 11-21-2008 , 08:20 AM



You will see bad performance during a failover with max memory at 50GB. If
the memory needs are equal, then going with 30GB or less for each would be a
better approach. Keep in mind that you may have to reduce it further,
especially if you have a high number of CPU cores. The OS still has to run
and 64-bit OS's like RAM.

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"Russ" <Russ (AT) discussions (DOT) microsoft.com> wrote

Hi,
I have a scenario involving a two node cluster each running a SQL 2005 (x64)
instance. Each node has 64GB of RAM and 'lock pages in memory' is set.

If I configure, via 'Max Server Memory', each node to use say 50GB of RAM -
what happens during a failover. I'm guessing that because of the 'lock pages
in memory' the surviving instance will not release any memory to accomodate
the failed instance and will be forced to compete for the remaining 14 GB of
RAM with the OS.

Whats the best practice here? Should I configure each node to use only 30GB
of RAM? (leaving 4GB for the OS).

Thanks for any advice....




Reply With Quote
  #6  
Old   
Tom Moreau
 
Posts: n/a

Default Re: Memory in a 2 node Active/Active cluster - 11-21-2008 , 08:20 AM



You will see bad performance during a failover with max memory at 50GB. If
the memory needs are equal, then going with 30GB or less for each would be a
better approach. Keep in mind that you may have to reduce it further,
especially if you have a high number of CPU cores. The OS still has to run
and 64-bit OS's like RAM.

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"Russ" <Russ (AT) discussions (DOT) microsoft.com> wrote

Hi,
I have a scenario involving a two node cluster each running a SQL 2005 (x64)
instance. Each node has 64GB of RAM and 'lock pages in memory' is set.

If I configure, via 'Max Server Memory', each node to use say 50GB of RAM -
what happens during a failover. I'm guessing that because of the 'lock pages
in memory' the surviving instance will not release any memory to accomodate
the failed instance and will be forced to compete for the remaining 14 GB of
RAM with the OS.

Whats the best practice here? Should I configure each node to use only 30GB
of RAM? (leaving 4GB for the OS).

Thanks for any advice....




Reply With Quote
  #7  
Old   
Tom Moreau
 
Posts: n/a

Default Re: Memory in a 2 node Active/Active cluster - 11-21-2008 , 08:20 AM



You will see bad performance during a failover with max memory at 50GB. If
the memory needs are equal, then going with 30GB or less for each would be a
better approach. Keep in mind that you may have to reduce it further,
especially if you have a high number of CPU cores. The OS still has to run
and 64-bit OS's like RAM.

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"Russ" <Russ (AT) discussions (DOT) microsoft.com> wrote

Hi,
I have a scenario involving a two node cluster each running a SQL 2005 (x64)
instance. Each node has 64GB of RAM and 'lock pages in memory' is set.

If I configure, via 'Max Server Memory', each node to use say 50GB of RAM -
what happens during a failover. I'm guessing that because of the 'lock pages
in memory' the surviving instance will not release any memory to accomodate
the failed instance and will be forced to compete for the remaining 14 GB of
RAM with the OS.

Whats the best practice here? Should I configure each node to use only 30GB
of RAM? (leaving 4GB for the OS).

Thanks for any advice....




Reply With Quote
  #8  
Old   
Tom Moreau
 
Posts: n/a

Default Re: Memory in a 2 node Active/Active cluster - 11-21-2008 , 08:20 AM



You will see bad performance during a failover with max memory at 50GB. If
the memory needs are equal, then going with 30GB or less for each would be a
better approach. Keep in mind that you may have to reduce it further,
especially if you have a high number of CPU cores. The OS still has to run
and 64-bit OS's like RAM.

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"Russ" <Russ (AT) discussions (DOT) microsoft.com> wrote

Hi,
I have a scenario involving a two node cluster each running a SQL 2005 (x64)
instance. Each node has 64GB of RAM and 'lock pages in memory' is set.

If I configure, via 'Max Server Memory', each node to use say 50GB of RAM -
what happens during a failover. I'm guessing that because of the 'lock pages
in memory' the surviving instance will not release any memory to accomodate
the failed instance and will be forced to compete for the remaining 14 GB of
RAM with the OS.

Whats the best practice here? Should I configure each node to use only 30GB
of RAM? (leaving 4GB for the OS).

Thanks for any advice....




Reply With Quote
  #9  
Old   
Tom Moreau
 
Posts: n/a

Default Re: Memory in a 2 node Active/Active cluster - 11-21-2008 , 08:20 AM



You will see bad performance during a failover with max memory at 50GB. If
the memory needs are equal, then going with 30GB or less for each would be a
better approach. Keep in mind that you may have to reduce it further,
especially if you have a high number of CPU cores. The OS still has to run
and 64-bit OS's like RAM.

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"Russ" <Russ (AT) discussions (DOT) microsoft.com> wrote

Hi,
I have a scenario involving a two node cluster each running a SQL 2005 (x64)
instance. Each node has 64GB of RAM and 'lock pages in memory' is set.

If I configure, via 'Max Server Memory', each node to use say 50GB of RAM -
what happens during a failover. I'm guessing that because of the 'lock pages
in memory' the surviving instance will not release any memory to accomodate
the failed instance and will be forced to compete for the remaining 14 GB of
RAM with the OS.

Whats the best practice here? Should I configure each node to use only 30GB
of RAM? (leaving 4GB for the OS).

Thanks for any advice....




Reply With Quote
  #10  
Old   
Tom Moreau
 
Posts: n/a

Default Re: Memory in a 2 node Active/Active cluster - 11-21-2008 , 08:20 AM



You will see bad performance during a failover with max memory at 50GB. If
the memory needs are equal, then going with 30GB or less for each would be a
better approach. Keep in mind that you may have to reduce it further,
especially if you have a high number of CPU cores. The OS still has to run
and 64-bit OS's like RAM.

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"Russ" <Russ (AT) discussions (DOT) microsoft.com> wrote

Hi,
I have a scenario involving a two node cluster each running a SQL 2005 (x64)
instance. Each node has 64GB of RAM and 'lock pages in memory' is set.

If I configure, via 'Max Server Memory', each node to use say 50GB of RAM -
what happens during a failover. I'm guessing that because of the 'lock pages
in memory' the surviving instance will not release any memory to accomodate
the failed instance and will be forced to compete for the remaining 14 GB of
RAM with the OS.

Whats the best practice here? Should I configure each node to use only 30GB
of RAM? (leaving 4GB for the OS).

Thanks for any advice....




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.