Re: The performance and behaviour of the anti-fragmentation related patches

Mark Gross
2007-03-02T17:39:12Z

On Fri, Mar 02, 2007 at 09:07:53AM -0800, Andrew Morton wrote:
> On Fri, 2 Mar 2007 08:20:23 -0800 Mark Gross <mgross@linux.intel.com> wrote:
>
> > > The whole DRAM power story is a bedtime story for gullible children. Don't
> > > fall for it. It's not realistic. The hardware support for it DOES NOT
> > > EXIST today, and probably won't for several years. And the real fix is
> > > elsewhere anyway (ie people will have to do a FBDIMM-2 interface, which
> > > is against the whole point of FBDIMM in the first place, but that's what
> > > you get when you ignore power in the first version!).
> > >
> >
> > Hardware support for some of this is coming this year in the ATCA space
> > on the MPCBL0050. The feature is a bit experimental, and
> > power/performance benefits will be workload and configuration
> > dependent. Its not a bed time story.
>
> What is the plan for software support?

The plan is the typical layered approach to enabling. Post the basic
enabling patch, followed by a patch or software to actually exercise the
feature.

The code to exercise the feature is complicated by the fact that the
memory will need re-training as it comes out of low power state. The
code doing this is still a bit confidential.

I have the base enabling patch ready for RFC review.
I'm working on the RFC now.

>
> Will it be possible to just power the DIMMs off? I don't see much point in
> some half-power non-destructive mode.

I think so, but need to double check with the HW folks.

Technically, the dims could be powered off, and put into 2 different low
power non-destructive states. (standby and suspend), but putting them
in a low power non-destructive mode has much less latency and provides
good bang for the buck or LOC change needed to make work.

Which lower power mode an application chooses will depend on latency
tolerances of the app. For the POC activities we are looking at we are
targeting the lower latency option, but that doesn't lock out folks from
trying to do something with the other options.

--mgross