473,604 Members | 2,481 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cache.Effective PrivateBytesLim it shrinks as box gets bigger?

Hi...

We've been trying to migrate our asp.net apps off older, underpowered
hardware to newer, bigger boxes but when we do, we see our databases start to
melt.

When I started to look into it, I found that the older boxes all had bigger
EffectivePrivat eBytesLimit values than the newer boxes, which seems very
counter-intuitive to me. And it seemed to me that a much smaller Cache would
be pushing more requests back to the databases.

The old boxes have 2gb physical ram and 3gb pagefile space set aside. The
newer boxes start at 3gb physical ram and 4gb pagefile space and go up from
there.

We're not setting any of the machine.config values or IIS Admin settings
that would curb the cache size on any of the boxes. And we have only one
worker process on all of them. All boxes are running Windows 2003 SP2 and
ASP.Net 2.0.

On the smaller boxes, EffectivePrivat eBytesLimit = ~60% of physical ram
(1.2gb). On the bigger boxes, EffectivePrivat eBytesLimit = 800mb.

I found this thread: http://forums.asp.net/p/962451/1199949.aspx

Neither of the msdn articles mentioned in it are at those locations anymore,
but the rules of thumb in the response indicate that the bigger boxes *think*
they have <= 2gb of page file.

Is there some kind of overflow/signed condition in Windows 2003 or ASP.Net
2.0 where adding too much gig and/or page file ends up having a negative
effect because the system can't tell?

Thanks
Mark

Jun 27 '08 #1
10 1844
Hi Mark,

As for the EffectivePrivat eBytes property, it does be a value indicate the
virtual memory available for cache useage. And this is determined by
several things:

** the ASP.NET process's memory limit(for IIS6 win2k3, it is set via IIS
application pool's memory limit)

** the privateBytesLim it attribute of <cacheelement in ASP.NET web.config

If none of the above is set, runtime will automaticalaly calculate one for
you. However, the calculation algorithym is internal implemented and may
vary from server's hardware condition.

Here is a good blog article written by an senior developer which
introducing some history about ASP.NET cache and its memory limit
configuration:

#Some history on the ASP.NET cache memory limits
http://blogs.msdn.com/tmarq/archive/...-the-asp-net-c
ache-memory-limits.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: =?Utf-8?B?TWFyaw==?= <mm******@nospa m.nospam>
Subject: Cache.Effective PrivateBytesLim it shrinks as box gets bigger?
Date: Tue, 29 Apr 2008 12:47:02 -0700
>
Hi...

We've been trying to migrate our asp.net apps off older, underpowered
hardware to newer, bigger boxes but when we do, we see our databases start
to
>melt.

When I started to look into it, I found that the older boxes all had
bigger
>EffectivePriva teBytesLimit values than the newer boxes, which seems very
counter-intuitive to me. And it seemed to me that a much smaller Cache
would
>be pushing more requests back to the databases.

The old boxes have 2gb physical ram and 3gb pagefile space set aside. The
newer boxes start at 3gb physical ram and 4gb pagefile space and go up
from
>there.

We're not setting any of the machine.config values or IIS Admin settings
that would curb the cache size on any of the boxes. And we have only one
worker process on all of them. All boxes are running Windows 2003 SP2 and
ASP.Net 2.0.

On the smaller boxes, EffectivePrivat eBytesLimit = ~60% of physical ram
(1.2gb). On the bigger boxes, EffectivePrivat eBytesLimit = 800mb.

I found this thread: http://forums.asp.net/p/962451/1199949.aspx

Neither of the msdn articles mentioned in it are at those locations
anymore,
>but the rules of thumb in the response indicate that the bigger boxes
*think*
>they have <= 2gb of page file.

Is there some kind of overflow/signed condition in Windows 2003 or ASP.Net
2.0 where adding too much gig and/or page file ends up having a negative
effect because the system can't tell?

Thanks
Mark

