public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* discontigmem vs sparsemem on ia64 platforms
@ 2009-09-02 16:38 Nick Piggin
  2009-09-02 16:56 ` Luck, Tony
  2009-09-02 17:12 ` Nick Piggin
  0 siblings, 2 replies; 3+ messages in thread
From: Nick Piggin @ 2009-09-02 16:38 UTC (permalink / raw)
  To: linux-ia64

Hi guys,

I wonder why you have DISCONTIGMEM_DEFAULT selected for GENERIC, SN2, and ZX1?
You don't explicitly disable SPARSEMEM for those platforms I think, so is
there another reason than bugs for this?

My followup question... I wonder why memory hotplug is disabled for
discontigmem? It seems like there is code there to handle it (athough
I don't know the memory hotplug code well so I didn't look too closely).

Thanks,
Nick

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: discontigmem vs sparsemem on ia64 platforms
  2009-09-02 16:38 discontigmem vs sparsemem on ia64 platforms Nick Piggin
@ 2009-09-02 16:56 ` Luck, Tony
  2009-09-02 17:12 ` Nick Piggin
  1 sibling, 0 replies; 3+ messages in thread
From: Luck, Tony @ 2009-09-02 16:56 UTC (permalink / raw)
  To: linux-ia64

> I wonder why you have DISCONTIGMEM_DEFAULT selected for GENERIC, SN2, and > ZX1?
> You don't explicitly disable SPARSEMEM for those platforms I think, so is
> there another reason than bugs for this?

On ia64 DISCONTIGMEM was implemented first.  SPARSEMEM came later, and
nobody has sent patches to switch the config defaults over to use it.
I'd love it if somebody came up with some definitive arguments for
why SPARSEMEM can replace DISCONTIGMEM so we could clear out some of
the clutter that has accumulated by having both implementations. Last
time I looked (a very long time ago) it looked like SPARSEMEM would
have difficulties handling the extreme levels of sparseness on the
SN2 platform (high order physical address bits are used to route
memory traffic to the right node ... and since SN2 supports a lot
of nodes, the bits in question are way up high).

> My followup question... I wonder why memory hotplug is disabled for
> discontigmem? It seems like there is code there to handle it (athough
> I don't know the memory hotplug code well so I didn't look too closely).

Not at all sure of the history for this one.

-Tony

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: discontigmem vs sparsemem on ia64 platforms
  2009-09-02 16:38 discontigmem vs sparsemem on ia64 platforms Nick Piggin
  2009-09-02 16:56 ` Luck, Tony
@ 2009-09-02 17:12 ` Nick Piggin
  1 sibling, 0 replies; 3+ messages in thread
From: Nick Piggin @ 2009-09-02 17:12 UTC (permalink / raw)
  To: linux-ia64

On Wed, Sep 02, 2009 at 09:56:40AM -0700, Luck, Tony wrote:
> > I wonder why you have DISCONTIGMEM_DEFAULT selected for GENERIC, SN2, and > ZX1?
> > You don't explicitly disable SPARSEMEM for those platforms I think, so is
> > there another reason than bugs for this?
> 
> On ia64 DISCONTIGMEM was implemented first.  SPARSEMEM came later, and
> nobody has sent patches to switch the config defaults over to use it.
> I'd love it if somebody came up with some definitive arguments for
> why SPARSEMEM can replace DISCONTIGMEM so we could clear out some of
> the clutter that has accumulated by having both implementations. Last
> time I looked (a very long time ago) it looked like SPARSEMEM would
> have difficulties handling the extreme levels of sparseness on the
> SN2 platform (high order physical address bits are used to route
> memory traffic to the right node ... and since SN2 supports a lot
> of nodes, the bits in question are way up high).

Not too sure. SPARSEMEM certainly can handle sparseness within a
node better than DISCONTIGMEM I think (discontigmem is basically
like a flat mem per-node so it gets redundant mem_map over holes
within a node).

I figured it was probably something to do with sn2, but I wondered
about bugs in the other cases too.

> > My followup question... I wonder why memory hotplug is disabled for
> > discontigmem? It seems like there is code there to handle it (athough
> > I don't know the memory hotplug code well so I didn't look too closely).
> 
> Not at all sure of the history for this one.

OK, I thought I'd ask here because some of the ia64 people are
involved in developing mem hotplug.

Thanks,
Nick

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-09-02 17:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-02 16:38 discontigmem vs sparsemem on ia64 platforms Nick Piggin
2009-09-02 16:56 ` Luck, Tony
2009-09-02 17:12 ` Nick Piggin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox