[lkml]   [2002]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] tsc-disable_B9
>> It's not correlating it to real time that's the problem. It's getting resceduled
>> inbetween calls that hurts. Take your example.
>> rdtsc
>> mov %eax,%ebx
>> <- get rescheduled here
>> rdtsc
>> Broken. May even take negative "time".
> Statistically irrelevant. When you have 100,000 samples all the
> pre-emption ones drop into the dud sample filter with IRQ disturbance
> and so on.

OK, so let's take a better example. People are (I think) mainly using rdtsc
to provide a monotonically increasing counter for database "transaction
order" stamping. I think that's really the case we're worried about.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:0.113 / U:2.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site