public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* About Replaceable OOM Killer
@ 2004-03-01  5:53 Guo, Min
  2004-03-01 10:41 ` Tvrtko A. Uršulin
  0 siblings, 1 reply; 5+ messages in thread
From: Guo, Min @ 2004-03-01  5:53 UTC (permalink / raw)
  To: cgl_discussion, linux-kernel

Hi,

	When a system runs out of memory (OOM), the Linux OOM killer
makes a best effort guess 
at which program is being excessive about its memory usage.
Unfortunately it isn't always correct 
especially on embedded systems. 
	
	I noticed that there was a person proposed an idea to replace
the default
kernel OOM with a module in CGL discussion, and he also gave out a patch
for 2.6.0-pre11,
which can be found at http://www.rossfell.co.uk/~rickp/oom/.

	How about your idea on the proposal? Any comments are welcome!	


Thanks
Guo Min 
The content of this email message solely contains my own personal views,
and not those of my employer.


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

* Re: About Replaceable OOM Killer
  2004-03-01  5:53 About Replaceable OOM Killer Guo, Min
@ 2004-03-01 10:41 ` Tvrtko A. Uršulin
  2004-03-04 12:29   ` Yury V. Umanets
  0 siblings, 1 reply; 5+ messages in thread
From: Tvrtko A. Uršulin @ 2004-03-01 10:41 UTC (permalink / raw)
  To: linux-kernel; +Cc: Guo, Min, cgl_discussion

On Monday 01 March 2004 06:53, Guo, Min wrote:

> 	How about your idea on the proposal? Any comments are welcome!

You can also try:

http://www.linux.ursulin.net/moom-2.4.22-1.patch

Though it hasn't been updated for a while because nobody cares...

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

* Re: About Replaceable OOM Killer
  2004-03-01 10:41 ` Tvrtko A. Uršulin
@ 2004-03-04 12:29   ` Yury V. Umanets
  2004-03-08 11:02     ` Pavel Machek
  2004-03-12 10:15     ` Tvrtko A. Uršulin
  0 siblings, 2 replies; 5+ messages in thread
From: Yury V. Umanets @ 2004-03-04 12:29 UTC (permalink / raw)
  To: Tvrtko A. Uršulin; +Cc: linux-kernel, Guo, Min, cgl_discussion

On Mon, 2004-03-01 at 12:41, Tvrtko A. Uršulin wrote:
> On Monday 01 March 2004 06:53, Guo, Min wrote:
> 
> > 	How about your idea on the proposal? Any comments are welcome!
> 
> You can also try:
> 
> http://www.linux.ursulin.net/moom-2.4.22-1.patch
> 
> Though it hasn't been updated for a while because nobody cares...
IMHO problem with OOM killer is that it always will do wrong choice. So,
it should be either plugin based or allow to configure it and this
means, that it will become more complex and buggy. Does not it mean,
that OOM killer should be moved to user space?

How about to export OOM event to user space? It might be done in manner
like hotplug script is used.

> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
-- 
umka


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

* Re: About Replaceable OOM Killer
  2004-03-04 12:29   ` Yury V. Umanets
@ 2004-03-08 11:02     ` Pavel Machek
  2004-03-12 10:15     ` Tvrtko A. Uršulin
  1 sibling, 0 replies; 5+ messages in thread
From: Pavel Machek @ 2004-03-08 11:02 UTC (permalink / raw)
  To: Yury V. Umanets
  Cc: Tvrtko A. Uršulin, linux-kernel, Guo, Min, cgl_discussion

Hi!

> > Though it hasn't been updated for a while because nobody cares...
> IMHO problem with OOM killer is that it always will do wrong choice. So,
> it should be either plugin based or allow to configure it and this
> means, that it will become more complex and buggy. Does not it mean,
> that OOM killer should be moved to user space?
> 
> How about to export OOM event to user space? It might be done in manner
> like hotplug script is used.

When you are OOM, you really can't exec userland script...

-- 
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms         


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

* Re: About Replaceable OOM Killer
  2004-03-04 12:29   ` Yury V. Umanets
  2004-03-08 11:02     ` Pavel Machek
@ 2004-03-12 10:15     ` Tvrtko A. Uršulin
  1 sibling, 0 replies; 5+ messages in thread
From: Tvrtko A. Uršulin @ 2004-03-12 10:15 UTC (permalink / raw)
  To: Yury V. Umanets; +Cc: linux-kernel, Guo, Min, cgl_discussion

On Thursday 04 March 2004 13:29, Yury V. Umanets wrote:
> IMHO problem with OOM killer is that it always will do wrong choice. So,
> it should be either plugin based or allow to configure it and this
> means, that it will become more complex and buggy. Does not it mean,
> that OOM killer should be moved to user space?
>
> How about to export OOM event to user space? It might be done in manner
> like hotplug script is used.

No, I don't think userspace is a good idea.

On the other hand... I have updated the MOOM patch in sync with 2.4.25, you 
can get it at http://linux.ursulin.net or from LKML.

Any comments, bug reports, etc are welcomed!

-- 
Best regards,
Tvrtko A. Uršulin, Linux admin 
--
Croadria Internet usluge <http://www.croadria.com>
- Web hosting (Linux & Windows), E-commerce

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

end of thread, other threads:[~2004-03-12 10:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-01  5:53 About Replaceable OOM Killer Guo, Min
2004-03-01 10:41 ` Tvrtko A. Uršulin
2004-03-04 12:29   ` Yury V. Umanets
2004-03-08 11:02     ` Pavel Machek
2004-03-12 10:15     ` Tvrtko A. Uršulin

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