Re: loaded router, excessive getnstimeofday in oprofile

From: David Miller
Date: Thu Aug 28 2008 - 15:37:05 EST


From: Denys Fedoryshchenko <denys@xxxxxxxxxxx>
Date: Thu, 28 Aug 2008 19:48:52 +0300

> So there is few good solutions available (IMHO):
> 1)Introduce some SO_REALTIMESTAMP (anyway even SO_TIMESTAMP not defined in any
> standard) for banks and ntp folks, who need them. And even give them timespec
> instead timeval, so they will be even more happy with resolution.
> 2)Provide sysctl,kernel boot, or even "build time" option for "banks" to have
> high resolution(and expensive) SO_TIMESTAMP.

The performance hit hurts, but changing the default to lower
resolution after it having been high resolution for 10+ years
is a regression and something we really can't do.
--
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/