장보길 한국 외국어대학교 디지털정보공학과 System Software LAB ULKML ftrace 를 이용한 sync System Call 추적.

Slides:



Advertisements
Similar presentations
HEC-HMS 담당교수명 : 서 영 민 연 락 처 :
Advertisements

계층적 particle 필터를 이용한 다관절 상체 추적과 SVM을 이용한 포즈 인식
Course Registration Software Analysis and Design
보험 고객 관리 프로그램 학 과 : 정보통신공학과 학 번 : 이 름 : 김 민 형 담당교수 : 신 영 석 교수님 발표일자 : 2011/ 04 / 11 일 총페이지수 :
Visual Basic과 MS-Access를 이용한 렌터카 관리 프로그램
15 장 Internet Relay Chat. contents What is IRC? Chatting in mIRC Chatting in Microsoft Chat and V-Chat Chatting in Ircle Chatting in Ircii Starting and.
Actors, Cameras, Action ! Scenes, Actors, Cameras 3D Transformations
XML Query Processing Data Warehousing Lab. M.S. 2 Hyeyoung Cho.
Term Project Detail Design 2 Traffic Generator So Jung LEE Dpnm Lab. CSE POSTECH
Database Programming의 원리
SAP Tuning 실무 교육
HANBAT Univ. Copyright ⓒ Embedded Team. All Rights Reserved Embedded System Software EMPOS II 를 이용한 PMP 기능 구현.
Bootloader 부트로더.
SOAP 실전예제 Internet Computing KUT Youn-Hee Han.
Business Computing Lab Ahn, Younghoe WAF overview and Study guide WAF overview and Study guide.
2012 내장형 시스템 설계  Full Color LED 디바이스 구성  Full Color LED 디바이스 드라이버  Full Color LED JNI 라이브러리 작성  Full Color LED 안드로이드 App 구현  JNI 라이브러리.
Click To Edit Title StyleLOGO Click to add text to your presentation Software Engineering Expert Group Copyright ⓒ 2010 by SEEG, All Rights Reserved 유지보수.
A mathematical model and a computerized simulation of PCR using complex templates Nucleic Acid Research, 1996, Vol. 24, No. 18, pp E. Rubin.
LOGO 패턴메이킹 및 의류제작 실 무 UP 패선디자인 전문학원 취업을 위한.
Lab 3. 프로세스 생성과 종료 (Unix/Linux) One, Two 출력하는 onetwo.c 코딩, 컴파일, 실행
12 1 Embedded Software Lab. OS 실습 Embedded Software Lab. 박대준, 박은수 Lecture 3. Kernel fusing, printk.
Podcasting 101. What is it? Plain and simple... an MP3 file of an audio show with a little bit of software that checks for new shows via a “feed” URL,
Mango520에 Ubuntu 올리기 CRZ-Technology.
Many-SC 아키텍처 기반 OpenCL 프레임워크상에서의 응용프로그램 구현 및 최적화
Shell Script Yingying Wang. Basic Commands Good resources Google is your friend
망고 100 보드로 놀아보자 -18 Android 메뉴 생성 및 아이콘 생성 (SPDIF,WM8960)
치과 진료 경험 유무에 따른 구강건강관리에 대한 조사 연구 A Survey Study on Oral Health Care According to Appearance of Experiencing Dental Treatment.
IT CookBook, 초보자의 첫 번째 엑셀 2007 엑셀 2007 기초. 2 이 장에서 배울 내용  Section 01 엑셀 2007 기본 기능 익히기  Section 02 데이터 입력 및 편집  Section 03 워크시트 편집 및 관리  Section 04.
AODVjr TinyOS Implementation
LV1 진행 상황 MDCL 오선영 LV1 – Align (1) Align Procedure - 4 개의 mark 를 이용하여 stage coordinate system 을 substrate coordinate system 으로 변환 - Difference.
Secure Data Deletion for USB Flash Memory 성균관대학교 윤 재 성 시스템 컨설턴트.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 실 습실 습 3.
9 주 실습강의 XML Visualization(1) 학기, 소프트웨어 설계 및 실험 ( Ⅰ )
Kernel Programming Task Management ( 월 ) 이 병 희
J. Choi, DKU Introduction to Operating System March, 2013 Jongmoo Choi Dept. of software Dankook University
Ubiquitous Computing Practice - Part 4(RSSI) - Laboratory of Intelligent KUT ( Yong-hwan Kim Spring.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 실 습실 습 7 WEEK 1 – 구조체 (STRUCTURES)
Mapreduce framework suffling & sorting. mapreduce example - wordcount.
IRM Enforcement of Java stack Inspection Pslab YunKyung Kim.
Real-Time Computing and Communications Lab., Hanyang University Real-Time Computing and Communications Lab., Hanyang University.
중요 ! memory region 은 물리적으로 쓸 수 있는 영 역을 설정한 것이고, reserved region 은 사용하지 말아야 할 부분 을 설정한 것입니다. kernel 이 사용하는 영역을 reserved 영역으로 설정하였습니다. -> 이 내용은 1/10 스터디를.
UI Specification. Category Home Standard Reporting – 사전에 지정된 질의에 대한 결과 Custom Reporting – 사용자가 정의한 질의에 대한 결과.
Chapter 11 Oracle Warehouse Builder Data Warehousing Lab. 윤 혜 정.
Timer & Watch Dog Test UNIT 16 로봇 SW 교육원 조용수. 학습 목표 Timer Init Timer Delay Test Timer Interrupt Test –One Shot Mode –Periodic Mode Watch Dog Test 시계 만들어.
CODELABOR Shin Sang Jae Installation Guide (Security – XecureWeb 7.0)
OOPSLA [ JAVA] Object Oriented Programming, Systems,Languages, Applications Dlite 를 이용한 Debugging & Simprofile 을 이용한 Perl 벤치마크 &
System Software Lab.,POSTECH TOE(TCP/IP Offload Engine) 김광식, 백근훈
Bootloader & Build process. Aduino UNO & Atmega328.
개발환경의 이해 및 실습 (Quartus II web edition). 2 개발환경의 이해 및 실습 - 강의순서  Starting Quartus II  Design Entry  Project Compilation  Project Simulation  Device.
Software Assurance Field Engagement Microsoft Korea.
Copyright  2008 by CEBT Survey Schedule  Survey – Context-aware computing 팀원 간 자료 공유 – IDS Wiki Updated (
신소재 이 준 호. (Program Process) 1. Fe-Si-C 각 원소 wt%  u-fraction 초기화 2. Diffusion coefficient, chemical potential 정의 3. Finite Differential Method.
Company Logo Kernel Debugging 발표자 : 장명우.
C 프로그래밍 개발 도구. 컴파일러 gnu c compiler 컴파일 gcc sample.c 실행 a.out 실행 파일 지정 컴파일 gcc –o sample sample.c 실행 sample.
NAM S.B MDLAB. Electronic Engineering, KNU 1 Beaglebone Black System.
Status Meeting KAIST Software Architecture Lab 2014 년 06 월 12 일.
자바네트워크 제 13 주 URLConnection 클래스 IP 멀티캐스팅 소켓. 여러분들의 질문 지난 주 실습 내용 질문.
After you sync your OneDrive for Business files with your computer, you can manage your files like other files on your computer. You move, rename, and.
Labs – Installing a FTP Server
By Jonathan Rinfret CREATING A BASH SCRIPT By Jonathan Rinfret
Debugging Linux Kernel by Ftrace
Debugging Linux Kernel by Ftrace
Debugging Linux Kernel by Ftrace
Users and Accounts Lab 0.1. Users and Accounts Lab 0.1.
Lecture Note 0: Course Introduction
Cat.
EXP file structure.
Presented by, Mr. Satish Pise
Presented by, Mr. Satish Pise
Macs without binding to Active Directory
Presentation transcript:

장보길 한국 외국어대학교 디지털정보공학과 System Software LAB ULKML ftrace 를 이용한 sync System Call 추적

Ftrace 를 이용한 Sync system call 추적 Sync System call 을 발생 시키는 프로그램 작성. 2

Ftrace 를 이용한 Sync system call 추적 원하는 정보만 보기 위해 Ftrace 설정. #!/bin/bash sudo echo 0 > /debug/tracing/tracing_enabled sudo echo function_graph > /debug/tracing/current_tracer sudo echo > /debug/tracing/trace sudo echo 1 > /debug/tracing/tracing_enabled./main & sudo echo $(cat program.pid) > /debug/tracing/set_ftrace_pid echo $(cat program.pid) 3

Ftrace 를 이용한 Sync system call 추적 일정 시간이 지난 후, ftrace 를 종료 하고, 결과물을 얻는다. 4

Ftrace 를 이용한 Sync system call 추적 결과 sys_sync() -> wakeup_flusher_threads() -> bdi_has_dirty_io() …………VFS 관련,, …………. -> iterate_supers() -> down_read() -> sync_one_sb() -> __sync_filesystem() -> up_read() 반복 5

Ftrace 를 이용한 Sync system call 추적 결과 dquot_quota_sync() _cond_resched() writeback_inodes_sb() get_nr_dirty_pages() get_nr_dirty_inodes() get_nr_inodes() writeback_inodes_sb() bdi_queue_work() ……………….. 스케쥴 관련 함수 호출 … 생략 ……………….. 6

Ftrace 를 이용한 Sync system call 추적 결과 ……………… physical File System Function Call………. ext4_sync_fs() flush_workqueue() __init_waitqueue_head() flush_workqueue_prep_cwqs() get_cwq.isra.18() jbd2_journal_start_commit() 7

Ftrace 를 이용한 Sync system call 추적 결과 ……………….. 메모리 관련 Function Call……. ……… __sync_blockdev() filemap_flush() { __filemap_fdatawrite_range() { do_writepages() generic_writepages() blk_start_plug(); write_cache_pages() pagevec_lookup_tag() find_get_pages_tag() blk_finish_plug() blk_flush_plug_list() 8

앞으로 계획 앞에서 확인한 함수 분석을 위한 VFS 구조에 대한 지식들을 더욱 쌓아야 함. 실습과 소스 분석을 병행해서 스터디를 진행 할 예정임. 9