20140828

1. 영어 기사 읽기
Scientific American에서 제공하는 60-second XXX가 너무 짧아서 싫어했는데, 읽어보니 꽤 괜찮다. 무엇보다도 podcast로 듣기도 가능하다는 것이 장점이다. (http://www.scientificamerican.com/multimedia/)

1) Ebola outbreak: ‘It’s even worse than I’d feared’, CNN
– “It’s even worse than I’d feared,” Dr. Tom Frieden, director of the Centers for Disease Control and Prevention, said Wednesday of the Ebola outbreak rampaging through West Africa. (rampage – 흔히 파괴 등을 저지르며 한동안 벌이는 광란)

2) Common Antibiotic, Losing Effectiveness, May Be Revived by Chemical Tweak, Scientific American
– A fluorinated analogue of the naturally occurring aminoglycoside neomycin – well known as an over-the-counter ointment for minor skin abrasions – could lead to a range of much-needed antibiotics in the arms race against aminoglycoside resistant bacteria. (abrasion – 찰과상, arms race – 군비 경쟁)
– Aminoglycosides have proven indispensable in the treatment of hospital acquired bacterial infections that are particularly difficult to fight in patients suffering from cystic fibrosis and immunodeficiency related illnesses. (indispensable – 없어서는 안 될, cystic fibrosis – 낭포성 섬유증)
– However, extensive clinical use of aminoglycosides over the decades has led to resistant bacteria which release a range of aminoglycoside-modifying enzymes (AMEs) that change the amino (–NH2) and hydroxyl (–OH) functional groups on the molecule, rendering them ineffective. (render – 어떤 상태가 되게 만들다)

3) Stressed Women Burn Fewer Comfort Food Calories, Scientific American
– The women were then given a fat-and calorie-packed meal of eggs, turkey sausage and biscuits and gravy. (gravy – 고기를 익힐 때 나온 육즙에 밀가루 등을 넣어 만든 소스)
– The women who had reported feeling stressed or depressed in the day before eating the meal burned 104 fewer calories during the seven hours following the meal than women who felt more mellow. (mellow – 부드러운, 그윽한)


2. gem5-gpu 벤치마크 테스트 중
/parboil/lbm은 아침에 돌아와보니 abort 되어 있었다.

$build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c ./../benchmarks/parboil/lbm/gem5_fusion_lbm --output=./../output/output --errout=./../error/error -o "./../benchmarks/parboil_datasets/lbm/short/input/120_120_150_ldc.of"
panic: Tried to read unmapped address 0.
@ tick 8014185935500
[invoke:build/VI_hammer/arch/x86/faults.cc, line 160]
Memory Usage: 3552172 KBytes
Program aborted at tick 8014185935500
[1] 22375 abort (core dumped) build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c -o

dcmbmk 벤치마크는 홈페이지에 가서 보아도 데이터셋과 사용법을 찾을 수 없었다.

/dcmbmk/cmem을 실행하고 기다림. 저번에는 시간이 길다고 중간에 종료했는데, 원래 시뮬레이터 환경에서는 오래 걸린다.

$build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c ./../benchmarks/dcmbmk/cmem/gem5_fusion_cmem --output=./../output/output --errout=./../error/error

/dcmbmk/diverge는 실행이 잘 되는 것 같았다.

$build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c ./../benchmarks/dcmbmk/diverge/gem5_fusion_diverge --output=./../output/output --errout=./../error/error

/dcmbmk/global은 알 수 없는 이유로 종료되었다.

$build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c ./../benchmarks/dcmbmk/global/gem5_fusion_global --output=./../output/output --errout=./../error/error
panic: ShaderTLB missing translation for vaddr: 0x6ee088006ee080! @pc: 0xb8
@ tick 152338545
[beginTranslateTiming:build/VI_hammer/src/gpu/shader_tlb.cc, line 89]
Memory Usage: 2425592 KBytes
Program aborted at tick 152338545
[1] 24560 abort (core dumped) build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c

/dcmbmk/icache1 알 수 없는 이유로 종료되었다.

$build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c ./../benchmarks/dcmbmk/icache1/gem5_fusion_icache1 --output=./../output/output --errout=./../error/error
panic: ShaderTLB missing translation for vaddr: 0x4ad000! @pc: 0xffffffffffffffff
@ tick 4288864310
[beginTranslateTiming:build/VI_hammer/src/gpu/shader_tlb.cc, line 89]
Memory Usage: 3772104 KBytes
Program aborted at tick 4288864310
[1] 24833 abort (core dumped) build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c

/dcmbmk/icache2 알 수 없는 이유로 종료되었다.

$build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c ./../benchmarks/dcmbmk/icache2/gem5_fusion_icache2 --output=./../output/output --errout=./../error/error
panic: ShaderTLB missing translation for vaddr: 0x51ef80! @pc: 0xffffffffffffffff
@ tick 2285982927
[beginTranslateTiming:build/VI_hammer/src/gpu/shader_tlb.cc, line 89]
Memory Usage: 4875636 KBytes
Program aborted at tick 2285982927
[1] 24940 abort (core dumped) build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c

/dcmbmk/icache3 알 수 없는 이유로 종료되었다.

