Re: ADAM Memory Consumption
- From: "moke" <brutus@xxxxxxxxxxxxxxxxx>
- Date: Tue, 22 Nov 2005 10:01:03 -0800
Okay, thanks for the response, and this makes sense now. I have a .NET
console application that uses DirectoryServices to update users. When the
console application began execution, ADAM immediately started acquiring
memory until it settled at 1.6GB. The console application was running slow,
and I thought it was because of ADAM's memory consumption.
However, the problem was that we missed an index when configuring the
production ADAM instance. Once we added the index to ADAM, we were relieved
to see the following
1) the console application performance was very fast and reflected what we
saw in other environments.
2) Memory consumption by the ADAM instance is significantly reduced (at
least in the initial verification). With the index applied, ADAM instance
memory consumption starts at ~50MB and only increases slowly as the console
application updates users.
Thanks for helping me out, and hopefully I have provided enough information
in this follow-up, so it is useful to others.
"Joe Richards [MVP]" wrote:
> As Dmitri indicated, the memory use by ADAM and AD is dynamic, if memory
> pressure increases, say because another app is added or something else needs the
> RAM, ADAM will back off the size of the cache.
>
> This memory allocation shouldn't be doing ANYTHING to slow down ADAM nor the box
> in general. In fact, ADAM should run faster and faster as more of the DIT gets
> cached.
>
> joe
>
> --
> Joe Richards Microsoft MVP Windows Server Directory Services
> www.joeware.net
>
>
> moke wrote:
> > I am wondering if adding more memory would alleviate the performance
> > degradation. Just to be clear, we are also planning to run SQL Server on
> > this cluster.
> >
> > "Dmitri Gavrilov [MSFT]" wrote:
> >
> >> ADAM (and AD) use a dynamic memory allocation algorithm, which will use max
> >> available memory on the box for db cache. If other applications require
> >> memory, ADAM will release some pages. It's all dynamic.
> >>
> >> However, this should never kill ADAM or box'es performance. Are you sure the
> >> perf is bad because of memory? Is it paging a lot?
> >>
> >> --
> >> Dmitri Gavrilov
> >> SDE, DS Admin eXperience
> >>
> >> This posting is provided "AS IS" with no warranties, and confers no rights.
> >> Use of included script samples are subject to the terms specified at
> >> http://www.microsoft.com/info/cpyright.htm
> >>
> >> "moke" <brutus@xxxxxxxxxxxxxxxxx> wrote in message
> >> news:8F675594-F6C2-4890-9BEA-D58DBD701996@xxxxxxxxxxxxxxxx
> >>> Please note the production server is Windows 2003 Enterprise Server with
> >>> HP
> >>> 380DL with dual procs and 2GB of memory.
> >>>
> >>> "moke" wrote:
> >>>
> >>>> I am working on project with a user store containing about 1.5 million
> >>>> users.
> >>>> We have 3 different environments (dev, test, and prod) where we have
> >>>> built
> >>>> and tested the user store.
> >>>>
> >>>> For some reason in the prod environment, after re-starting the adam
> >>>> instance
> >>>> using "Windows Services", we can watch the ADAM instance in "Task
> >>>> Manager"
> >>>> and it consumes 1.5+ GB of memory. The amount of memory consumed by this
> >>>> ADAM instance is similar to the size of the data file in ADAM. Is there
> >>>> a
> >>>> switch in ADAM to cap the amount of memory that can be used by an ADAM
> >>>> instance. In this particular instance, this kills the performance of
> >>>> ADAM
> >>>> and the box in general.
> >>
> >>
>
.
- Follow-Ups:
- Re: ADAM Memory Consumption
- From: Dmitri Gavrilov [MSFT]
- Re: ADAM Memory Consumption
- References:
- Re: ADAM Memory Consumption
- From: Dmitri Gavrilov [MSFT]
- Re: ADAM Memory Consumption
- From: Joe Richards [MVP]
- Re: ADAM Memory Consumption
- Prev by Date: Raise "Forest" functional level & rename domain?
- Next by Date: GPO Delegation Tab
- Previous by thread: Re: ADAM Memory Consumption
- Next by thread: Re: ADAM Memory Consumption
- Index(es):
Relevant Pages
|