Re: loaded router, excessive getnstimeofday in oprofile\

From: David Miller
Date: Wed Aug 27 2008 - 18:23:28 EST


From: Andi Kleen <andi@xxxxxxxxxxxxxx>
Date: Wed, 27 Aug 2008 20:32:16 +0200

> > Doing the expensive timestamping in a possibly delayed thread (ie some
> > milliseconds
> > after hardware notification) is wrong/useless.
>
> We had this discussion earlier, please review the thread I linked to.
>
> Note that interrupts can be arbitarily delayed too (both by cli
> and by interrupt mitigation), even on a non RT kernel.

This is a much different kind of delay compared to sleeping for seconds
or longer on the socket lock while a GFP_KERNEL allocation is being
satisfied by swapping tons of crap out to disk.

Your socket solution is not a workable scheme.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/