$build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c ./../benchmarks/dcmbmk/icache3/gem5_fusion_icache3 --output=./../output/output --errout=./../error/error
panic: ShaderTLB missing translation for vaddr: 0x4b8000! @pc: 0xffffffffffffffff
@ tick 1323836761
[beginTranslateTiming:build/VI_hammer/src/gpu/shader_tlb.cc, line 89]
Memory Usage: 4818980 KBytes
Program aborted at tick 1323836761
[1] 25010 abort (core dumped) build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c

/dcmbmk/icache4 알 수 없는 이유로 종료되었다.

$build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c ./../benchmarks/dcmbmk/icache3/gem5_fusion_icache3 --output=./../output/output --errout=./../error/error
panic: ShaderTLB missing translation for vaddr: 0x4b8000! @pc: 0xffffffffffffffff
@ tick 1323836761
[beginTranslateTiming:build/VI_hammer/src/gpu/shader_tlb.cc, line 89]
Memory Usage: 4818972 KBytes
Program aborted at tick 1323836761
[1] 25079 abort (core dumped) build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c

/dcmbmk/shared 잘 실행된 것 같음.

$build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c ./../benchmarks/dcmbmk/shared/gem5_fusion_shared --output=./../output/output --errout=./../error/error

/dcmbmk/sync 제대로 실행은 된 것 같으나, 너무 빨리 종료하는 바람에 의심스러움.

$build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c ./../benchmarks/dcmbmk/sync/gem5_fusion_sync --output=./../output/output --errout=./../error/error

/dcmbmk/texture2는 구현되지 않은 함수를 사용하려 했다며 종료되었다.

$build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c ./../benchmarks/dcmbmk/texture2/gem5_fusion_texture2 --output=./../output/output --errout=./../error/error
gem5-gpu CUDA: Execution error: CUDA API function "void cudaBindTexture(ThreadContext*, gpusyscall_t*)()" has not been implemented yet.
[gem5-gpu/src/gem5/build/VI_hammer/src/api/cuda_syscalls.cc around line 716]
Program aborted at tick 1881381000
[1] 25414 abort (core dumped) build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c

/dcmbmk/texture4 구현되지 않은 함수를 사용하려 했다며 종료되었다.

$build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c ./../benchmarks/dcmbmk/texture4/gem5_fusion_texture4 --output=./../output/output --errout=./../error/error
gem5-gpu CUDA: Execution error: CUDA API function "void cudaBindTexture(ThreadContext*, gpusyscall_t*)()" has not been implemented yet.
[gem5-gpu/src/gem5/build/VI_hammer/src/api/cuda_syscalls.cc around line 716]
Program aborted at tick 133369500
[1] 25515 abort (core dumped) build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c

gem5의 statistics는 ./gem5/m5out/에 나온다고 태훈이 형께서 말씀해주셨다. gem5 홈페이지를 찾아보니, output directory를 바꾸는 옵션이 있었다. (기본 매뉴얼을 자세히 보아야겠다. 매뉴얼에 다 있는데, 항상 놓쳤다.) statistics를 출력하는 옵션을 적용해, 다시 실행했더니 잘 되었다.

$build/VI_hammer/gem5.opt --outdir=./../stats ../gem5-gpu/configs/se_fusion.py -c ./../benchmarks/rodinia/backprop/gem5_fusion_backprop --output=./../output/output --errout=./../error/error -o 16

gem5 Documentation을 읽어봄.

dcmbmk가 왜 실행이 되지 않는지 알 수 있을까 싶어서 홈페이지에서 원래 벤치마크를 다운받아 빌드하고, 실행해봄. 실행하니 다음과 같은 오류가 발생했다.

$ for i in `ls` ; ./$i
./cmem: error while loading shared libraries: libcudart.so.3: cannot open shared object file: No such file or directory
./diverge: error while loading shared libraries: libcudart.so.3: cannot open shared object file: No such file or directory
./global: error while loading shared libraries: libcudart.so.3: cannot open shared object file: No such file or directory
./icache1: error while loading shared libraries: libcudart.so.3: cannot open shared object file: No such file or directory
./icache2: error while loading shared libraries: libcudart.so.3: cannot open shared object file: No such file or directory
./icache3: error while loading shared libraries: libcudart.so.3: cannot open shared object file: No such file or directory
./icache4: error while loading shared libraries: libcudart.so.3: cannot open shared object file: No such file or directory
./main: error while loading shared libraries: libcudart.so.3: cannot open shared object file: No such file or directory
./shared: error while loading shared libraries: libcudart.so.3: cannot open shared object file: No such file or directory
./sync: error while loading shared libraries: libcudart.so.3: cannot open shared object file: No such file or directory
./texture2: error while loading shared libraries: libcudart.so.3: cannot open shared object file: No such file or directory
./texture4: error while loading shared libraries: libcudart.so.3: cannot open shared object file: No such file or directory

라이브러리 관련 오류로 인해 실행이 잘 되지 않았을 수도 있겠다. 고치려 했으나, 잘 되지 않았음. rodinia benchmark만 잘 돌아간다.


3. SIGFPGA 과제
dual-port SRAM FIFO를 거의 완성함. 나머지는 내일 정리해서 제출해야겠다. 반복문 횟수 조절 문제를 해결해야 함. 그리고 프로토콜 구현이 맞는지 한 번 더 확인해야 함.

Advertisements
Posted in 1) Memo

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

누적 방문자 수
  • 98,564 hits
%d bloggers like this: