Re: [Gems-users] TM - runtime error


Date: 10 Sep 2009 14:55:27 -0500
From: holey003@xxxxxxx
Subject: Re: [Gems-users] TM - runtime error
Ok.. But I got this value from conswtch.simics script where no. of threads are 2*processors-2. If I make it 3, I can't see debug messages for transactions, which means callback to simics from benchmark having those macros, e.g. BEGIN_WORKLOAD_TRANSACTION, are not working. Why would they work when number of threads are more?

-Anup

On Sep 10 2009, Polina Dudnik wrote:

You can't run 6 threads on 4 processors because TM threads need to bind to
processors, plus there needs to be an extra processor for OS. So, 6 threads
would run on 7+ processors.

On Tue, Sep 8, 2009 at 3:08 PM, <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→]