Jun 27 '08 #2
Hi Steven...

Thanks for the link; it had all the same information that was in the other
link I posted originally. The problem is that those forumulas don't seem to
be working in our case.

As I said, we haven't set any of the configuration parameters to directly
control the cache size and the machine with 2gb of physical ram/3gb page file
is getting more cache space while the machines starting at 3gb phys/4gb page
file are getting a much lower cap.

The fact that the newer, bigger machines are getting
EffectivePrivat eBytesLimit coming out at *exactly* 800mb implies that the
MIN() formula was inappropriately applied in their case, hence my question
about the calculation having some overflow boundary where too much space gets
interpreted as too little. They have at least 4gb of pagefile, which should
have applied the formula MIN(60% phys ram, 1800mb). Instead it applied the
smaller case MIN(60% phys ram, 800mb).

The smaller machine EffectivePrivat eBytesLimit comes out at 60% of physical
ram (1.2gb of 2) which implies that it recognized the pagefile as 2gb,
according to the formulas.

Thanks
Mark
"Steven Cheng [MSFT]" wrote:
Hi Mark,

As for the EffectivePrivat eBytes property, it does be a value indicate the
virtual memory available for cache useage. And this is determined by
several things:

** the ASP.NET process's memory limit(for IIS6 win2k3, it is set via IIS
application pool's memory limit)

** the privateBytesLim it attribute of <cacheelement in ASP.NET web.config

If none of the above is set, runtime will automaticalaly calculate one for
you. However, the calculation algorithym is internal implemented and may
vary from server's hardware condition.

Here is a good blog article written by an senior developer which
introducing some history about ASP.NET cache and its memory limit
configuration:

#Some history on the ASP.NET cache memory limits
http://blogs.msdn.com/tmarq/archive/...-the-asp-net-c
ache-memory-limits.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: =?Utf-8?B?TWFyaw==?= <mm******@nospa m.nospam>
Subject: Cache.Effective PrivateBytesLim it shrinks as box gets bigger?
Date: Tue, 29 Apr 2008 12:47:02 -0700

Hi...

We've been trying to migrate our asp.net apps off older, underpowered
hardware to newer, bigger boxes but when we do, we see our databases start
to
melt.

When I started to look into it, I found that the older boxes all had
bigger
EffectivePrivat eBytesLimit values than the newer boxes, which seems very
counter-intuitive to me. And it seemed to me that a much smaller Cache
would
be pushing more requests back to the databases.

The old boxes have 2gb physical ram and 3gb pagefile space set aside. The
newer boxes start at 3gb physical ram and 4gb pagefile space and go up
from
there.

We're not setting any of the machine.config values or IIS Admin settings
that would curb the cache size on any of the boxes. And we have only one
worker process on all of them. All boxes are running Windows 2003 SP2 and
ASP.Net 2.0.

On the smaller boxes, EffectivePrivat eBytesLimit = ~60% of physical ram
(1.2gb). On the bigger boxes, EffectivePrivat eBytesLimit = 800mb.

I found this thread: http://forums.asp.net/p/962451/1199949.aspx

Neither of the msdn articles mentioned in it are at those locations
anymore,
but the rules of thumb in the response indicate that the bigger boxes
*think*
they have <= 2gb of page file.

Is there some kind of overflow/signed condition in Windows 2003 or ASP.Net
2.0 where adding too much gig and/or page file ends up having a negative
effect because the system can't tell?

Thanks
Mark

Jun 27 '08 #3
Thanks for your reply Mark,

Yes, as you didn't explicitly set those memory limit value, then the
runtime will help caclulated one for you. So far I haven't any information
about how to number is calculated, per the document it will rely on
hardware condition also. BTW, on the server machine that has more physical
memory, are there also many other applications running on it? Maybe some
other applications occupy some certain memory or may cause more memory
fragment than the smaller box.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: =?Utf-8?B?TWFyaw==?= <mm******@nospa m.nospam>
References: <3B************ *************** *******@microso ft.com>
<hv************ **@TK2MSFTNGHUB 02.phx.gbl>
>Subject: RE: Cache.Effective PrivateBytesLim it shrinks as box gets bigger?
Date: Wed, 30 Apr 2008 07:13:00 -0700
>
Hi Steven...

