HighTechTalks DotNet Forums  

Dataset Cache

ASP.net Caching microsoft.public.dotnet.framework.aspnet.caching


Discuss Dataset Cache in the ASP.net Caching forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Josiah
 
Posts: n/a

Default Dataset Cache - 04-09-2007 , 07:42 PM






I'm caching a dataset. Total size is about 200MB. I'm loading the dataset in
the application_onload event.

It's not caching it into the physcial ram, it's storing in the pagefile. How
can i change this. I want better performance and if it has to read from vram
each time then this is not good performance.

Please help
Josiah

Reply With Quote
  #2  
Old   
Josiah
 
Posts: n/a

Default RE: Dataset Cache - 04-10-2007 , 09:42 AM






I have a total of 2GB of RAM. Only 1/4 is being used. When i reload the
website and call the first page i can watch the pagefile grow to 200 MB, the
same size of the Dataset. Can this be change? Why is .NET storing the cached
data in the virtual memory. When i access a page that uses the dataset you
can see the paging.

Thanks in advanced
Josiah

"Josiah" wrote:

Quote:
I'm caching a dataset. Total size is about 200MB. I'm loading the dataset in
the application_onload event.

It's not caching it into the physcial ram, it's storing in the pagefile. How
can i change this. I want better performance and if it has to read from vram
each time then this is not good performance.

Please help
Josiah

Reply With Quote
  #3  
Old   
Alvin Bruney [MVP]
 
Posts: n/a

Default Re: Dataset Cache - 04-15-2007 , 02:14 PM



You have to adjust that behavior from windows for the page size etc. You'll
also need to tweak the worker process settings via the config file so that
more real memory is used. I think the default is 60% which puts you a little
over 600meg given a 2gig max (there's system memory etc that depletes the
limit). So, i suspect that it's being paged to disk because it doesn't have
enough free ram left.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley


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

Quote:
I have a total of 2GB of RAM. Only 1/4 is being used. When i reload the
website and call the first page i can watch the pagefile grow to 200 MB,
the
same size of the Dataset. Can this be change? Why is .NET storing the
cached
data in the virtual memory. When i access a page that uses the dataset you
can see the paging.

Thanks in advanced
Josiah

"Josiah" wrote:

I'm caching a dataset. Total size is about 200MB. I'm loading the dataset
in
the application_onload event.

It's not caching it into the physcial ram, it's storing in the pagefile.
How
can i change this. I want better performance and if it has to read from
vram
each time then this is not good performance.

Please help
Josiah



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.