Re: [RFC] Parallelize IO for e2fsck

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Theodore Tso
Date: Thursday, January 24, 2008 - 4:40 pm

On Fri, Jan 25, 2008 at 01:08:09AM +0200, Adrian Bunk wrote:

I agree, it's only a few processes where this makes sense.  But for
those that do, it would be useful if they could register with the
kernel that would like to know, (just before the system starts
ejecting cached data, just before swapping, etc.) and at what
frequency.  And presumably, if the kernel notices that a process is
responding to such requests with memory actually getting released back
to the system, that process could get "rewarded" by having the OOM
killer less likely to target that particular thread.

AIX basically did this with SIGDANGER (the signal is ignored by
default), except there wasn't the ability for the process to tell the
kernel at what level of memory pressure before it should start getting
notified, and there was no way for the kernel to tell how bad the
memory pressure actually was.  On the other hand, it was a relatively
simple design.

In practice very few processes would indeed pay attention to
SIGDANGER, so I think you're quite right there.


Absolutely.

						- Ted
-
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)