Thanks for the link; it had all the same information that was in the other
link I posted originally. The problem is that those forumulas don't seem
to
>be working in our case.

As I said, we haven't set any of the configuration parameters to directly
control the cache size and the machine with 2gb of physical ram/3gb page
file
>is getting more cache space while the machines starting at 3gb phys/4gb
page
>file are getting a much lower cap.

The fact that the newer, bigger machines are getting
EffectivePriva teBytesLimit coming out at *exactly* 800mb implies that the
MIN() formula was inappropriately applied in their case, hence my question
about the calculation having some overflow boundary where too much space
gets
>interpreted as too little. They have at least 4gb of pagefile, which
should
>have applied the formula MIN(60% phys ram, 1800mb). Instead it applied
the
>smaller case MIN(60% phys ram, 800mb).

The smaller machine EffectivePrivat eBytesLimit comes out at 60% of
physical
>ram (1.2gb of 2) which implies that it recognized the pagefile as 2gb,
according to the formulas.

Thanks
Mark
"Steven Cheng [MSFT]" wrote:
>Hi Mark,

As for the EffectivePrivat eBytes property, it does be a value indicate
the
>virtual memory available for cache useage. And this is determined by
several things:

** the ASP.NET process's memory limit(for IIS6 win2k3, it is set via IIS
application pool's memory limit)

** the privateBytesLim it attribute of <cacheelement in ASP.NET
web.config
>>
If none of the above is set, runtime will automaticalaly calculate one
for
>you. However, the calculation algorithym is internal implemented and may
vary from server's hardware condition.

Here is a good blog article written by an senior developer which
introducing some history about ASP.NET cache and its memory limit
configuratio n:

#Some history on the ASP.NET cache memory limits
http://blogs.msdn.com/tmarq/archive/...-the-asp-net-c
>ache-memory-limits.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments
and
>suggestions about how we can improve the support we provide to you.
Please
>feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

============== =============== =============== ======
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
>ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent
issues
>where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each
follow
>up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach
the
>most efficient resolution. The offering is not appropriate for
situations
>that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are
best
>handled working with a dedicated Microsoft Support Engineer by
contacting
>Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
============== =============== =============== ======
This posting is provided "AS IS" with no warranties, and confers no
rights.
>>

--------------------
>From: =?Utf-8?B?TWFyaw==?= <mm******@nospa m.nospam>
Subject: Cache.Effective PrivateBytesLim it shrinks as box gets bigger?
Date: Tue, 29 Apr 2008 12:47:02 -0700
>
Hi...

We've been trying to migrate our asp.net apps off older, underpowered
hardware to newer, bigger boxes but when we do, we see our databases
start
>to
>melt.

When I started to look into it, I found that the older boxes all had
bigger
>EffectivePriva teBytesLimit values than the newer boxes, which seems
very
>counter-intuitive to me. And it seemed to me that a much smaller Cache
would
>be pushing more requests back to the databases.

The old boxes have 2gb physical ram and 3gb pagefile space set aside.
The
>newer boxes start at 3gb physical ram and 4gb pagefile space and go up
from
>there.

We're not setting any of the machine.config values or IIS Admin
settings
>that would curb the cache size on any of the boxes. And we have only
one
>worker process on all of them. All boxes are running Windows 2003 SP2
and
>ASP.Net 2.0.

On the smaller boxes, EffectivePrivat eBytesLimit = ~60% of physical ram
(1.2gb). On the bigger boxes, EffectivePrivat eBytesLimit = 800mb.

