Re: [Gems-users] TM - runtime error


Date: 08 Sep 2009 21:32:46 -0500
From: holey003@xxxxxxx
Subject: Re: [Gems-users] TM - runtime error
Another observation is I am not able to see debug messages for set_handler_address() and set_log_base(). This means magic instruction callback from workload to simics is not working for few of the commands. Similary callback is not working for BEGIN_WORKLOAD_TRANSACTION, BEGIN_CLOSED_TRANSACTION(), BEGIN_TRANSACTION(), COMMIT_TRANSACTION() and END_WORKLOAD_TRANSACTION. Error I got in my previous mail is because COMMIT_CLOSED_TRANSACTION() command is working but there was no BEGIN_WORKLOAD_TRANSACTION executed before it.

Is there any known problem with these callbacks?
What could be debug point for this issue?

Thanks,
Anup

On Sep 8 2009, holey003@xxxxxxx wrote:

Hi,

I am running 'conswtch' benchmark with 6 threads and 100 transactions. I am
simulating a 4-core machine. I got following error while running the code.

Turning I-STC off and flushing old data
Turning D-STC off and flushing old data
D-STC is currently *OFF*
I-STC is currently *OFF*
Deprecation warning: variable assignment without variable prefix $.
cpu0: no-instruction-fetch
cpu1: no-instruction-fetch
cpu2: no-instruction-fetch
cpu3: no-instruction-fetch
Caught time breakpoint
successful installation of the ruby timing model.
Ruby Timing Mode
Creating event queue...
Creating event queue done
Creating system...
 Processors: 4
Creating system done
Ruby initialization complete
val = 7
End exposed action for thread 0 of proc 3 PC [0x11728, line 0x11700]
36500 3 [3,0] endEscapeAction WARNING escape depth < 1. Depth = 0
val = 6
Begin exposed action for thread 0 of proc 3 PC [0x116f0, line 0x116c0]
38250 3 [3,0] Begin ESCAPE ACTION - ESCAPE DEPTH: 1 PC [0x116f0, line 0x116c0]
val = 7
End exposed action for thread 0 of proc 3 PC [0x11728, line 0x11700]
183000 3 [3,0] END ESCAPE ACTION - ESCAPE DEPTH: 0 PC [0x11728, line 0x11700]
val = 6
Begin exposed action for thread 0 of proc 3 PC [0x116f0, line 0x116c0]
184750 3 [3,0] Begin ESCAPE ACTION - ESCAPE DEPTH: 1 PC [0x116f0, line 0x116c0]
val = 7
End exposed action for thread 0 of proc 3 PC [0x11728, line 0x11700]
329500 3 [3,0] END ESCAPE ACTION - ESCAPE DEPTH: 0 PC [0x11728, line 0x11700]
val = 6
Begin exposed action for thread 0 of proc 3 PC [0x116f0, line 0x116c0]
331250 3 [3,0] Begin ESCAPE ACTION - ESCAPE DEPTH: 1 PC [0x116f0, line 0x116c0]
val = 7
End exposed action for thread 0 of proc 3 PC [0x11728, line 0x11700]
476000 3 [3,0] END ESCAPE ACTION - ESCAPE DEPTH: 0 PC [0x11728, line 0x11700]
val = 6
Begin exposed action for thread 0 of proc 3 PC [0x116f0, line 0x116c0]
477750 3 [3,0] Begin ESCAPE ACTION - ESCAPE DEPTH: 1 PC [0x116f0, line 0x116c0]
val = 7
End exposed action for thread 0 of proc 3 PC [0x11728, line 0x11700]
622500 3 [3,0] END ESCAPE ACTION - ESCAPE DEPTH: 0 PC [0x11728, line 0x11700]
val = 6
Begin exposed action for thread 0 of proc 3 PC [0x116f0, line 0x116c0]
624250 3 [3,0] Begin ESCAPE ACTION - ESCAPE DEPTH: 1 PC [0x116f0, line 0x116c0]
val = 7
End exposed action for thread 0 of proc 3 PC [0x11728, line 0x11700]
769000 3 [3,0] END ESCAPE ACTION - ESCAPE DEPTH: 0 PC [0x11728, line 0x11700]
val = 6
Begin exposed action for thread 0 of proc 3 PC [0x116f0, line 0x116c0]
770750 3 [3,0] Begin ESCAPE ACTION - ESCAPE DEPTH: 1 PC [0x116f0, line 0x116c0]
val = 7
End exposed action for thread 0 of proc 3 PC [0x11728, line 0x11700]
915500 3 [3,0] END ESCAPE ACTION - ESCAPE DEPTH: 0 PC [0x11728, line 0x11700]
val = 6
Begin exposed action for thread 0 of proc 3 PC [0x116f0, line 0x116c0]
917250 3 [3,0] Begin ESCAPE ACTION - ESCAPE DEPTH: 1 PC [0x116f0, line 0x116c0]
val = 7
End exposed action for thread 0 of proc 3 PC [0x11728, line 0x11700]
1062000 3 [3,0] END ESCAPE ACTION - ESCAPE DEPTH: 0 PC [0x11728, line 0x11700]
val = 6
Begin exposed action for thread 0 of proc 3 PC [0x116f0, line 0x116c0]
1063750 3 [3,0] Begin ESCAPE ACTION - ESCAPE DEPTH: 1 PC [0x116f0, line 0x116c0]
val = 7
End exposed action for thread 0 of proc 3 PC [0x11728, line 0x11700]
1208500 3 [3,0] END ESCAPE ACTION - ESCAPE DEPTH: 0 PC [0x11728, line 0x11700]
val = 2048
Commit CLOSED transaction for thread 0 of proc 3 XID 0
commitTransaction ERROR NOT IN XACT proc =3 logical_proc = 3 xid = 0 isOpen
= 0 tid = -1 pc = [0x11788, line 0x11780] level = 0 time = 1210500
simics-common: log_tm/TransactionInterfaceManager.C:243: void TransactionInterfaceManager::commitTransaction(int, int, bool): Assertion `m_transactionLevel[thread] >= 1' failed.
Abort (SIGABRT) in main thread
The simulation state has been corrupted. Simulation cannot continue.
Please restart Simics.
Starting command line. (May have skipped commands in script files.)
[cpu3] v:0x0000000000011788 p:0x00026085788  magic (sethi 0x800, %g0)
Setting new inspection cpu: cpu3


What does m_escapeDepth store?
Also it is always showing 'thread 0 of proc 3'. How can I assure if each thread is bound to processor? I am using commands
con0.input "psrset -c 1 \n"
con0.input "psrset -c 2 \n"
con0.input "psrset -c 3 \n"
before running the benchmark.


Thanks,
Anup
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.


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