Re: [Patch][RFC] Disabling per-tgid stats on task exit in taskstats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 21 Jun 2006 14:45:01 -0700
Jay Lan <[email protected]> wrote:

> > Won't it suffice to make delivery of these stats best effort, with
> > userspace dealing with missing data,
> 
> How do you recover the missed data?

I suspect the best we can do is to let userspace know that data was lost. 
Is the -ENOBUFS reliable?

> > rather than risk delaying exits ? The cases where exits are so
> > frequent as in this program should be
> 
> This is very true. However, it was a 2p IA64 machine. I am too frightened to
> speak "512p"...

If we have 511 CPUs generating data faster than one CPU can handle it,
something bad will happen.  We either throttle the 511 CPUs or drop data.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux