lkml.org 
[lkml]   [2007]   [May]   [1]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 1 May 2007 15:34:40 -0700
FromBill Irwin <>
SubjectRe: per-thread rusage
On Tue, May 01, 2007 at 06:27:24PM -0400, Theodore Tso wrote:
> 	There are two ways of implementing this.  One is to have the
> JVM periodically poll using a pthread_getrusage() interface.  A better
> choice might be some kind of per-thread CPU limit, that would result
> in a thread-specific SIGXCPU signal.  But there are no interfaces
> today that do anything like this.
> 	Do you have any thoughts or preferences about how this might
> be done, if we tried to about doing something like a per-thread
> SIGXCPU functionality?  If not, pthread_getrusage() might be
> sufficient, if not the most efficient way of doing things.

I just so happen to think we should implement a variety of CPU resource
limits beyond what we now do, so this, too, interests me.


-- wli
-
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/

\
 
 \ /
  Last update: 2007-05-01 22:37    [from the cache]
©2003-2008