Re-ordering/coloring이 타원형 방정식을 위한 반복 해법의 Open-MP 성능에 미치는 영향에 대한 연구 = A study on the effect of re-ordering/coloring on the Open-MP performance of iterative solvers for elliptic equation
저자
발행사항
서울 : 서울과학기술대학교 대학원, 2020
학위논문사항
학위논문(석사) -- 서울과학기술대학교 대학원 , 기계공학과 , 2020. 2
발행연도
2020
작성언어
영어
주제어
발행국(도시)
서울
형태사항
26 cm
일반주기명
지도교수: 최형권
UCI식별코드
I804:11034-200000290901
소장기관
Gauss-Seidel (GS) 방법은 선형 시스템을 위한 multigrid 솔버의 robust smoother로 널리 사용되고 있다. 그러나, GS 방법은 Jacobi 방법과 달리 동일한 배열에 대해 읽고 쓰기가 수행되므로 병렬화 하기 어렵다. 따라서, GS 방법의 병렬 연산을 위한 정렬 격자의 Red-Black Gauss-Seidel (RBGS) 방법과 비정렬 격자의 Multicolor Gauss-Seidel (MCGS) 방법이 개발되었다.
본 연구에서는 새로운 RBGS 방법으로서 노드 순서가 다른 두 개의 2D 및 3D 배열을 사용하는 Red-Black-2A (RB-2A) 방법을 제안한다. RB-2A 방법에 대해 Open-MP 프로그래밍을 통한 병렬 계산 및 비정렬 격자의 재정렬 기법이 가지는 효과도 조사되었다.
Jacobi 및 GS방법의 계산 시간은 시스템의 캐시 크기에 매우 큰 영향을 받는 것으로 확인되었다. Jacobi 방법의 메모리 접근이 더욱 효율적이기 때문에 GS 방법의 반복 횟수가 Jacobi 방법의 절반인 경우에도 Jacobi 방법보다 느리다. 본 연구에서는 RB-2A방법이 가장 우수한 성능을 보였고, 직렬 계산에 한하여 재정렬 격자를 사용한 MCGS 방법이 가장 우수한 것으로 나타났다. 또한, 재정렬 격자를 사용하였을 때의 계산 시간은 최초의 비정렬 격자를 사용한 것보다 우수하였다. 병렬화의 효과로는, 격자 크기가 캐시 메모리 크기에 맞는 경우에는 병렬 계산을 통해 계산 속도가 super-linear로 증가하였으나, 격자 크기가 캐시 메모리 크기를 초과하는 조밀 격자의 경우 병렬 계산을 통한 계산 속도 증가는 크지 않았다.
In this thesis, we investigate the effect of re-ordering/coloring on the Open-MP performance of iterative solvers for elliptic equation for structured grid and unstructured grid in two-dimensional (2D) and three-dimensional (3D) problems.
For structured grid, we develop a new ordering technique for nodes for Red-Black Gauss-Seidel (RBGS) method using two-dimensional array and three-dimensional array. Firstly, Jacobi and Gauss-Seidel (GS) methods are used to solve the 2D/3D elliptic equation. We discrete the problem by using a finite difference method (FDM). The GS method is known to converge in half the number of iterations compared to the Jacobi method for all grid resolutions, and does not require an additional array to store the variable information. However, the Gauss-Seidel method is not easily parallelized, as the information is read from and written back to the same array. Therefore, the RBGS method has been developed for parallel computing of GS method. In the RBGS method, we color the nodes by two colors in the structured mesh such as red and black. In this thesis, we propose a new RBGS method named Red-Black-2A (RB-2A) which uses two separate 2D/3D arrays with different node ordering. We also investigate the Red-Black-1A (RB-1A) method which uses one single 2D/3D array to compare to the RB-2A method. Moreover, we present the effect of cache size memory on CPU time in our simulation. The elapsed time of Jacobi and GS methods is strongly affected by the cache size of computation machine. The result shows that the RBGS method has the best performance at serial computation, especially on the RB-2A method.
Regarding to unstructured grid, we investigate the re-ordering technique for elements and nodes. Besides, we also study the multicolor technique for GS method as well as the effect of coloring with re-ordering mesh and without re-ordering mesh. The results show that the CPU time with re-ordering mesh is better than original mesh at serial computation.
Finally, we study parallel computation by using Open-MP programming. The advantage of OpenMP is that it does not require the data communication across the processors because the data of whole computational domain is stored on shared memory within a single computer. However, the drawback is that the data size stored using in OpenMP is limited to the number of thread processing. Furthermore, the OpenMP causes a large overhead time for the OpenMP directive. Similar to serial computation, the results show that the RBGS method has the best performance in parallel computation in the structured grid. Also, the CPU time in both serial computation and parallel computation is improved significantly with re-ordering mesh in unstructured mesh.
서지정보 내보내기(Export)
닫기소장기관 정보
닫기권호소장정보
닫기오류접수
닫기오류 접수 확인
닫기음성서비스 신청
닫기음성서비스 신청 확인
닫기이용약관
닫기학술연구정보서비스 이용약관 (2017년 1월 1일 ~ 현재 적용)
학술연구정보서비스(이하 RISS)는 정보주체의 자유와 권리 보호를 위해 「개인정보 보호법」 및 관계 법령이 정한 바를 준수하여, 적법하게 개인정보를 처리하고 안전하게 관리하고 있습니다. 이에 「개인정보 보호법」 제30조에 따라 정보주체에게 개인정보 처리에 관한 절차 및 기준을 안내하고, 이와 관련한 고충을 신속하고 원활하게 처리할 수 있도록 하기 위하여 다음과 같이 개인정보 처리방침을 수립·공개합니다.
주요 개인정보 처리 표시(라벨링)
목 차
3년
또는 회원탈퇴시까지5년
(「전자상거래 등에서의 소비자보호에 관한3년
(「전자상거래 등에서의 소비자보호에 관한2년
이상(개인정보보호위원회 : 개인정보의 안전성 확보조치 기준)개인정보파일의 명칭 | 운영근거 / 처리목적 | 개인정보파일에 기록되는 개인정보의 항목 | 보유기간 | |
---|---|---|---|---|
학술연구정보서비스 이용자 가입정보 파일 | 한국교육학술정보원법 | 필수 | ID, 비밀번호, 성명, 생년월일, 신분(직업구분), 이메일, 소속분야, 웹진메일 수신동의 여부 | 3년 또는 탈퇴시 |
선택 | 소속기관명, 소속도서관명, 학과/부서명, 학번/직원번호, 휴대전화, 주소 |
구분 | 담당자 | 연락처 |
---|---|---|
KERIS 개인정보 보호책임자 | 정보보호본부 김태우 | - 이메일 : lsy@keris.or.kr - 전화번호 : 053-714-0439 - 팩스번호 : 053-714-0195 |
KERIS 개인정보 보호담당자 | 개인정보보호부 이상엽 | |
RISS 개인정보 보호책임자 | 대학학술본부 장금연 | - 이메일 : giltizen@keris.or.kr - 전화번호 : 053-714-0149 - 팩스번호 : 053-714-0194 |
RISS 개인정보 보호담당자 | 학술진흥부 길원진 |
자동로그아웃 안내
닫기인증오류 안내
닫기귀하께서는 휴면계정 전환 후 1년동안 회원정보 수집 및 이용에 대한
재동의를 하지 않으신 관계로 개인정보가 삭제되었습니다.
(참조 : RISS 이용약관 및 개인정보처리방침)
신규회원으로 가입하여 이용 부탁 드리며, 추가 문의는 고객센터로 연락 바랍니다.
- 기존 아이디 재사용 불가
휴면계정 안내
RISS는 [표준개인정보 보호지침]에 따라 2년을 주기로 개인정보 수집·이용에 관하여 (재)동의를 받고 있으며, (재)동의를 하지 않을 경우, 휴면계정으로 전환됩니다.
(※ 휴면계정은 원문이용 및 복사/대출 서비스를 이용할 수 없습니다.)
휴면계정으로 전환된 후 1년간 회원정보 수집·이용에 대한 재동의를 하지 않을 경우, RISS에서 자동탈퇴 및 개인정보가 삭제처리 됩니다.
고객센터 1599-3122
ARS번호+1번(회원가입 및 정보수정)