Are you sure about "this T0 corresponds to 'thread 0' for your application"? I am not sure, sorry about it? lets see if somebody guides us...

I think your application should run fine. what exactly are you are trying to trace?


--------- 원본 메일 ---------
보낸사람: Sobhan Niknam <[email protected]>
받는사람 : Tod <[email protected]>
날짜: 2014년 1월 28일 화요일, 21시 34분 39초 +0900
제목: Re: [gem5-users] FS-Run Multi thread application on Multi core

thank you for your quick response.
because for example in short section of my trace only T0 exist for both of  cpu0 and cpu1. May i forget to do something else?


2286836948000: system.switch_cpus0 T0 : @memcpy+164    : beq        r1,0xfffffc00004f7070 : IntAlu :
2286836947500: system.switch_cpus1 T0 : @osf_setsysinfo+4    : lda        r29,30496(r29)  : IntAlu :  D=0xfffffc000085bf40
2286836947500: system.switch_cpus1 T0 : @osf_setsysinfo+8    : lda        r30,-160(r30)   : IntAlu :  D=0xfffffc001f407e78
2286836947500: system.switch_cpus1 T0 : @osf_setsysinfo+12    : cmpeq      r16,14,r1       : IntAlu :  D=0x0000000000000001
2286836947500: system.switch_cpus1 T0 : @osf_setsysinfo+16    : stq        r26,0(r30)      : MemWrite :  D=0xfffffc0000310e14 A=0xfffffc001f407e78
2286836947500: system.switch_cpus1 T0 : @osf_setsysinfo+20    : bne        r1,0xfffffc0000314a10 : IntAlu :
2286836948500: system.switch_cpus1 T0 : @osf_setsysinfo+496    : ldq        r3,88(r8)       : MemRead :  D=0xfffffc0000000000 A=0xfffffc001f404058
2286836948500: system.switch_cpus1 T0 : @osf_setsysinfo+500    : bis        r17,8,r1        : IntAlu :  D=0x0000020000828768
2286836948500: system.switch_cpus1 T0 : @osf_setsysinfo+504    : lda        r2,8(r17)       : IntAlu :  D=0x0000020000828768
2286836948500: system.switch_cpus1 T0 : @osf_setsysinfo+508    : bis        r1,r2,r1        : IntAlu :  D=0x0000020000828768
2286836948500: system.switch_cpus1 T0 : @osf_setsysinfo+512    : and        r1,r3,r1        : IntAlu :  D=0x0000000000000000
2286836949000: system.switch_cpus0 T0 : @memcpy+144    : ldq        r1,0(r2)        : MemRead :  D=0x0000000000000000 A=0xfffffc001f0f91f8
2286836949000: system.switch_cpus0 T0 : @memcpy+148    : stq        r1,0(r3)        : MemWrite :  D=0x0000000000000000 A=0xfffffc001f0bb930
2286836949000: system.switch_cpus0 T0 : @memcpy+152    : lda        r3,8(r3)        : IntAlu :  D=0xfffffc001f0bb938
2286836949000: system.switch_cpus0 T0 : @memcpy+156    : lda        r2,8(r2)        : IntAlu :  D=0xfffffc001f0f9200
2286836950000: system.switch_cpus0 T0 : @memcpy+160    : cmpeq      r3,r4,r1        : IntAlu :  D=0x0000000000000001
2286836950000: system.switch_cpus0 T0 : @memcpy+164    : beq        r1,0xfffffc00004f7070 : IntAlu :
2286836948500: system.switch_cpus1 T0 : @osf_setsysinfo+516    : bne        r1,0xfffffc0000314a00 : IntAlu :
2286836948500: system.switch_cpus1 T0 : @osf_setsysinfo+520    : ldq        r25,0(r17)      : MemRead :  D=0x0000000000000000 A=0x20000828760
2286836948500: system.switch_cpus1 T0 : @osf_setsysinfo+524    : bne        r1,0xfffffc0000314a00 : IntAlu :
2286836949000: system.switch_cpus1 T0 : @osf_setsysinfo+528    : ldl        r3,76(r8)       : MemRead :  D=0x0000000000000000 A=0xfffffc001f40404c
2286836949000: system.switch_cpus1 T0 : @osf_setsysinfo+532    : ldah       r2,126(r31)     : IntAlu :  D=0x00000000007e0000
2286836949000: system.switch_cpus1 T0 : @osf_setsysinfo+536    : ldah       r1,-126(r31)    : IntAlu :  D=0xffffffffff820000
2286836949000: system.switch_cpus1 T0 : @osf_setsysinfo+540    : lda        r1,-12415(r1)   : IntAlu :  D=0xffffffffff81cf81
2286836950000: system.switch_cpus1 T0 : @osf_setsysinfo+544    : lda        r2,12414(r2)    : IntAlu :  D=0x00000000007e307e
2286836950000: system.switch_cpus1 T0 : @osf_setsysinfo+548    : and        r25,r2,r2       : IntAlu :  D=0x0000000000000000
2286836950000: system.switch_cpus1 T0 : @osf_setsysinfo+552    : and        r3,r1,r3        : IntAlu :  D=0x0000000000000000
2286836950000: system.switch_cpus1 T0 : @osf_setsysinfo+556    : bis        r2,r3,r2        : IntAlu :  D=0x0000000000000000
2286836950000: system.switch_cpus1 T0 : @osf_setsysinfo+560    : stl        r2,76(r8)       : MemWrite :  D=0x0000000000000000 A=0xfffffc001f40404c
2286836950000: system.switch_cpus1 T0 : @osf_setsysinfo+564    : stt        f0,24(r30)      : MemWrite :  D=0x3fe89dcbfa205040 A=0xfffffc001f407e90
2286836954500: system.switch_cpus0 T0 : @memcpy+168    : lda        r2,8(r17)       : IntAlu :  D=0xfffffc001f0f9160
2286836954500: system.switch_cpus0 T0 : @memcpy+172    : lda        r1,-8(r6)       : IntAlu :  D=0x0000000000000098
2286836954500: system.switch_cpus0 T0 : @memcpy+176    : bis        r31,r3,r5       : IntAlu :  D=0xfffffc001f0bb938
2286836954500: system.switch_cpus0 T0 : @memcpy+180    : subq       r1,r7,r18       : IntAlu :  D=0xfffffffffffffff8
2286836954500: system.switch_cpus0 T0 : @memcpy+184    : addq       r2,r7,r17       : IntAlu :  D=0xfffffc001f0f9200
2286836954500: system.switch_cpus0 T0 : @memcpy+188    : lda        r1,-7(r31)      : IntAlu :  D=0xfffffffffffffff9
2286836954500: system.switch_cpus0 T0 : @memcpy+192    : cmplt      r18,r1,r1       : IntAlu :  D=0x0000000000000001
2286836954500: system.switch_cpus0 T0 : @memcpy+196    : bne        r1,0xfffffc00004f71cc : IntAlu :
2286836950000: system.switch_cpus1 T0 : @osf_setsysinfo+568    : mf_fpcr    f106,f0         : FloatAdd :  D=0x680e800000000000
2286836950000: system.switch_cpus1 T0 : @osf_setsysinfo+572    : stt        f0,16(r30)      : MemWrite :  D=0x680e800000000000 A=0xfffffc001f407e88
2286836950500: system.switch_cpus1 T0 : @osf_setsysinfo+576    : ldt        f0,24(r30)      : MemRead :  D=0x3fe89dcbfa205040 A=0xfffffc001f407e90



On Tuesday, January 28, 2014 3:39 PM, Tod <[email protected]> wrote:
How do you know that there is only thread 0 and which trace file are you referring  to?

--------- 원본 메일 ---------
보낸사람: Sobhan Niknam <[email protected]>
받는사람 : "[email protected]" <[email protected]>
날짜: 2014년 1월 28일 화요일, 20시 50분 11초 +0900
제목: [gem5-users] FS-Run Multi thread application on Multi core
Hi, all
I am using alpha fs mode.
I want to have an application with 2 threads running on 2 cpus. when i traced region of interest, only thread 0 exist in trace file. how can i run multi-thread application on mult-icore system?
this is my configuration that i run before got a checkpoint:

build/ALPHA/gem5.opt configs/example/fs.py --num-cpus=2 --caches --script=/home/sobhan/Desktop/gem5-script/blackscholes_2c_simsmall_ckpts.rcS

after got a checkpoint:

build/ALPHA/gem5.opt --debug-flags=Exec --debug-file=/home/sobhan/Desktop/blak.out configs/example/fs.py --cpu-type=detailed --num-cpus=2 --caches -r 1

please answer my question.
thanks

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
















 

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to