Re: [RFC] Parallelize IO for e2fsck

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andreas Dilger
Date: Thursday, January 24, 2008 - 3:07 pm

On Jan 24, 2008  18:32 +0100, Bodo Eggert wrote:

Well, sending a few signals (maybe to the top 5 processes in the OOM killer
list) is still a LOT better than OOM-killing them without warning...  That
way important system processes could be taught to understand SIGDANGER and
maybe do something about it instead of being killed, and if Firefox and
other memory hungry processes flush some of their cache it is not fatal.

I wouldn't think that SIGDANGER means "free all of your cache", since the
memory usage clearly wasn't a problem a few seconds previously, so as
an application writer I'd code it as "flush the oldest 10% of my cache"
or similar, and the kernel could send SIGDANGER again (or kill the real
offender) if the memory usage again becomes an issue.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.

-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC] Parallelize IO for e2fsck, Bodo Eggert, (Thu Jan 24, 10:32 am)
Re: [RFC] Parallelize IO for e2fsck, Andreas Dilger, (Thu Jan 24, 3:07 pm)
Re: [RFC] Parallelize IO for e2fsck, Adrian Bunk, (Thu Jan 24, 4:08 pm)
Re: [RFC] Parallelize IO for e2fsck, Theodore Tso, (Thu Jan 24, 4:40 pm)
Re: [RFC] Parallelize IO for e2fsck, Zan Lynx, (Thu Jan 24, 5:25 pm)
Re: [RFC] Parallelize IO for e2fsck, Andreas Dilger, (Fri Jan 25, 4:09 am)
Re: [RFC] Parallelize IO for e2fsck, Bryan Henderson, (Fri Jan 25, 11:03 am)
Re: [RFC] Parallelize IO for e2fsck, Bodo Eggert, (Fri Jan 25, 4:01 pm)
Re: [RFC] Parallelize IO for e2fsck, Zan Lynx, (Fri Jan 25, 5:55 pm)
Re: [RFC] Parallelize IO for e2fsck, Bryan Henderson, (Fri Jan 25, 6:55 pm)
Re: [RFC] Parallelize IO for e2fsck, KOSAKI Motohiro, (Sat Jan 26, 4:56 am)
Re: [RFC] Parallelize IO for e2fsck, KOSAKI Motohiro, (Sat Jan 26, 5:32 am)
Re: [RFC] Parallelize IO for e2fsck, Theodore Tso, (Sat Jan 26, 6:21 am)