Re: loaded router, excessive getnstimeofday in oprofile

From: Andi Kleen
Date: Thu Aug 28 2008 - 12:54:22 EST


On Thu, Aug 28, 2008 at 07:48:52PM +0300, Denys Fedoryshchenko wrote:
> 1)Right now i have 400-500 Mbps passing router. If i will run
> 5 "pings" ,simultaneous ,under _USER_ privileges(i know ping is suid),
> instead of free 20% CPU time, i will have 1-2% free CPU time. Sure i know
> ping is suid program, but it is has been "like this" since long time. By
> security psychos it will be caled DoS.

The skb timestamp overhead does not add up, it's either on or off.
If multiple pings make the router slower it must be something else.

-Andi
--
ak@xxxxxxxxxxxxxxx
--
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/