login
Header Space

 
 

Re: OpenBSD/alpha Status

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Joachim Schipper <j.schipper@...>
Cc: <misc@...>
Date: Monday, April 16, 2007 - 5:35 pm

On Monday 16 April 2007 13:27, Joachim Schipper wrote:
wrote:

As I tried to say, I'm *really* unsure if it would help in any way but 
in theory, it might, so it seems worth a shot. As I said earlier, some 
suspect the "alpha bug" is some type of race condition but there is no 
proof to the assumption.

There are many different types of race conditions, but in short they are 
all some form of timing issue. Often the race condition exist as a 
timing issue *between* two or more threads/processes. When you mess 
with the priority of a process (and everything it spawns), you change 
how much time each gets on the processor, and hence, change the overall 
timing dynamics.

If the race is in a linear code path, changing the priority/timing will 
do nothing for you and you'll just hit the same bug, albeit more 
slowly. On the other hand, if the race is between processes/threads, 
interesting things can happen when you change the overall timing 
dynamics. (disk timing, cache timing/hits/misses/, memory timing, ...)

Jacking the priority one way or another on different chunks of code, or 
even all of it, is one of the ways you can isolate a race problem 
through trial and error.

Is it a fool proof method? -Nope.
Can it be a complete waste of time? -Yep.
Is it an indication that you're totally desperate? -Yes, most certainly.

The trouble is, most race conditions I've seen (*cough* written) are 
inconsistent, and you get drop kicked into some random place. In 
contrast, the "alpha bug" always used to drop me to the same exact 
place when doing system builds (kernel builds to be exact). It was so 
consistent on the alpha machine I donated to the SBCL project that I 
considered putting shell code in the source file. ;-)

-jcr
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
OpenBSD/alpha Status, Bryan Vyhmeister, (Sun Apr 15, 2:40 pm)
Re: OpenBSD/alpha Status, Chris Cappuccio, (Sun Apr 15, 7:37 pm)
Re: OpenBSD/alpha Status, Bryan Vyhmeister, (Mon Apr 16, 1:40 am)
Re: OpenBSD/alpha Status, Artur Grabowski, (Tue Apr 17, 11:44 am)
Re: OpenBSD/alpha Status, Bryan Vyhmeister, (Tue Apr 17, 12:10 pm)
Re: OpenBSD/alpha Status, Henning Brauer, (Tue Apr 17, 1:19 pm)
Re: OpenBSD/alpha Status, Bryan Vyhmeister, (Tue Apr 17, 1:47 pm)
Re: OpenBSD/alpha Status, Henning Brauer, (Wed Apr 18, 3:53 am)
Re: OpenBSD/alpha Status, Bryan Vyhmeister, (Wed Apr 18, 4:19 am)
Re: OpenBSD/alpha Status, Henning Brauer, (Wed Apr 18, 8:52 am)
Re: OpenBSD/alpha Status, Bryan Vyhmeister, (Wed Apr 18, 12:07 pm)
Re: OpenBSD/alpha Status, Joachim Schipper, (Sun Apr 15, 3:27 pm)
Re: OpenBSD/alpha Status, Bryan Vyhmeister, (Sun Apr 15, 5:30 pm)
Re: OpenBSD/alpha Status, Joachim Schipper, (Sun Apr 15, 5:50 pm)
Re: OpenBSD/alpha Status, Bryan Vyhmeister, (Sun Apr 15, 6:27 pm)
Re: OpenBSD/alpha Status, Siegbert Marschall, (Sun Apr 15, 6:08 pm)
Re: OpenBSD/alpha Status, Bryan Vyhmeister, (Sun Apr 15, 6:23 pm)
Re: OpenBSD/alpha Status, J.C. Roberts, (Mon Apr 16, 1:39 pm)
Re: OpenBSD/alpha Status, bofh, (Tue Apr 17, 11:56 am)
Re: OpenBSD/alpha Status, Artur Grabowski, (Tue Apr 17, 11:42 am)
Re: OpenBSD/alpha Status, Bryan Vyhmeister, (Mon Apr 16, 2:30 pm)
Re: OpenBSD/alpha Status, Maurice Janssen, (Mon Apr 16, 3:06 pm)
Re: OpenBSD/alpha Status, J.C. Roberts, (Mon Apr 16, 3:33 pm)
Re: OpenBSD/alpha Status, Maurice Janssen, (Mon Apr 16, 5:14 pm)
Re: OpenBSD/alpha Status, J.C. Roberts, (Mon Apr 16, 6:17 pm)
Re: OpenBSD/alpha Status, Maurice Janssen, (Tue Apr 17, 1:15 am)
Re: OpenBSD/alpha Status, chefren, (Mon Apr 16, 9:19 pm)
Re: OpenBSD/alpha Status, Siegbert Marschall, (Tue Apr 17, 10:10 am)
Re: OpenBSD/alpha Status, Johan SANCHEZ, (Tue Apr 17, 10:25 am)
Re: OpenBSD/alpha Status, Siegbert Marschall, (Mon Apr 16, 4:28 pm)
Re: OpenBSD/alpha Status, Joachim Schipper, (Mon Apr 16, 4:27 pm)
Re: OpenBSD/alpha Status, J.C. Roberts, (Mon Apr 16, 5:35 pm)
Re: OpenBSD/alpha Status, Miod Vallat, (Mon Apr 16, 4:57 pm)
Re: OpenBSD/alpha Status, Henning Brauer, (Sun Apr 15, 6:48 pm)
Re: OpenBSD/alpha Status, Bryan Vyhmeister, (Mon Apr 16, 1:37 am)
Re: OpenBSD/alpha Status, Henning Brauer, (Mon Apr 16, 6:17 am)
Re: OpenBSD/alpha Status, Bryan Vyhmeister, (Mon Apr 16, 11:02 am)
speck-geostationary