I found this thread: http://forums.asp.net/p/962451/1199949.aspx

Neither of the msdn articles mentioned in it are at those locations
anymore,
>but the rules of thumb in the response indicate that the bigger boxes
*think*
>they have <= 2gb of page file.

Is there some kind of overflow/signed condition in Windows 2003 or
ASP.Net
>2.0 where adding too much gig and/or page file ends up having a
negative
>effect because the system can't tell?

Thanks
Mark


Jun 27 '08 #4
Hi Steven...

Both of the links mentioned in this thread did lay out some rules used to
calculate the memory limit when none of the parameters are explicitly set.
My question comes from the fact that these rules don't seem to be followed on
the machines where I noticed this.

The bigger boxes are only for running the web server and at the time all
have 95% of their physical ram unused.

Since the rules mention that the calculation thresholds are based on the
page file size, I have tried playing with that on the bigger boxes but it
didn't seem to help. The rules in the articles said that the calculation was
MIN(60% phys ram, 800MB) when the page file was <= 2gb
MIN(60% phys ram, 1800MB) when the page file was 2gb.

The smaller box has the page file set a hair under 3gb. The bigger boxes
had it at 4gb. To see if there was an overflow condition, I lowered the
big boxes to about 3gb page file but the EffectivePrivat eBytesLimit didn't
change.

The only other variables I can think of is that the older box is running
2003 Web Edition and is old enough to have all that "hyperthreading " garbage.
I think it only has one real cpu but it's counting the fpu etc when task
manager says it has several cpus.

The newer boxes are running 2003 R2 standard edition and have dual dual or
quad dual cores. Maybe the EffectivePrivat eBytesLimit also has a limiting
factor based on number of actual cpus? Or maybe R2 does things differently
than the old Web Edition?

Thanks
Mark
"Steven Cheng [MSFT]" wrote:
Thanks for your reply Mark,

Yes, as you didn't explicitly set those memory limit value, then the
runtime will help caclulated one for you. So far I haven't any information
about how to number is calculated, per the document it will rely on
hardware condition also. BTW, on the server machine that has more physical
memory, are there also many other applications running on it? Maybe some
other applications occupy some certain memory or may cause more memory
fragment than the smaller box.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
From: =?Utf-8?B?TWFyaw==?= <mm******@nospa m.nospam>
References: <3B************ *************** *******@microso ft.com>
<hv************ **@TK2MSFTNGHUB 02.phx.gbl>
Subject: RE: Cache.Effective PrivateBytesLim it shrinks as box gets bigger?
Date: Wed, 30 Apr 2008 07:13:00 -0700

Hi Steven...

Thanks for the link; it had all the same information that was in the other
link I posted originally. The problem is that those forumulas don't seem
to
be working in our case.

As I said, we haven't set any of the configuration parameters to directly
control the cache size and the machine with 2gb of physical ram/3gb page
file
is getting more cache space while the machines starting at 3gb phys/4gb
page
file are getting a much lower cap.

The fact that the newer, bigger machines are getting
EffectivePrivat eBytesLimit coming out at *exactly* 800mb implies that the
MIN() formula was inappropriately applied in their case, hence my question
about the calculation having some overflow boundary where too much space
gets
interpreted as too little. They have at least 4gb of pagefile, which
should
have applied the formula MIN(60% phys ram, 1800mb). Instead it applied
the
smaller case MIN(60% phys ram, 800mb).

The smaller machine EffectivePrivat eBytesLimit comes out at 60% of
physical
ram (1.2gb of 2) which implies that it recognized the pagefile as 2gb,
according to the formulas.

Thanks
Mark
"Steven Cheng [MSFT]" wrote:
Hi Mark,

As for the EffectivePrivat eBytes property, it does be a value indicate
the
virtual memory available for cache useage. And this is determined by
several things:

** the ASP.NET process's memory limit(for IIS6 win2k3, it is set via IIS
application pool's memory limit)

