Re: [PATCH] tsc-disable_B9

Alan Cox (alan@lxorguk.ukuu.org.uk)
16 Aug 2002 12:15:59 +0100


On Thu, 2002-08-15 at 17:56, Andrea Arcangeli wrote:
> sorry but I don't see the point of badtsc only in kernel.
>
> If the TSC is bad that will be in particular bad from userspace where
> there's no hope to know what CPU you're running on.

You can still do meaningful measurements for things like profiling
because the cpu hop is statistically uninteresting.

> How do you detect the NUMA hw? That would be a nice addition so the
> numa-Q users won't be required to add notsc to the append lilo line.

The current Summit patches from IBM (the ones James did and merged in
-ac) do detection for Numa-Q and Summit. Those are pending for Marcelo
right now so if you have a better way I'd like to know.

Alan

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