mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* adjusting lowmem_reserve_ratio on an embedded system?
@ 2009-07-01 12:23 Daniel Kabs
  2009-07-02  1:42 ` KAMEZAWA Hiroyuki
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Kabs @ 2009-07-01 12:23 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Hello,

in tracing a low on memory situation on an embedded system I came across 
the Documentation/sysctl/vm.txt. There it is advised to change the 
lowmem_reserve_ratio on systems running without swap.

I wonder if this applies for an embedded system running with 256MByte RAM 
and no swap which is using only one memory zone (ZONE_NORMAL)? I guess 
no.


To understand what the parameter means I read the relevant section from 
vm.txt and came across the terms "lowmem zone" and "lower zones" 
and "lowmem memory". I feel dumb. I could not find a concept of "lower 
zones" (or "upper" zones).  What exactly do they mean?

Cheers
Daniel

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

* Re: adjusting lowmem_reserve_ratio on an embedded system?
  2009-07-01 12:23 adjusting lowmem_reserve_ratio on an embedded system? Daniel Kabs
@ 2009-07-02  1:42 ` KAMEZAWA Hiroyuki
  0 siblings, 0 replies; 2+ messages in thread
From: KAMEZAWA Hiroyuki @ 2009-07-02  1:42 UTC (permalink / raw)
  To: Daniel Kabs; +Cc: Linux Kernel Mailing List

On Wed, 1 Jul 2009 14:23:52 +0200
Daniel Kabs <daniel.kabs@gmx.de> wrote:

> Hello,
> 
> in tracing a low on memory situation on an embedded system I came across 
> the Documentation/sysctl/vm.txt. There it is advised to change the 
> lowmem_reserve_ratio on systems running without swap.
> 
> I wonder if this applies for an embedded system running with 256MByte RAM 
> and no swap which is using only one memory zone (ZONE_NORMAL)? I guess 
> no.
> 
> 
> To understand what the parameter means I read the relevant section from 
> vm.txt and came across the terms "lowmem zone" and "lower zones" 
> and "lowmem memory". I feel dumb. I could not find a concept of "lower 
> zones" (or "upper" zones).  What exactly do they mean?
> 
Assume a system with HIGHMEM/NORMAL/DMA

zone fallback list is created as

	HIGHMEM->NORMAL->DMA

HIGHMEM's lower zone is NORMAL+DMA
NORMAL's lower zone is DMA.

"lowmem" often means NORMAL+DMA (yes, there are HIGHMEM) but it depends on context.

Regards,
-Kame


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

end of thread, other threads:[~2009-07-02  1:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-01 12:23 adjusting lowmem_reserve_ratio on an embedded system? Daniel Kabs
2009-07-02  1:42 ` KAMEZAWA Hiroyuki

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

all inboxes | Powered by JetHome®