** the privateBytesLim it attribute of <cacheelement in ASP.NET
web.config
>
If none of the above is set, runtime will automaticalaly calculate one
for
you. However, the calculation algorithym is internal implemented and may
vary from server's hardware condition.

Here is a good blog article written by an senior developer which
introducing some history about ASP.NET cache and its memory limit
configuration:

#Some history on the ASP.NET cache memory limits
http://blogs.msdn.com/tmarq/archive/...-the-asp-net-c
ache-memory-limits.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments
and
suggestions about how we can improve the support we provide to you.
Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent
issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each
follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach
the
most efficient resolution. The offering is not appropriate for
situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are
best
handled working with a dedicated Microsoft Support Engineer by
contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no
rights.
>

--------------------
From: =?Utf-8?B?TWFyaw==?= <mm******@nospa m.nospam>
Subject: Cache.Effective PrivateBytesLim it shrinks as box gets bigger?
Date: Tue, 29 Apr 2008 12:47:02 -0700


Hi...

We've been trying to migrate our asp.net apps off older, underpowered
hardware to newer, bigger boxes but when we do, we see our databases
start
to
melt.

When I started to look into it, I found that the older boxes all had
bigger
EffectivePrivat eBytesLimit values than the newer boxes, which seems
very
counter-intuitive to me. And it seemed to me that a much smaller Cache
would
be pushing more requests back to the databases.

The old boxes have 2gb physical ram and 3gb pagefile space set aside.
The
newer boxes start at 3gb physical ram and 4gb pagefile space and go up
from
there.

We're not setting any of the machine.config values or IIS Admin
settings
that would curb the cache size on any of the boxes. And we have only
one
worker process on all of them. All boxes are running Windows 2003 SP2
and
ASP.Net 2.0.

On the smaller boxes, EffectivePrivat eBytesLimit = ~60% of physical ram
(1.2gb). On the bigger boxes, EffectivePrivat eBytesLimit = 800mb.

I found this thread: http://forums.asp.net/p/962451/1199949.aspx

Neither of the msdn articles mentioned in it are at those locations
anymore,
but the rules of thumb in the response indicate that the bigger boxes
*think*
they have <= 2gb of page file.

Is there some kind of overflow/signed condition in Windows 2003 or
ASP.Net
2.0 where adding too much gig and/or page file ends up having a
negative
effect because the system can't tell?

Thanks
Mark




Jun 27 '08 #5
Thanks for your reply Mark,

I'll do some further research on this and update you as soon as possible.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: =?Utf-8?B?TWFyaw==?= <mm******@nospa m.nospam>
References: <3B************ *************** *******@microso ft.com>
<hv************ **@TK2MSFTNGHUB 02.phx.gbl>
<39************ *************** *******@microso ft.com>
<tr************ **@TK2MSFTNGHUB 02.phx.gbl>
>Subject: RE: Cache.Effective PrivateBytesLim it shrinks as box gets bigger?
Date: Fri, 2 May 2008 06:57:03 -0700
>
Hi Steven...

Both of the links mentioned in this thread did lay out some rules used to
calculate the memory limit when none of the parameters are explicitly set.
>My question comes from the fact that these rules don't seem to be followed
on
>the machines where I noticed this.

The bigger boxes are only for running the web server and at the time all
have 95% of their physical ram unused.

Since the rules mention that the calculation thresholds are based on the
page file size, I have tried playing with that on the bigger boxes but it
didn't seem to help. The rules in the articles said that the calculation
was
>MIN(60% phys ram, 800MB) when the page file was <= 2gb
MIN(60% phys ram, 1800MB) when the page file was 2gb.

The smaller box has the page file set a hair under 3gb. The bigger boxes
had it at 4gb. To see if there was an overflow condition, I lowered the
big boxes to about 3gb page file but the EffectivePrivat eBytesLimit didn't
change.

