[Gems-users] Running cholesky on LogTM


Date: Thu, 6 Mar 2008 09:58:53 -0800
From: "Jim Leek" <jrleek@xxxxxxxxx>
Subject: [Gems-users] Running cholesky on LogTM
I modified splash-2's cholesky to run with transactions under logTM, and thought I had done it correctly, but I ran it all night and it never seemed to get anywhere.  I dumped stats and it hadn't run a single transaction all night.  It did produce a stupendous number of these though:

[Turbo] Trampoline found at block start.

Does anyone know how to figure out why or how it got stuck?  (This is on simics 2.2, the stack-trace command doesn't seem to work.)

CHOLESKY was started with:CHOLESKY_TM -p31 tk14.O. on a 32 proc checkpoint.

I made the following replacements, do these seem correct?

First barrier replaced with:

  tm_bind_to_cabinet(id+1);
  Barrier_breaking(&local_sense, id, P);
  set_transaction_registers(id);
  //  BARRIER(Global->start, P);

most barriers replaced with:
  Barrier_non_breaking(&local_sense, id, P);//BARRIER(Global->start, P);

last just replaced with:
  Barrier_breaking(&local_sense, id, P);


LOCK replaced with:
BEGIN_CLOSED_TRANSACTION(0);  //      LOCK(mem_pool[home].memoryLock)
UNLOCK replaced with:
COMMIT_CLOSED_TRANSACTION(0);//UNLOCK(mem_pool[home].memoryLock)


And lock decelerations and inits replaced with the appropriate pthread lock declarations and initializations.

Any idea what I'm doing wrong?

Jim
[← Prev in Thread] Current Thread [Next in Thread→]