Messages in this thread | | | Date | Fri, 28 Jan 2005 16:29:28 +0100 | From | Andrea Arcangeli <> | Subject | Re: User space out of memory approach |
| |
On Fri, Jan 28, 2005 at 11:21:11AM -0400, Mauricio Lin wrote: > As you know, Andrew generated the patch. Here goes some test results > about your OOM Killer and the Original OOm Killer. We accomplished 10 > experiments for each OOM Killer and below are average values. > > "Invocations" is the number of times that out_of_memory function is > called. "Selections" is the number of times that select_bad_process > function is called and "Killed" is the number of killed process. > > Original OOM Killer > Invocations average = 51620/10 = 5162 > Selections average = 30/10 = 3 > Killed average = 38/10 = 3.8 > > Andrea OOM Killer > Invocations average = 213/10 = 21.3 > Selections average = 213/10 = 21.3 > Killed average = 52/10 = 5.2 > > As you can see the number of invocations reduced significantly using > your OOM Killer.
Yep, thanks for testing!
> I did not know about this problem when I was moving the original > ranking algorithm to userland. As Thomaz mentioned: invocation > madness, reentrancy problems and those strange timers and counter as > now, since, last, lastkill and count. I guess that now i can put some > OOM Killer stuffs in userland in a safer manner with those problems > solved, right?
Yep ;)
> BTW, will your OOM Killer be included in the kernel tree?
Yes, Andrew said it should go in the next few days, which is a great news, thanks everyone! - 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/
| |