The only other variables I can think of is that the older box is running
2003 Web Edition and is old enough to have all that "hyperthreading "
garbage.
I think it only has one real cpu but it's counting the fpu etc when task
manager says it has several cpus.

The newer boxes are running 2003 R2 standard edition and have dual dual or
quad dual cores. Maybe the EffectivePrivat eBytesLimit also has a limiting
factor based on number of actual cpus? Or maybe R2 does things
differently
>than the old Web Edition?
>>>
Micro
Jun 27 '08 #6
Hi Mark,

Here is some further comments from the blog entry's engineer:

=============== =========
The cache privateBytesLim it has nothing to do with the pagefile. By
default it is bounded above by 800MB on x86, unless you're using /3GB, in
which case it is bounded above by 1800MB.
=============== =========

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>Content-Transfer-Encoding: 7bit
From: st*****@online. microsoft.com (Steven Cheng [MSFT])
Organization : Microsoft
Date: Tue, 06 May 2008 08:53:24 GMT
Subject: RE: Cache.Effective PrivateBytesLim it shrinks as box gets bigger?
>
Thanks for your reply Mark,

I'll do some further research on this and update you as soon as possible.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microso ft.com.

============== =============== =============== ======
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ault.aspx#noti
f
>ications.

============== =============== =============== ======
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>>From: =?Utf-8?B?TWFyaw==?= <mm******@nospa m.nospam>
References: <3B************ *************** *******@microso ft.com>
<hv*********** ***@TK2MSFTNGHU B02.phx.gbl>
<39*********** *************** ********@micros oft.com>
<tr*********** ***@TK2MSFTNGHU B02.phx.gbl>
>>Subject: RE: Cache.Effective PrivateBytesLim it shrinks as box gets bigger?
Date: Fri, 2 May 2008 06:57:03 -0700
>>
Hi Steven...

Both of the links mentioned in this thread did lay out some rules used to
calculate the memory limit when none of the parameters are explicitly
set.
>
>>My question comes from the fact that these rules don't seem to be
followed
>on
>>the machines where I noticed this.

The bigger boxes are only for running the web server and at the time all
have 95% of their physical ram unused.

Since the rules mention that the calculation thresholds are based on the
page file size, I have tried playing with that on the bigger boxes but it
didn't seem to help. The rules in the articles said that the calculation
was
>>MIN(60% phys ram, 800MB) when the page file was <= 2gb
MIN(60% phys ram, 1800MB) when the page file was 2gb.

The smaller box has the page file set a hair under 3gb. The bigger boxes
had it at 4gb. To see if there was an overflow condition, I lowered
the
>>big boxes to about 3gb page file but the EffectivePrivat eBytesLimit
didn't
>>change.

The only other variables I can think of is that the older box is running
2003 Web Edition and is old enough to have all that "hyperthreading "
garbage.
>I think it only has one real cpu but it's counting the fpu etc when task
manager says it has several cpus.

The newer boxes are running 2003 R2 standard edition and have dual dual
or
>>quad dual cores. Maybe the EffectivePrivat eBytesLimit also has a
limiting
>>factor based on number of actual cpus? Or maybe R2 does things
differently
>>than the old Web Edition?
>>>>
Micro

Jun 27 '08 #7
Hi Steven...

Thank you for asking, but that's exactly the problem I'm asking about.
*IT'S NOT WORKING THAT WAY!*

Our smaller x86 with 2gb of ram is showing a EffectivePrivat eBytesLimit of
1.2gb (60% ram) while our newer x86 boxes with 3+gb are showing it capped at
800mb.

Thanks
Mark
"Steven Cheng [MSFT]" wrote:
Hi Mark,

Here is some further comments from the blog entry's engineer:

