annotate 14/February/memo/06th.txt @ 51:d8f499590d82

rename 201* to 1*
author Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
date Sun, 16 Mar 2014 13:36:04 +0900
parents 2014/February/memo/06th.txt@4815efa8527b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
37
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 2014/02/06 (Thu)
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 [Today's goal]
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 divide read と Task 実行の並列化
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 [memo]
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 divide read と Task の並列実行時、様々なエラーがおこる
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 * thread #1: tid = 0x35eb7c, 0x000000010000fb14 regex`FifoDmaManager::has_mail_from_host(this=0x0000000100112a00) + 20 at FifoDmaManager.cc:223, queue = 'com.apple.main-thread, stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 frame #0: 0x000000010000fb14 regex`FifoDmaManager::has_mail_from_host(this=0x0000000100112a00) + 20 at FifoDmaManager.cc:223
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 220 int
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 221 FifoDmaManager::has_mail_from_host()
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 222 {
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 -> 223 return mail_queue1->count();
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 224 }
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 225
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 226 void
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
17
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 * thread #6: tid = 0x35f41d, 0x00000001000089fc regex`SchedTask::exec(this=0x000000010052ab00) + 428 at SchedTask.cc:119, stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 frame #0: 0x00000001000089fc regex`SchedTask::exec(this=0x000000010052ab00) + 428 at SchedTask.cc:119
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 116 } else {
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 117 run(this, read,write);
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 118 }
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
23 -> 119 (*connector->end_dmawait_profile)(&connector->global_busy_time,&connector->start_time,&connector->stop_time);
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
24 120 list->task_end_time = gettime();
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
25
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
26
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
27
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
28 regex(50295,0x1046f6000) malloc: *** error for object 0x10021c5d8: incorrect checksum for freed object - object was probably modified after being freed.
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 *** set a breakpoint in malloc_error_break to debug
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
30 match count : 40
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
31 match count : 40
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
32 [start exec No: 9]
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
33 [start exec No: 25]
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
34 match count : 40
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
35 [start exec No: 10]
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
36 match count : 40
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
37 [start exec No: 26]
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
38
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
39
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
40 frame #9: 0x0000000100007ed8 regex`SchedMail::next(this=0x0000000100218d70, scheduler=0x000000010050c170, p=0x0000000000000000) + 200 at SchedMail.cc:19
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
41 16 return new SchedExit();
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
42 17 } else {
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
43 18 int dma_tag_switch = 0;
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
44 -> 19 return new SchedTaskList(params_addr, scheduler, dma_tag_switch);
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
45 20 }
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
46 21 }
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
47
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
48 さて、どこから直したらいいのだろうか・・・
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
49
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
50 allocate(sizeof(w->read_file_size)) <- 型 size しかとれてねーよ(震え声
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
51 (赤っ恥かきました)
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
52 allocate(w->read_file_size) <- これで allocate できたね(ニッコリ
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
53
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
54
4815efa8527b add 06th.txt & experiment result
Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
parents:
diff changeset
55 make clean; make -j gpu parallel ではなくて gpu で TaskManager をコンパイルするときのコマンド