Re: [PATCH 2/3] x86: Implement prctl PR_GET_TSC and PR_SET_TSC

From: H. Peter Anvin
Date: Sun Apr 13 2008 - 18:10:40 EST


Erik Bosman wrote:

It took me a while, but I have done some tests om my system with and
without my patch applied.

All deamons but klogd/syslogd were shut down andI used the following
command:

LMBENCH_SCHED="SINGLE" \
/usr/lib/lmbench/bin/{i686-pc,x86_64}-linux-gnu/lat_ctx -s 0 2

The variation was quite high so I ran it a 1000 times for each
configuration.

x86_32, patch applied, 1000x repeated, avg: 1.319, rmse: 0.081
x86_32, patch not applied, 1000x repeated, avg: 1.335, rmse: 0.107

x86_64, patch applied, 1000x repeated, avg: 1.417, rmse: 0.0716
x86_64, patch not applied, 1000x repeated, avg: 1.423, rmse: 0.0745

This is on a core 2 duo E6300.


OK, so it sounds like there is no measurable difference. Good.

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