=============== =========
The cache privateBytesLim it has nothing to do with the pagefile. By
default it is bounded above by 800MB on x86, unless you're using /3GB, in
which case it is bounded above by 1800MB.
=============== =========

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
Content-Transfer-Encoding: 7bit
From: st*****@online. microsoft.com (Steven Cheng [MSFT])
Organization: Microsoft
Date: Tue, 06 May 2008 08:53:24 GMT
Subject: RE: Cache.Effective PrivateBytesLim it shrinks as box gets bigger?

Thanks for your reply Mark,

I'll do some further research on this and update you as soon as possible.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ault.aspx#noti
f
ications.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: =?Utf-8?B?TWFyaw==?= <mm******@nospa m.nospam>
References: <3B************ *************** *******@microso ft.com>
<hv************ **@TK2MSFTNGHUB 02.phx.gbl>
<39************ *************** *******@microso ft.com>
<tr************ **@TK2MSFTNGHUB 02.phx.gbl>
>Subject: RE: Cache.Effective PrivateBytesLim it shrinks as box gets bigger?
Date: Fri, 2 May 2008 06:57:03 -0700
>
Hi Steven...

Both of the links mentioned in this thread did lay out some rules used to
calculate the memory limit when none of the parameters are explicitly
set.
>My question comes from the fact that these rules don't seem to be
followed
on
>the machines where I noticed this.

The bigger boxes are only for running the web server and at the time all
have 95% of their physical ram unused.

Since the rules mention that the calculation thresholds are based on the
page file size, I have tried playing with that on the bigger boxes but it
didn't seem to help. The rules in the articles said that the calculation
was
>MIN(60% phys ram, 800MB) when the page file was <= 2gb
MIN(60% phys ram, 1800MB) when the page file was 2gb.

The smaller box has the page file set a hair under 3gb. The bigger boxes
had it at 4gb. To see if there was an overflow condition, I lowered
the
>big boxes to about 3gb page file but the EffectivePrivat eBytesLimit
didn't
>change.

The only other variables I can think of is that the older box is running
2003 Web Edition and is old enough to have all that "hyperthreading "
garbage.
I think it only has one real cpu but it's counting the fpu etc when task
manager says it has several cpus.

The newer boxes are running 2003 R2 standard edition and have dual dual
or
>quad dual cores. Maybe the EffectivePrivat eBytesLimit also has a
limiting
>factor based on number of actual cpus? Or maybe R2 does things
differently
>than the old Web Edition?

Micro

Jun 27 '08 #8
Hi Mark,

Thanks for your reply.

The dev engineer also think the behavior is not expected according to the
calculation formula. Also, due to the support limitation, it's abit hard
for me to continue involve them directly into newsgroup issue. Since the
problem is environmenet specific which may require further troubleshooting
on the target server, I would suggest you consider contacting CSS for
incident based support which can help perform some more thorough and
detailed troubleshooting :

Microsoft Customer Support Services (CSS) at
ttp://msdn.microsoft. com/subscriptions/support/default.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: =?Utf-8?B?TWFyaw==?= <mm******@nospa m.nospam>
References: <3B************ *************** *******@microso ft.com>
<hv************ **@TK2MSFTNGHUB 02.phx.gbl>
<39************ *************** *******@microso ft.com>
<tr************ **@TK2MSFTNGHUB 02.phx.gbl>
<97************ *************** *******@microso ft.com>
<0D************ **@TK2MSFTNGHUB 02.phx.gbl>
<6k************ **@TK2MSFTNGHUB 02.phx.gbl>
>Subject: RE: Cache.Effective PrivateBytesLim it shrinks as box gets bigger?
Date: Mon, 12 May 2008 07:31:03 -0700
>
Hi Steven...

Thank you for asking, but that's exactly the problem I'm asking about.
*IT'S NOT WORKING THAT WAY!*

Our smaller x86 with 2gb of ram is showing a EffectivePrivat eBytesLimit of
1.2gb (60% ram) while our newer x86 boxes with 3+gb are showing it capped
at
>800mb.

Thanks
Mark
"Steven Cheng [MSFT]" wrote:
>Hi Mark,

Here is some further comments from the blog entry's engineer:

============== ==========
The cache privateBytesLim it has nothing to do with the pagefile. By
default it is bounded above by 800MB on x86, unless you're using /3GB,
in
>which case it is bounded above by 1800MB.
============== ==========

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments
and
>suggestions about how we can improve the support we provide to you.
Please
>feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

============== =============== =============== ======
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
>>
Jun 27 '08 #9
Hi Steven...

Thank you for responding. You are right; this is a very
environment-specific issue, not a general coding question. I'll check with
my management if we want to open a case for this.

Thanks
Mark

Jun 27 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
7152
by: steve | last post by:
Does SQL Server have a query cache similar to mysql, whereas the query result is cached, if the table has not been changed? If so, please refer me to more info. Thanks. -- http://www.dbForumz.com/ This article was posted by author's request Articles individually checked for conformance to usenet standards
6
9954
by: UnixSlaxer | last post by:
Hello, Running a query for the first time on DB2 takes a fixed amount of time. But when query is executed for the second time, the amount of time is usually less since the query is (most probably) cached already. I would like to clear out the DB2-UDB 8.2 query cache (I want the previous execution time again). Any advice would be appreciated.
4
5352
by: Mat | last post by:
Hi, I've stumbled onto a problem when using the caching object in ASP.Net. I'm placing a static dataset to the cache as the data only changes once a day. Whilst writing to the cache I'm using a lock using code like below (just typed this in); Cache thisCache = HttpContext.Current.Cache lock(thisCache)
4
4168
by: Guadala Harry | last post by:
I want to create a STATIC method that removes all items from the Cache. Questions: 1. Is a safe thing to do (any threading issues?) 2. Is the following code a good way to get the job done - given that there is apparently no method like Cache.Clear() or Cache.Items.Clear()? Or am I missing an easier way to do it? string currentKey= "";
2
1981
by: Kikoz | last post by:
Hi all. I keep my ViewState in server's cache. Works fine except when user leaves the page opened for a long time (2 hours or so). Then if he/she tries to post it back the server throws an exception saying that ViewState was invalid. I suspect it has something to do with cache expiration time. Can I control its expiration time from within my web.config? Or anyhow? Couldn't find anything related in web or machine config files or...
2
3402
by: Don Kelloway | last post by:
I'm a first-time user with PostgreSQL so please forgive my ignorance. I've purchased (and read) Practical PostgreSQL (O'Reilly) and PostgreSQL Essential Reference (New Riders). So far, so good. I think learning PostgreSQL will not be as difficult as I thought it would be. I've also been googling for the last few days, but I have a question in regards to determining the proper size of the buffer cache parameter. ...
7
1268
by: erin.sebastian | last post by:
Hello All, I have taken over some code for a website and am trying to finish it. I have noticed that when loading each page the site expands and then shrinks to the normal size, i don't want this to occur. if you go to http://preview.sgci.com/lutherwoodaes you will be able to see what i am talking about. Any ideas or direction? thanks in advance, Erin
2
3702
by: SR | last post by:
Hello: I have some question on DB2 SQL Statement Cache. In the Oracle world, we allways use bind variables extensively, otherwise, Oracle does not re-use the statement cache, and there by resulting in excessive parsing of the SQL Statements. In DB2, I have a situation where I have statements with different cast lengths:
0
1435
by: Jayender | last post by:
I read an article : MSDN help topic. This will get you on the right track. http://msdn2.microsoft.com/en-us/library/system.web.caching.sqlcachedependency.aspx and its really amazing .. I tried it out and got succeeded , now I just want to know whether is there any possibility to update the cache once I change the database , say: I have inserted the data's ( which is from database to dataset) into the cache for the first time and now...
0
8419
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8409
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8280
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6739
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5882
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5441
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3955
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2434
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1526
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.