Microsoft PowerPoint - o8.pptx

Size: px
Start display at page:

Download "Microsoft PowerPoint - o8.pptx"

Transcription

1 목표 메모리하드웨어를구성하는다양한방법소개 프로세스에게메모리를할당하는다양한기법설명 현대컴퓨터시스템에서 paging 동작방법논의 8 장. 메모리관리 2 8. 배경지식 메모리보호 Base 와 Limit Registers 사용 프로그램은디스크에서메모리로적재된후실행됨 프로세스 disk program load memory PCB process CPU 가직접접근가능한기억장치 - CPU register, main memory CPU registers CPU clock 에접근가능 main memory 접근에여러 CPU cycle 이소요 processor stall 발생 cache 메모리를 CPU 와 main memory 사이에추가하여 processor stall 빈도를감소시킴 메모리보호 (Protection) 올바른동작을보장하기위해서메모리보호가필요함 메모리보호를위해하드웨어지원이필요, 운영체제는이를관리함 메모리보호방법 프로세스에게독립된주소공간을제공 base register 와 limit register 를사용한방법 프로세스의합법적인 (legal) 주소공간 : base address < base+limit + 프로세스에게독립적인주소공간을제공하기위해서는주소공간이서로중첩되지않게모든프로세스의 base/limit 를설정해야함 3 4

2 메모리보호 - Base 와 Limit Registers 를사용한주소검사 주소바인딩 (Address Binding) 하드웨어를통한주소검사 합법적인아닌주소에대해서는 trap 을발생시켜서메모리를보호함 주소의표현 source program prog.c compiler prog.o prog.obj linkage editor or loader prog prog.exe symbolic address relocatable address absolute address (count) (start+4) (7404) base 와 limit registers 는특권명령어만값을적재할수있음 운영체제에의해서만적재가능 운영체제는메모리영역접근에제약이없음 사용자메모리영역, 운영체제메모리영역모두접근가능 5 주소바인딩 (Address Binding) 한주소공간에서다른주소공간으로맵핑하는것 프로그램의명령어 / 데이터주소를물리적메모리주소로 바인딩 (logical address) (physical address) 링커 (linker, linkage editor) 와로더 (loader) linker : 모듈을함께묶어서실행파일을생성함 loader : 프로그램실행을위해서프로그램의전부또는일부를메모리에적재함 6 사용자프로그램의다단계처리과정 주소바인딩시점 compile time source program compiler/ assembler relocatable object code other object codes linkage editor (linker) executable binary file secondary storage library cddes load time loader dynamically loaded library in memory binary image dynamic linking execution time main memory Compile time: 컴파일시점에서프로그램이적재될메모리위치를미리안다면, 컴파일러는 absolute code 를생성할수있음 적재될시작위치가변경된다면, 코드를다시컴파일해야함 Load time: 컴파일시점에서프로그램이적재될위치를알지못하면, 컴파일러는 relocatable code 생성해야함 주소바인딩은 load time 에수행됨 - 메모리위치는적재시에결정됨 Execution time: 프로세스가실행도중에메모리위치를이동할수있다면, 주소바인딩은 load time 에할수없고, run time 에수행됨 주소맵핑을위한하드웨어지원이필요 MMU 대부분의운영체제가이방법을사용 정적바인딩 (Static Binding) 과동적바인딩 (Dynamic Binding) Compile time, Load time binding static binding Execution time binding dynamic binding 7 8

3 논리주소공간과물리주소공간 논리주소 (logical address) 와물리주소 (physical address) logical address(virtual address): 프로그램이사용하는주소 physical address: 물리적메모리장치가사용하는주소 메모리관리장치 (MMU) 논리주소를물리주소로맵핑하는작업을실행시간에수행 프로그램은논리주소만사용하며, 실제물리적주소를알지못함 주소바인딩시점과논리 / 물리주소 compile-time 과 load-time 바인딩 logical addr = physical addr execution-time 바인딩 logical addr physical addr 재배치 (relocation) 레지스터를사용한동적재배치 relocation register = base register recent processor logical address MMU CPU physical address logical = physical address address Memory ( 예 ) Intel 80x86 family: 4 또는 6 relocation registers (CS, DS, ES, SS / FS, GS) 9 0 동적적재 (Dynamic Loading) 동적적재 (Dynamic loading) 실제호출되기전에는각루틴은메모리로적재되지않음 호출될때에메모리에적재되어있지않으면 relocatable linking loader 를호출하여요구하는루틴을메모리에적재한후실행 장점 향상된메모리공간활용 ; 사용하지않는루틴은적재되지않음 많은양의코드가덜빈번히사용되는경우에유용 ( 예 ) 오류처리코드 동적적재는운영체제의특별한지원을필요로하지않음 프로그래머가동적적재를위한설계를책임짐 운영체제는동적적재를지원하는 library 루틴을제공할수있음 동적링크와공유라이브러리 정적링크 (Static linking) 와동적링크 (Dynamic linking) 정적링크 linkage editor 에의해 library 가실행이미지에링크됨 동적링크 library 의링크가실행시간까지미루어짐 Stub library 를어떻게찾는지를알려주는작은코드 library 루틴이메모리에존재하지않으면디스크에서적재함 library 함수를호출하면처음에는 stub 코드가호출됨 stub 는실제 library 함수의주소로대체되어, 다음호출시에는 library 함수를직접호출하여실행 Shared library: 동적링크라이브러리 (dynamic linked library:dll) 공유라이브러리를사용하는모든프로세스는한개의 library 코드만공유하여사용 library 업데이트가용이함 버전정보사용하여구분 동적적재와다르게동적연결은운영체제의도움이필요 운영체제가라이브러리루틴이메모리에있는지여부를검사하며 여러프로세스가라이브러리를공유할수있게해줌. 2

4 8.2 스와핑 (Swapping) Schematic View of Swapping 스와핑 (Swapping) 실행을계속할수없는 ( 예 : 입출력완료대기 ) 프로세스를메모리에서일시적으로예비저장장치 (backing store) 로내보내고 (swap out), 실행을계속할수있는프로세스를예비저장장치에서메모리로불러오기 (swap in) 하여실행을재개할수있게하는것 ( 다음쪽그림 ) 예비저장장치 (Backing store) 모든프로세스의메모리 image 의복제본을저장할수있을정도의저장용량을가진빠른디스크를사용 - 빠른접근을위해서저장된메모리 image 에대해직접접근이가능해야함 스와핑의효과 " 모든프로세스의물리적주소공간의합 > 물리적메모리크기 " 인경우에도모든프로세스가동시에실행되는것이가능 3 4 스와핑과 Context switching 시간 스와핑과입출력 스와핑동작. CPU scheduler 가 ready queue 에서다음프로세스결정하고 dispatcher 를호출 2. Dispatcher 는다음프로세스가메모리에있는지또는예비저장장치에있는지확인 메모리에없고, 여유메모리영역이없다면, 메모리에있는한프로세스를내보내고 (swap out), 원하는프로세스를메모리로불러오기 (swap in) 를수행 swap out 후 swap in 수행 메모리에없지만여유메모리영역이있다면, 원하는프로세스를메모리로불러오기 (swap in) 를함 swap in 만수행 3. Dispatcher 는 context switching 을수행 Context switch 시간 context switch time > swap in time + swap out time swap 시간의대부분이디스크전송시간 (transfer time) 임 전송시간은스왑되는메모리양에비례함 시간감소방안 : 실제로사용되는부분만불러오기함 (swap in) 메모리요구사항변화발생시에시스템에알려주어야함 5 스와핑되는 (swap out) 프로세스는완전히 idle 상태이어야함 진행중인 (pending) I/O 를갖는프로세스 스와핑하지않음 더블버퍼링 (double buffering) 운영체제 buffer 를통하여입출력연산수행 프로세스가 swap in 될때, 운영체제버퍼와프로세스메모리간에입출력데이터전송 memory process memory I/O 6

5 여러가지 Swapping 기본스와핑 (Standard Swapping) RR 스케줄링 - quantum이종료된프로세스를 swap out, 여유메모리를다른프로세스에게할당 우선순위스케줄링 낮은우선순위프로세스를 swap out, 높은우선순위프로세스들에게할당 현대운영체제에서는사용하지않음 변형된 (modified) 스와핑 많은시스템에서널리사용 UNIX, Linux, Windows 평상시에는 Swapping 비활성화 여유메모리양이일정기준 (threshold) 이하가되면 Swapping 시작 여유메모리양이증가하면 Swapping 은다시정지됨 또다른변형된스와핑 프로세스의일부만스와핑 swap 시간감소 모바일시스템에서의 Swapping 모바일시스템은대개 swapping 을지원하지않음 영구저장장치로하드디스크대신에플래시메모리를사용 스와핑을하지않는이유 - 플래시메모리는다음특성을가짐 () 공간제약 (2) 허용된쓰기횟수의제한 Swapping 대신사용하는방법 i 는여유메모리가 threshold 보다작아지면응용프로그램에게메모리를반환하도록요청 읽기전용데이터만제거 충분한메모리를반환하지않은응용은프로세스를종료시킴 Android 는여유메모리가충분하지않으면응용프로그램의상태를플래시메모리에저장하고프로세스를종료시킴 빠른재시작가능 연속 (Contiguous) 메모리할당 메모리맵핑과보호 주메모리는두부분으로구분 상주운영체제용 인터럽트벡터를포함하는위치사용 대개하위메모리 (low memory) 에위치 사용자프로세스용 상위메모리 (high memory) 에위치 프로세스메모리할당방법 연속 (contiguous) 메모리할당 비연속 (Noncontiguous) 메모리할당 N- user processes high intr vector 0 low 재배치레지스터 (Relocation register) 방법 메모리관리장치 (MMU: memory management unit) 는다음두레지스터를사용하여메모리주소맵핑 재배치 (Relocation) register: 프로세스가배치된물리적주소의시작주소저장 상한 (Limit) register: 논리주소 (0부터시작 ) 의범위를저장 메모리보호 메모리주소범위를하드웨어를사용하여합법적인범위로제한하여이프로세스가다른프로세스와운영체제를수정하는것을방지함 ( 다음슬라이드 ) MMU 는동적으로논리주소를물리주소로맵핑 운영체제와프로세스크기를동적으로변경하는효과적수단제공 ( 예 ) transient code and buffer contiguous noncontiguous 9 20

6 Hardware support for relocation and limit registers 0 logical address < limit protection 메모리할당 (Memory Allocation) 고정분할방식 (Fixed partition scheme) 메모리를몇개의고정크기영역으로분할 동일크기 (equal size) 분할 다른크기 (unequal size) 분할 각분할은정확히한프로세스를포함할수있음 degree of multiprogramming the number of partition 가변분할방식 (Variable partition scheme) 분할은가변길이및개수를가짐 운영체제는다음정보를관리 allocated partitions free partitions (holes) available 프로세스를수용할수있는크기의 hole 에서메모리를할당 hole 이너무크면, 한부분을할당하고나머지부분은 hole 의집합을반환함 Fixed partition Variable Partition Scheme P (20M) hole (36M) P (20M) P2 (4M) (22M) P (20M) P2 (4M) P3 (8M) P (20M) (4M) P3 (8M) P (20M) P4(8M) (6M) P3 (8M) (20M) P4(8M) (6M) P3 (8M) P2 (4M) (6M) P4(8M) (6M) P3 (8M) P2 (4M) (20M) P3 (8M) merging of holes (4M) (4M) (4M) (4M) (4M) (4M) 23 24

7 동적메모리할당문제 메모리단편화 (Memory Fragmentation) ( 문제 ) free hole의리스트에서크기 n의메모리요청 First-fit: 요청을수용할수있는 first hole을할당 검색시작위치 () 리스트의시작 request 70K (2) 이전 first-fit 검색이종료된위치의 hole Best-fit: 요청을수용할수있는 smallest hole 을할당 리스트가크기순서로정렬되어있지않으면전체리스트를검색해야함. 가장작은크기의남은 hole 생성 Worst-fit: 요청을수용할수있는 largest hole 을할당 전체리스트를검색해야함. Performance first-fit best-fit worst-fit 00K 80K 50K 50K First-fit 와 best-fit 방식이검색시간과기억장치이용률 에있어서 worst-fit 방식보다좋음 Memory Fragmentation 사용할수없는작은메모리영역이존재함 메모리단편화의종류 외부단편화 (External fragmentation) 요청한크기보다작은메모리블록들만존재 전체메모리크기합이요청한크기보다큰경우에도요청한크기의메모리를할당할수없음 내부단편화 (Internal fragmentation) req size 요청한것보다더큰메모리를할당 할당된메모리의일부가사용되지않음 external fragmentation req size internal fragmentation 단편화 (Fragmentation) 방식의문제 External fragmentation 50-percent rule: N 개의블록이할당되었을때, first-fit 방식은 0.5N 개의블록이외부단편화로사용될수없음 메모리의 /3 을낭비 hole 을추적하는오버헤드가큼 Internal fragmentation 메모리를고정된크기의블록으로분할 hole 의추적이필요없음 할당된메모리는요청한메모리보다더클수있음 할당된메모리의일부영역은사용되지않음 압축 (Compaction) 외부단편화문제에대한해결책. 압축 (compaction) 2. 비연속물리메모리공간허용 paging Compaction segmentation 모든 free memory 를하나의큰블록으로합쳐서재배치. Compaction 은 relocation 이동적이고실행시간에수행될때에만가능 27 28

8 8.5 페이징 (Paging) Paging 비연속 (noncontiguous) 물리적메모리할당방법중하나 page frame : 물리적메모리를고정된크기의블록들로나눔 ( 크기는 2 n, 대개 52B ~ 8KB). page: 논리메모리를같은크기의블록으로나눔 page 를 page frame 에맵핑 주소변환방식 논리주소를다음과같이구분 상위부분 : page number 하위부분 : page 내에서의 page offset (page size=2 d 이면 d 비트 ) 주소변환 : 논리주소의 page number 를물리주소의 page frame number 로변환 주소변환에 page table 을사용 page logical address space mapping physical address space page frame logical address page no. (p) mapping physical address page frame no. (f) page size는하드웨어에서정해짐 offset (d) offset (d) d (page size = 2 d ) Paging hardware: page table Paging 예 Page Table 각페이지의 base address(page frame number) 들을저장한물리적메모리에있는테이블 page number 가 page table 의 index 로사용됨 page number (p) page frame number(f) page table 은주메모리에위치 3 32

9 Paging 예 (2) Page 할당 Process A Process B B-page B-page0 B-page2 프로세스마다자신의 page table 을가지고있으며자신의논리주소공간을가짐 33 Page 할당 모든 free frame 을추적 free frame list 를사용 n page 크기의프로그램을실행시키려면 n free frame 을찾아서 page 를할당하고, 할당된 frame 에프로그램을적재함 주소변환을위해서 page table 을할당된 page frame 번호들로설정 (See next slides) 내부단편화 메모리할당단위 : page frame ( 고정크기 ) 내부단편화발생, 외부단편화없음 내부단편화크기 : 프로세스당 /2 페이지크기 작은페이지크기 ( 장점 ) 작은내부단편화 ( 단점 ) 많은수의페이지로인해큰페이지테이블필요 큰페이지크기 ( 단점 ) 큰내부단편화 ( 장점 ) 작은페이지테이블, 효율적디스크 I/O 일부 CPU 와커널은복수의페이지크기를지원 Solaris : 8KB, 4MB Pentium : 4KB, 4MB 34 Free frames Frame table 과 Page table Frame table physical page frame 당한엔트리 frame 의 free/allocated 여부표시 할당되었으면어느프로세스 ( 들 ) 의어느페이지에서맵핑되었는지를기록 운영체제는각프로세스마다자신의페이지테이블을가짐 하드웨어 page table 을사용하는경우 context switching 시에 page table 도백업해야하므로 context-switch time 증가 PC CPU registers PCB state PC registers page table before allocation after allocation hardware page table ` 35 36

10 Page Table 의구조 Page table 의하드웨어구현. page table 전용레지스터집합 page table이작을때에만 ( 256) 유용함 2. page table을주메모리에유지 page-table base register (PTBR) : page table 시작주소 page-table length register (PTLR) : page table 크기 () (2) page table registers registers PTBR PTLR memory page table 메모리에있는 Page Table 과 TLB 모든 data/instruction 접근에두번의메모리접근필요 the page table 실제로허용될수없음 the data/instruction Translation Look-aside buffer(tlb) 메모리 2회접근문제를해결하기위하여 TLB라고하는 page table entry용캐시를사용 대개 Associative memory를사용하여구현 새로운 page table 을사용할때마다 TLB 내용은 flush 되어야함 일부 TLB 는 address-space identifier(asids) 를함께저장하여 TLB flush 를필요없게함 memory loaded/modified by privileged instruction TLB page table Translation Lookaside Buffer(TLB) Paging hardware with TLB TLB 구성 Associative memory parallel search(fully-associative mapped cache) page number p p2 frame number f f2 (asid, p) f 일부 TLB 는 set-associative mapped cache 사용 Address translation (p, d) p is in page number field of TLB, get the frame number TLB hit Otherwise, get frame number from page table in memory TLB miss ( 그리고 page number 와 frame number 를 TLB 에추가 ) 모든 TLB entry 가사용중이면운영체제는새로운 entry 를위해교체대상 entry 를선택해야함 교체정책 : LRU(least recently used), random 39 40

11 메모리보호 (Memory Protection) 메모리보호를위해 page table entry 에 protection bit 와 valid bit 추가 Protection bits read-write / read-only / executable-only 정의 page 단위의 memory protection 제공 Valid bit (or valid-invalid bit) V= (valid): legal page ( 페이지가프로세스의논리주소공간에있음 ) V=0 (invalid): illegal page frame no. P V eo eo rw ro - 0 page table i386 page table entry Page Table 에서의 Valid/Invalid bit logical PTBR(page table base register) physical Present PTLR(page table length register) 4 42 공유페이지 (Shared Pages) Shared Pages Example paging 의장점 코드를쉽게공유가능 공유코드 (Shared code) 재진입코드 (reentrant code) 는공유될수있음 재진입코드는수행동안변하지않는 (non-self-modifying) 읽기전용 (read-only) 코드임 두개이상의프로세스가같은코드를동시에실행할때에 물리적메모리에있는한개의코드공유 각프로세스의페이지테이블에서같은페이지프레임공유 프로세스마다별도의데이터저장공간사용 공유코드는모든프로세스의논리주소공간에서같은위치에있어야함 43 44

12 8.6 Page Table 구조 Page Table 의크기 ( 예 ) 32비트논리주소공간, 4KB 페이지크기 2 32 / 2 2 = 2 20 (M) page table entries page table entry크기가 32-bit(4B) 이면 page table 크기는 2 20 * 4B = 2 22 = 4MB 024 page 크기 최신컴퓨터시스템은 정도의커다란논리주소공간을사용 해결책 page table 의크기가상당히커진다 연속메모리공간을사용하는 page table 은 page size 보다훨씬큼 Hierarchical Paging Hashed Page Tables Hierarchical Page table (Multilevel Paging) 다단계 page table page table을하나의연속적메모리를사용하지않고 여러개의작은조각 ( 대개 page 크기 ) 으로나누어서계층적으로구현 p p2 d logical address PTBR f f d page directory physical address page table main memory Two-Level Page-Table Scheme (Example) Two-level paging the page table is paged the page number is divided into () a 0-bit index into page directory (2) a 0-bit index into page table page size = 2 2 = 4KB, page table size = page directory size = 2 0 x 4B/entry = 4KB (page directory) (inner) 47 48

13 Multilevel Paging (Example) x86-64 long mode paging Three-level paging 예 2 nd outer page outer page p p2 32-bit 0-bit innner page p3 d 0-bit offset 2-bit page larger than page size page size 64-bit logical address 를 32-bit physical address 로변환하는데 4 번의메모리접근이발생할수있음 64-bit architecture 에서는 hierarchical page table 이부적합함 Hashed Page Tables 주소공간이 32 비트보다커지면 hashed page table 을사용 hashed page table 논리주소의 page number 의 hash function 값을 hashed page table 의 index 로사용함 hash table 의각 entry 는연결리스트를저장 같은 hash function 값을갖는 page 들의 paging 정보저장 연결리스트원소형식 : <page, page frame, next pointer> hashed page table 을사용한주소변환 논리주소의 page number 와해쉬된위치의연결리스트원소들의 page 번호들과차례대로비교함 match 되면 page 를대응되는 page frame 으로변환함 clustered page table page table 의각 entry 가한개의 page 가아닌여러 page 에대한주소변환정보를저장함 논리주소공간을 sparse 하게사용하는경우유용함 Hashed Page Tables( 계속 ) a chain of elements (virtual, physical) 5 52

14 clustered page table 8.4 Segmentation virtual page number 의상위부분을 hash function 의입력으로사용 하위부분은 page table entry 를선택하는데 block offset 으로사용 프로그램은세그먼트의집합임 사용자관점의메모리 세그먼트는프로그램의논리적단위 main program, procedure, function, local variables, global variables, common block, stack, symbol table, arrays 세그먼테이션 (segmentation) 논리주소 = <segment number, offset> 2 차원주소 주소맵핑을세그먼트단위로수행하는메모리관리방식 2 차원논리주소를 차원물리주소로변환 Logical View of Segmentation Segmentation 구조 subroutine 2 stack 3 4 main symbol table Segment table 프로그램의각세그먼트의주소변환정보저장 table entry 형식 base 세그먼트의 starting physical address limit 세그먼트의길이 세그먼트길이가가변이므로메모리할당은동적할당방법을사용 Segment-table base register (STBR) 현재프로세스의 segment table 의시작주소 Segment-table length register (STLR) 현재프로세스의 segment 개수 segment number s 에대해서 s < STLR 이면 s 는합법적 user space physical memory space 55 56

15 Segmentation 하드웨어와주소변환 Segmentation 예 STBR STLR Example - Intel IA-32 (Pentium) segmentation 과 segmentation with paging 을지원 (in protected addressing mode) 주소변환과정 logical address : <segment, offset> 2 차원주소 linear address : 차원주소 paging 을사용하지않으면 physical address 와같음 physical address Segmentation 과 Paging segmentation: two segment tables LDT(local descriptor table) GDT(global descriptor table) translate 46-bit logical address into 32-bit linear address paging selector s g p offset s: segment g: GDT/LDT p: privilege level a two-level paging scheme. dir page offset translate 32-bit linear address into 32-bit physical address 59 60

16 IA IA-32 paging multiple page sizes GDTR LDTR 32 4KB, 4MB page segmentation bit entry, 20-bit page frame 2-bit offset paging CR3 22-bit offset 6 62 Page Address Extensions (PAE) ARM paging architecture Multiple page sizes bit offset 64-bit entry, 24-bit page frame = 36 bit physical address 63 64

Microsoft PowerPoint - o8.pptx

Microsoft PowerPoint - o8.pptx 메모리보호 (Memory Protection) 메모리보호를위해 page table entry에 protection bit와 valid bit 추가 Protection bits read-write / read-only / executable-only 정의 page 단위의 memory protection 제공 Valid bit (or valid-invalid bit)

More information

Microsoft PowerPoint os9.ppt

Microsoft PowerPoint os9.ppt 기억장치관리 (Memory Management) 배경 (Background) Source Program ( 심볼주소 ) Compiler Object Module ( 재배치가능주소 ) Linkage Editor & Loader Binary Run-time Module ( 절대주소 ) X 14(bytes offset) 74014(R+14) 주소바인딩 (Address

More information

Figure 9.01

Figure 9.01 Chapter 8: Main Memory, Hanbat National Univ. Computer Eng. Dept. Y.J.Kim 2010 Chapter 8: Memory Management Strategies Background Swapping Contiguous Memory Allocation Paging Structure of the Page Table

More information

Microsoft PowerPoint os8.ppt [호환 모드]

Microsoft PowerPoint os8.ppt [호환 모드] 8 장주메모리 (Main Memory) Questions of the day 1. 내부단편화 (internal segmentation) 와외부단편화 (external segmentation) 사이의차이점을설명하고아래메모리기법들에어느단편화가발생할수있는지밝히세요. 1MFT(Multiprogramming with a Fixed number of Tasks) 2 MVT(Multiprogramming

More information

슬라이드 1

슬라이드 1 -Part3- 제 4 장동적메모리할당과가변인 자 학습목차 4.1 동적메모리할당 4.1 동적메모리할당 4.1 동적메모리할당 배울내용 1 프로세스의메모리공간 2 동적메모리할당의필요성 4.1 동적메모리할당 (1/6) 프로세스의메모리구조 코드영역 : 프로그램실행코드, 함수들이저장되는영역 스택영역 : 매개변수, 지역변수, 중괄호 ( 블록 ) 내부에정의된변수들이저장되는영역

More information

11장 포인터

11장 포인터 Dynamic Memory and Linked List 1 동적할당메모리의개념 프로그램이메모리를할당받는방법 정적 (static) 동적 (dynamic) 정적메모리할당 프로그램이시작되기전에미리정해진크기의메모리를할당받는것 메모리의크기는프로그램이시작하기전에결정 int i, j; int buffer[80]; char name[] = data structure"; 처음에결정된크기보다더큰입력이들어온다면처리하지못함

More information

Microsoft PowerPoint - 알고리즘_5주차_1차시.pptx

Microsoft PowerPoint - 알고리즘_5주차_1차시.pptx Basic Idea of External Sorting run 1 run 2 run 3 run 4 run 5 run 6 750 records 750 records 750 records 750 records 750 records 750 records run 1 run 2 run 3 1500 records 1500 records 1500 records run 1

More information

7장. 교착상태(deadlock)

7장. 교착상태(deadlock) 11 장. 파일시스템구현 목표 local 파일시스템및디렉토리구조의구현을설명 remote 파일시스템구현을설명 블록할당과자유블록알고리즘논의 2 11.1 File-System 구조 File system 은보조저장장치 ( 디스크 ) 에위치. 블록단위전송 I/O 효율성향상 block size: one or more sectors sector size: 32 4KB (usually

More information

Microsoft PowerPoint - 알고리즘_1주차_2차시.pptx

Microsoft PowerPoint - 알고리즘_1주차_2차시.pptx Chapter 2 Secondary Storage and System Software References: 1. M. J. Folk and B. Zoellick, File Structures, Addison-Wesley. 목차 Disks Storage as a Hierarchy Buffer Management Flash Memory 영남대학교데이터베이스연구실

More information

강의10

강의10 Computer Programming gdb and awk 12 th Lecture 김현철컴퓨터공학부서울대학교 순서 C Compiler and Linker 보충 Static vs Shared Libraries ( 계속 ) gdb awk Q&A Shared vs Static Libraries ( 계속 ) Advantage of Using Libraries Reduced

More information

C# Programming Guide - Types

C# Programming Guide - Types C# Programming Guide - Types 최도경 lifeisforu@wemade.com 이문서는 MSDN 의 Types 를요약하고보충한것입니다. http://msdn.microsoft.com/enus/library/ms173104(v=vs.100).aspx Types, Variables, and Values C# 은 type 에민감한언어이다. 모든

More information

MAX+plus II Getting Started - 무작정따라하기

MAX+plus II Getting Started - 무작정따라하기 무작정 따라하기 2001 10 4 / Version 20-2 0 MAX+plus II Digital, Schematic Capture MAX+plus II, IC, CPLD FPGA (Logic) ALTERA PLD FLEX10K Series EPF10K10QC208-4 MAX+plus II Project, Schematic, Design Compilation,

More information

Microsoft Word - FunctionCall

Microsoft Word - FunctionCall Function all Mechanism /* Simple Program */ #define get_int() IN KEYOARD #define put_int(val) LD A val \ OUT MONITOR int add_two(int a, int b) { int tmp; tmp = a+b; return tmp; } local auto variable stack

More information

1

1 04단원 컴퓨터 소프트웨어 1. 프로그래밍 언어 2. 시스템 소프트웨어 1/10 1. 프로그래밍 언어 1) 프로그래밍 언어 구분 각종 프로그래밍 언어에 대해 알아보는 시간을 갖도록 하겠습니다. 우리가 흔히 접하는 소프트웨어 들은 프로그래밍 언어로 만들어지는데, 프로그래밍 언어는 크게 2가지로 나눌 수 있습니다. 1 저급어 : 0과 1로 구성되어 있어, 컴퓨터가

More information

6주차.key

6주차.key 6, Process concept A program in execution Program code PCB (process control block) Program counter, registers, etc. Stack Heap Data section => global variable Process in memory Process state New Running

More information

Microsoft Word - ExecutionStack

Microsoft Word - ExecutionStack Lecture 15: LM code from high level language /* Simple Program */ external int get_int(); external void put_int(); int sum; clear_sum() { sum=0; int step=2; main() { register int i; static int count; clear_sum();

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 Internship in OCZ Technology VLDB 연구실 오기환 wurikiji@gmail.com 5/30/2012 1 At San Jose, CA, USA SSD product OCZ Technology Worked at Indilinx firmware team 2012. 1. 3 ~ 2012. 2. 3 ( 약 32 일 ) 오전 9 시출근오후 6

More information

슬라이드 1

슬라이드 1 명령어집합 주소지정모드 (addressing mode) 내용 명령어는크게연산자부분과이연산에필요한주소부분으로구성 이때주소부분은다양한형태를해석될수있으며, 해석하는방법을주소지정방식 ( 모드 )(addressing mode) 라한다. 즉피연산자정보를구하는방법을주소지정방식이라고함 명령어형식 주소지정 명령어형식에있는주소필드는상대적으로짧다. 따라서지정할수있는위치가제한된다.

More information

Sharing Memory Between Drivers and Applications

Sharing Memory Between Drivers and Applications 본컬럼에대한모든저작권은 DevGuru에있습니다. 컬럼을타사이트등에기재및링크또는컬럼내용을인용시반드시출처를밝히셔야합니다. 컬럼들을 CD나기타매체로배포하고자할경우 DevGuru에동의를얻으셔야합니다. c DevGuru Corporation. All rights reserved 기타자세한질문사항들은웹게시판이나 support@devguru.co.kr 으로 문의하기바랍니다.

More information

Microsoft PowerPoint - 알고리즘_2주차_1차시.pptx

Microsoft PowerPoint - 알고리즘_2주차_1차시.pptx 1.4 Blocking Block의정의 디스크와메모리사이에데이터전송의단위 물리적레코드라고도함 Sector, Block, Cluster의비교 Sector: Data transfer 의최소단위 Block = n개의 sector로구성 디스크와메모리사이에데이터전송의단위 Cluster: m 개의 sector 로구성되며, FAT 구성단위 Cluster Block 영남대학교데이터베이스연구실

More information

이번장에서학습할내용 동적메모리란? malloc() 와 calloc() 연결리스트 파일을이용하면보다많은데이터를유용하고지속적으로사용및관리할수있습니다. 2

이번장에서학습할내용 동적메모리란? malloc() 와 calloc() 연결리스트 파일을이용하면보다많은데이터를유용하고지속적으로사용및관리할수있습니다. 2 제 17 장동적메모리와연결리스트 유준범 (JUNBEOM YOO) Ver. 2.0 jbyoo@konkuk.ac.kr http://dslab.konkuk.ac.kr 본강의자료는생능출판사의 PPT 강의자료 를기반으로제작되었습니다. 이번장에서학습할내용 동적메모리란? malloc() 와 calloc() 연결리스트 파일을이용하면보다많은데이터를유용하고지속적으로사용및관리할수있습니다.

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 Reasons for Poor Performance Programs 60% Design 20% System 2.5% Database 17.5% Source: ORACLE Performance Tuning 1 SMS TOOL DBA Monitoring TOOL Administration TOOL Performance Insight Backup SQL TUNING

More information

<4D F736F F F696E74202D2037C0E52DC4B3BDC3BFCDB8DEB8F0B8AE>

<4D F736F F F696E74202D2037C0E52DC4B3BDC3BFCDB8DEB8F0B8AE> 7장 : 캐시와메모리 메모리계층 사용자들은값싸고빠른메모리를크면클수록갖고싶어한다! - 나에게하드디스크 (300GB) 만큼의, 속도는 RAM 정도이고비휘발성메모리가있다면.. 그런데돈이없다. 2006년현재 RAM은 52 MB/5 만원 ( GB/0 만원 ) HD는 300GB/0 만원 (GB/330원) 캐시가격을정확히산정하기는어려우나 52KB/2 만원 (GB/4000

More information

임베디드시스템설계강의자료 6 system call 2/2 (2014 년도 1 학기 ) 김영진 아주대학교전자공학과

임베디드시스템설계강의자료 6 system call 2/2 (2014 년도 1 학기 ) 김영진 아주대학교전자공학과 임베디드시스템설계강의자료 6 system call 2/2 (2014 년도 1 학기 ) 김영진 아주대학교전자공학과 System call table and linkage v Ref. http://www.ibm.com/developerworks/linux/library/l-system-calls/ - 2 - Young-Jin Kim SYSCALL_DEFINE 함수

More information

Microsoft PowerPoint - a2.ppt [호환 모드]

Microsoft PowerPoint - a2.ppt [호환 모드] 마이크로컴퓨터의기본구조 2 장 x86 프로세서구조 ALU: 산술논리연산제어장치 (CU): 실행순서제어클럭 : 구성요소들의동작동기화 CPU + memory + I/O + bus 어셈블리언어 2 클럭 (Clock) CPU 와 Bus 동작은클럭에동기되어동작을한다. 메모리읽기사이클과대기상태 1 클럭사이클동안간단한동작을수행한다. 기계어명령어수행에적어도 1 클럭사이클이필요함

More information

6.24-9년 6월

6.24-9년 6월 리눅스 환경에서Solid-State Disk 성능 최적화를 위한 디스크 입출력요구 변환 계층 김태웅 류준길 박찬익 Taewoong Kim Junkil Ryu Chanik Park 포항공과대학교 컴퓨터공학과 {ehoto, lancer, cipark}@postech.ac.kr 요약 SSD(Solid-State Disk)는 여러 개의 낸드 플래시 메모리들로 구성된

More information

슬라이드 1

슬라이드 1 마이크로컨트롤러 2 (MicroController2) 2 강 ATmega128 의 external interrupt 이귀형교수님 학습목표 interrupt 란무엇인가? 기본개념을알아본다. interrupt 중에서가장사용하기쉬운 external interrupt 의사용방법을학습한다. 1. Interrupt 는왜필요할까? 함수동작을추가하여실행시키려면? //***

More information

untitled

untitled Embedded System Lab. II Embedded System Lab. II 2 RTOS Hard Real-Time vs Soft Real-Time RTOS Real-Time, Real-Time RTOS General purpose system OS H/W RTOS H/W task Hard Real-Time Real-Time System, Hard

More information

PRO1_09E [읽기 전용]

PRO1_09E [읽기 전용] Siemens AG 1999 All rights reserved File: PRO1_09E1 Information and - ( ) 2 3 4 5 Monitor/Modify Variables" 6 7 8 9 10 11 CPU 12 Stop 13 (Forcing) 14 (1) 15 (2) 16 : 17 : Stop 18 : 19 : (Forcing) 20 :

More information

Deok9_PE Structure

Deok9_PE Structure PE Structure CodeEngn Co-Administrator!!! and Team Sur3x5F Member Nick : Deok9 E-mail : DDeok9@gmail.com HomePage : http://deok9.sur3x5f.org Twitter :@DDeok9 1. PE > 1) PE? 2) PE 3) PE Utility

More information

Microsoft PowerPoint os2.ppt [호환 모드]

Microsoft PowerPoint os2.ppt [호환 모드] 2 장컴퓨터시스템구조 (Computer-System Structures) 컴퓨터시스템연산 (Computer System Operation) 입출력구조 (I/O Structure) 저장장치구조 (Storage Structure) 저장장치계층 (Storage Hierarchy) 하드웨어보호 (Hardware Protection) 일반적인시스템구조 (General

More information

The_IDA_Pro_Book

The_IDA_Pro_Book The IDA Pro Book Hacking Group OVERTIME force (forceteam01@gmail.com) GETTING STARTED WITH IDA IDA New : Go : IDA Previous : IDA File File -> Open Processor type : Loading Segment and Loading Offset x86

More information

<4D F736F F F696E74202D20BBB7BBB7C7D15F FBEDFB0A3B1B3C0B05FC1A638C0CFC2F72E BC8A3C8AF20B8F0B5E55D>

<4D F736F F F696E74202D20BBB7BBB7C7D15F FBEDFB0A3B1B3C0B05FC1A638C0CFC2F72E BC8A3C8AF20B8F0B5E55D> 뻔뻔한 AVR 프로그래밍 The Last(8 th ) Lecture 유명환 ( yoo@netplug.co.kr) INDEX 1 I 2 C 통신이야기 2 ATmega128 TWI(I 2 C) 구조분석 4 ATmega128 TWI(I 2 C) 실습 : AT24C16 1 I 2 C 통신이야기 I 2 C Inter IC Bus 어떤 IC들간에도공통적으로통할수있는 ex)

More information

GNU/Linux 1, GNU/Linux MS-DOS LOADLIN DOS-MBR LILO DOS-MBR LILO... 6

GNU/Linux 1, GNU/Linux MS-DOS LOADLIN DOS-MBR LILO DOS-MBR LILO... 6 GNU/ 1, qkim@pecetrirekr GNU/ 1 1 2 2 3 4 31 MS-DOS 5 32 LOADLIN 5 33 DOS- LILO 6 34 DOS- 6 35 LILO 6 4 7 41 BIOS 7 42 8 43 8 44 8 45 9 46 9 47 2 9 5 X86 GNU/LINUX 10 1 GNU/, GNU/ 2, 3, 1 : V 11, 2001

More information

(72) 발명자 이동희 서울 동작구 여의대방로44길 10, 101동 802호 (대 방동, 대림아파트) 노삼혁 서울 중구 정동길 21-31, B동 404호 (정동, 정동상 림원) 이 발명을 지원한 국가연구개발사업 과제고유번호 2010-0025282 부처명 교육과학기술부

(72) 발명자 이동희 서울 동작구 여의대방로44길 10, 101동 802호 (대 방동, 대림아파트) 노삼혁 서울 중구 정동길 21-31, B동 404호 (정동, 정동상 림원) 이 발명을 지원한 국가연구개발사업 과제고유번호 2010-0025282 부처명 교육과학기술부 (19) 대한민국특허청(KR) (12) 등록특허공보(B1) (45) 공고일자 2015년01월13일 (11) 등록번호 10-1480424 (24) 등록일자 2015년01월02일 (51) 국제특허분류(Int. Cl.) G06F 12/00 (2006.01) G11C 16/00 (2006.01) (21) 출원번호 10-2013-0023977 (22) 출원일자 2013년03월06일

More information

PowerPoint Presentation

PowerPoint Presentation GPU-based Keylogger Jihwan yoon 131ackcon@gmail.com Index Who am I Keylogger, GPU GPU based Keylogging - Locating the keyboard buffer - Capturing KEYSTROKES Demo About me Who am I 윤지환 CERT-IS reader BOB

More information

Microsoft PowerPoint APUE(Intro).ppt

Microsoft PowerPoint APUE(Intro).ppt 컴퓨터특강 () [Ch. 1 & Ch. 2] 2006 년봄학기 문양세강원대학교컴퓨터과학과 APUE 강의목적 UNIX 시스템프로그래밍 file, process, signal, network programming UNIX 시스템의체계적이해 시스템프로그래밍능력향상 Page 2 1 APUE 강의동기 UNIX 는인기있는운영체제 서버시스템 ( 웹서버, 데이터베이스서버

More information

Xen으로 배우는 가상화 기술의 이해 - CPU 가상화

Xen으로 배우는 가상화 기술의 이해 - CPU 가상화 Hanbit ebook Realtime 17 Xen으로 배우는 가상화 기술의 이해 CPU 가상화 박은병, 김태훈, 이상철, 문대혁 지음 Xen으로 배우는 가상화 기술의 이해 CPU 가상화 Xen으로 배우는 가상화 기술의 이해 - CPU 가상화 초판발행 2013년 2월 25일 지은이 박은병, 김태훈, 이상철, 문대혁 / 펴낸이 김태헌 펴낸곳 한빛미디어(주) /

More information

Deok9_Exploit Technique

Deok9_Exploit Technique Exploit Technique CodeEngn Co-Administrator!!! and Team Sur3x5F Member Nick : Deok9 E-mail : DDeok9@gmail.com HomePage : http://deok9.sur3x5f.org Twitter :@DDeok9 > 1. Shell Code 2. Security

More information

목 차

목      차 Oracle 9i Admim 1. Oracle RDBMS 1.1 (System Global Area:SGA) 1.1.1 (Shared Pool) 1.1.2 (Database Buffer Cache) 1.1.3 (Redo Log Buffer) 1.1.4 Java Pool Large Pool 1.2 Program Global Area (PGA) 1.3 Oracle

More information

PCServerMgmt7

PCServerMgmt7 Web Windows NT/2000 Server DP&NM Lab 1 Contents 2 Windows NT Service Provider Management Application Web UI 3 . PC,, Client/Server Network 4 (1),,, PC Mainframe PC Backbone Server TCP/IP DCS PLC Network

More information

1217 WebTrafMon II

1217 WebTrafMon II (1/28) (2/28) (10 Mbps ) Video, Audio. (3/28) 10 ~ 15 ( : telnet, ftp ),, (4/28) UDP/TCP (5/28) centralized environment packet header information analysis network traffic data, capture presentation network

More information

Adobe Flash 취약점 분석 (CVE-2012-0754)

Adobe Flash 취약점 분석 (CVE-2012-0754) 기술문서 14. 08. 13. 작성 GNU C library dynamic linker $ORIGIN expansion Vulnerability Author : E-Mail : 윤지환 131ackcon@gmail.com Abstract 2010 년 Tavis Ormandy 에 의해 발견된 취약점으로써 정확한 명칭은 GNU C library dynamic linker

More information

휠세미나3 ver0.4

휠세미나3 ver0.4 andromeda@sparcs:/$ ls -al dev/sda* brw-rw---- 1 root disk 8, 0 2014-06-09 18:43 dev/sda brw-rw---- 1 root disk 8, 1 2014-06-09 18:43 dev/sda1 brw-rw---- 1 root disk 8, 2 2014-06-09 18:43 dev/sda2 andromeda@sparcs:/$

More information

목차 BUG offline replicator 에서유효하지않은로그를읽을경우비정상종료할수있다... 3 BUG 각 partition 이서로다른 tablespace 를가지고, column type 이 CLOB 이며, 해당 table 을 truncate

목차 BUG offline replicator 에서유효하지않은로그를읽을경우비정상종료할수있다... 3 BUG 각 partition 이서로다른 tablespace 를가지고, column type 이 CLOB 이며, 해당 table 을 truncate ALTIBASE HDB 6.1.1.5.6 Patch Notes 목차 BUG-39240 offline replicator 에서유효하지않은로그를읽을경우비정상종료할수있다... 3 BUG-41443 각 partition 이서로다른 tablespace 를가지고, column type 이 CLOB 이며, 해당 table 을 truncate 한뒤, hash partition

More information

Frama-C/JESSIS 사용법 소개

Frama-C/JESSIS 사용법 소개 Frama-C 프로그램검증시스템소개 박종현 @ POSTECH PL Frama-C? C 프로그램대상정적분석도구 플러그인구조 JESSIE Wp Aorai Frama-C 커널 2 ROSAEC 2011 동계워크샵 @ 통영 JESSIE? Frama-C 연역검증플러그인 프로그램분석 검증조건추출 증명 Hoare 논리에기초한프로그램검증도구 사용법 $ frama-c jessie

More information

슬라이드 제목 없음

슬라이드 제목 없음 2006-09-27 경북대학교컴퓨터공학과 1 제 5 장서브넷팅과슈퍼넷팅 서브넷팅 (subnetting) 슈퍼넷팅 (Supernetting) 2006-09-27 경북대학교컴퓨터공학과 2 서브넷팅과슈퍼넷팅 서브넷팅 (subnetting) 하나의네트워크를여러개의서브넷 (subnet) 으로분할 슈퍼넷팅 (supernetting) 여러개의서브넷주소를결합 The idea

More information

MS-SQL SERVER 대비 기능

MS-SQL SERVER 대비 기능 Business! ORACLE MS - SQL ORACLE MS - SQL Clustering A-Z A-F G-L M-R S-Z T-Z Microsoft EE : Works for benchmarks only CREATE VIEW Customers AS SELECT * FROM Server1.TableOwner.Customers_33 UNION ALL SELECT

More information

<4D F736F F F696E74202D DBAB8C1B62CC6AFBCF6BFEBB5B5B1E2BEEFC0E5C4A12CBAB4B7C4C4C4C7BBC5CD2E707074>

<4D F736F F F696E74202D DBAB8C1B62CC6AFBCF6BFEBB5B5B1E2BEEFC0E5C4A12CBAB4B7C4C4C4C7BBC5CD2E707074> 1. 보조기억장치 [CA 10강 ]-보조, 특수용도기억장치, 병렬컴퓨터 [ 출제빈도 상 ] - 대규모의기억용량을갖는장비로구현. - data 를보관하였다가주기억장치로이동시키는기능. 2. 자기테이프 ( 순차접근 ) - 백업용 ( 대량의자료를장시간보관 ), 입출력장치 BOT : Beginning Of Tape, IRG : Inter Record Gap EOT :

More information

Microsoft PowerPoint - chap01-C언어개요.pptx

Microsoft PowerPoint - chap01-C언어개요.pptx #include int main(void) { int num; printf( Please enter an integer: "); scanf("%d", &num); if ( num < 0 ) printf("is negative.\n"); printf("num = %d\n", num); return 0; } 1 학습목표 프로그래밍의 기본 개념을

More information

리뉴얼 xtremI 최종 softcopy

리뉴얼 xtremI 최종 softcopy SSD를 100% 이해한 CONTENTS SSD? 03 04 05 06 07 08 09 10 11 12 13 15 14 17 18 18 19 03 SSD SSD? Solid State Drive(SSD) NAND NAND DRAM SSD [ 1. SSD ] CPU( )RAM Cache Memory Firmware GB RAM Cache Memory Memory

More information

Microsoft PowerPoint - PL_03-04.pptx

Microsoft PowerPoint - PL_03-04.pptx Copyright, 2011 H. Y. Kwak, Jeju National University. Kwak, Ho-Young http://cybertec.cheju.ac.kr Contents 1 프로그래밍 언어 소개 2 언어의 변천 3 프로그래밍 언어 설계 4 프로그래밍 언어의 구문과 구현 기법 5 6 7 컴파일러 개요 변수, 바인딩, 식 및 제어문 자료형 8

More information

Chapter #01 Subject

Chapter #01  Subject Device Driver March 24, 2004 Kim, ki-hyeon 목차 1. 인터럽트처리복습 1. 인터럽트복습 입력검출방법 인터럽트방식, 폴링 (polling) 방식 인터럽트서비스등록함수 ( 커널에등록 ) int request_irq(unsigned int irq, void(*handler)(int,void*,struct pt_regs*), unsigned

More information

JVM 메모리구조

JVM 메모리구조 조명이정도면괜찮조! 주제 JVM 메모리구조 설미라자료조사, 자료작성, PPT 작성, 보고서작성. 발표. 조장. 최지성자료조사, 자료작성, PPT 작성, 보고서작성. 발표. 조원 이용열자료조사, 자료작성, PPT 작성, 보고서작성. 이윤경 자료조사, 자료작성, PPT작성, 보고서작성. 이수은 자료조사, 자료작성, PPT작성, 보고서작성. 발표일 2013. 05.

More information

Microsoft PowerPoint - ch09 - 연결형리스트, Stack, Queue와 응용 pm0100

Microsoft PowerPoint - ch09 - 연결형리스트, Stack, Queue와 응용 pm0100 2015-1 프로그래밍언어 9. 연결형리스트, Stack, Queue 2015 년 5 월 4 일 교수김영탁 영남대학교공과대학정보통신공학과 (Tel : +82-53-810-2497; Fax : +82-53-810-4742 http://antl.yu.ac.kr/; E-mail : ytkim@yu.ac.kr) 연결리스트 (Linked List) 연결리스트연산 Stack

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 System Software Experiment 1 Lecture 5 - Array Spring 2019 Hwansoo Han (hhan@skku.edu) Advanced Research on Compilers and Systems, ARCS LAB Sungkyunkwan University http://arcs.skku.edu/ 1 배열 (Array) 동일한타입의데이터가여러개저장되어있는저장장소

More information

hlogin7

hlogin7 0x07. Return Oriented Programming ROP? , (DEP, ASLR). ROP (Return Oriented Programming) (excutable memory) rop. plt, got got overwrite RTL RTL Chain DEP, ASLR gadget Basic knowledge plt, got call function

More information

solution map_....

solution map_.... SOLUTION BROCHURE RELIABLE STORAGE SOLUTIONS ETERNUS FOR RELIABILITY AND AVAILABILITY PROTECT YOUR DATA AND SUPPORT BUSINESS FLEXIBILITY WITH FUJITSU STORAGE SOLUTIONS kr.fujitsu.com INDEX 1. Storage System

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 (Host) set up : Linux Backend RS-232, Ethernet, parallel(jtag) Host terminal Target terminal : monitor (Minicom) JTAG Cross compiler Boot loader Pentium Redhat 9.0 Serial port Serial cross cable Ethernet

More information

Poison null byte Excuse the ads! We need some help to keep our site up. List 1 Conditions 2 Exploit plan 2.1 chunksize(p)!= prev_size (next_chunk(p) 3

Poison null byte Excuse the ads! We need some help to keep our site up. List 1 Conditions 2 Exploit plan 2.1 chunksize(p)!= prev_size (next_chunk(p) 3 Poison null byte Excuse the ads! We need some help to keep our site up. List 1 Conditions 2 Exploit plan 2.1 chunksize(p)!= prev_size (next_chunk(p) 3 Example 3.1 Files 3.2 Source code 3.3 Exploit flow

More information

슬라이드 1

슬라이드 1 / 유닉스시스템개요 / 파일 / 프로세스 01 File Descriptor file file descriptor file type unix 에서의파일은단지바이트들의나열임 operating system 은파일에어떤포맷도부과하지않음 파일의내용은바이트단위로주소를줄수있음 file descriptor 는 0 이나양수임 file 은 open 이나 creat 로 file

More information

Microsoft PowerPoint - 30.ppt [호환 모드]

Microsoft PowerPoint - 30.ppt [호환 모드] 이중포트메모리의실제적인고장을고려한 Programmable Memory BIST 2010. 06. 29. 연세대학교전기전자공학과박영규, 박재석, 한태우, 강성호 hipyk@soc.yonsei.ac.kr Contents Introduction Proposed Programmable Memory BIST(PMBIST) Algorithm Instruction PMBIST

More information

Microsoft PowerPoint - polling.pptx

Microsoft PowerPoint - polling.pptx 지현석 (binish@home.cnu.ac.kr) http://binish.or.kr Index 이슈화된키보드해킹 최근키보드해킹이슈의배경지식 Interrupt VS polling What is polling? Polling pseudo code Polling 을이용한키로거분석 방어기법연구 이슈화된키보드해킹 키보드해킹은연일상한가! 주식, 펀드투자의시기?! 최근키보드해킹이슈의배경지식

More information

Microsoft PowerPoint - chap02-C프로그램시작하기.pptx

Microsoft PowerPoint - chap02-C프로그램시작하기.pptx #include int main(void) { int num; printf( Please enter an integer "); scanf("%d", &num); if ( num < 0 ) printf("is negative.\n"); printf("num = %d\n", num); return 0; } 1 학습목표 을 작성하면서 C 프로그램의

More information

운영체제란? PC를구입하면 Windows XP, Windows 7, Linux, MS-DOS Mac OSX, ios 운영체제 : Operating System 운영체제가없는컴퓨터? 컴퓨터 : 프로세서와메모리 전원을켜면어떤일이? 휘발성메모리 - 야생마 프로그램을실행하려면

운영체제란? PC를구입하면 Windows XP, Windows 7, Linux, MS-DOS Mac OSX, ios 운영체제 : Operating System 운영체제가없는컴퓨터? 컴퓨터 : 프로세서와메모리 전원을켜면어떤일이? 휘발성메모리 - 야생마 프로그램을실행하려면 운영체제 Introduction 양희재교수 (hjyang@ks.ac.kr) / 경성대학교컴퓨터공학과 운영체제란? PC를구입하면 Windows XP, Windows 7, Linux, MS-DOS Mac OSX, ios 운영체제 : Operating System 운영체제가없는컴퓨터? 컴퓨터 : 프로세서와메모리 전원을켜면어떤일이? 휘발성메모리 - 야생마 프로그램을실행하려면?

More information

Oracle9i Real Application Clusters

Oracle9i Real Application Clusters Senior Sales Consultant Oracle Corporation Oracle9i Real Application Clusters Agenda? ? (interconnect) (clusterware) Oracle9i Real Application Clusters computing is a breakthrough technology. The ability

More information

금오공대 컴퓨터공학전공 강의자료

금오공대 컴퓨터공학전공 강의자료 데이터베이스및설계 Chap 1. 데이터베이스환경 (#2/2) 2013.03.04. 오병우 컴퓨터공학과 Database 용어 " 데이타베이스 용어의기원 1963.6 제 1 차 SDC 심포지움 컴퓨터중심의데이타베이스개발과관리 Development and Management of a Computer-centered Data Base 자기테이프장치에저장된데이터파일을의미

More information

SRC PLUS 제어기 MANUAL

SRC PLUS 제어기 MANUAL ,,,, DE FIN E I N T R E A L L O C E N D SU B E N D S U B M O TIO

More information

임베디드시스템설계강의자료 6 system call 1/2 (2014 년도 1 학기 ) 김영진 아주대학교전자공학과

임베디드시스템설계강의자료 6 system call 1/2 (2014 년도 1 학기 ) 김영진 아주대학교전자공학과 임베디드시스템설계강의자료 6 system call 1/2 (2014 년도 1 학기 ) 김영진 아주대학교전자공학과 시스템호출개요 리눅스에서는사용자공간과커널공간을구분 사용자프로그램은사용자모드, 운영체제는커널모드에서수행 커널공간에대한접근은커널 ( 특권, priviledged) 모드에서가능 컴퓨팅자원 (CPU, memory, I/O 등 ) 을안전하게보호 커널수행을안전하게유지

More information

The Self-Managing Database : Automatic Health Monitoring and Alerting

The Self-Managing Database : Automatic Health Monitoring and Alerting The Self-Managing Database : Automatic Health Monitoring and Alerting Agenda Oracle 10g Enterpirse Manager Oracle 10g 3 rd Party PL/SQL API Summary (Self-Managing Database) ? 6% 6% 12% 55% 6% Source: IOUG

More information

Chap06(Interprocess Communication).PDF

Chap06(Interprocess Communication).PDF Interprocess Communication 2002 2 Hyun-Ju Park Introduction (interprocess communication; IPC) IPC data transfer sharing data event notification resource sharing process control Interprocess Communication

More information

Microsoft PowerPoint - 06-IPAddress [호환 모드]

Microsoft PowerPoint - 06-IPAddress [호환 모드] Chapter 06 IP Address IP Address Internet address IP 계층에서사용되는식별자 32 bit 2 진주소 The address space of IPv4 is 2 32 or 4,294,967,296 netid 와 hostid 로구분 인터넷에서호스트와라우터를유일하게구분 IP Address Structure 2-Layer Hierarchical

More information

1

1 1 1....6 1.1...6 2. Java Architecture...7 2.1 2SDK(Software Development Kit)...8 2.2 JRE(Java Runtime Environment)...9 2.3 (Java Virtual Machine, JVM)...10 2.4 JVM...11 2.5 (runtime)jvm...12 2.5.1 2.5.2

More information

SMB_ICMP_UDP(huichang).PDF

SMB_ICMP_UDP(huichang).PDF SMB(Server Message Block) UDP(User Datagram Protocol) ICMP(Internet Control Message Protocol) SMB (Server Message Block) SMB? : Microsoft IBM, Intel,. Unix NFS. SMB client/server. Client server request

More information

KEY 디바이스 드라이버

KEY 디바이스 드라이버 KEY 디바이스드라이버 임베디드시스템소프트웨어 I (http://et.smu.ac.kr et.smu.ac.kr) 차례 GPIO 및 Control Registers KEY 하드웨어구성 KEY Driver 프로그램 key-driver.c 시험응용프로그램 key-app.c KEY 디바이스드라이버 11-2 GPIO(General-Purpose Purpose I/O)

More information

10주차.key

10주차.key 10, Process synchronization (concurrently) ( ) => critical section ( ) / =>, A, B / Race condition int counter; Process A { counter++; } Process B { counter ;.. } counter++ register1 = counter register1

More information

Oracle Database 10g: Self-Managing Database DB TSC

Oracle Database 10g: Self-Managing Database DB TSC Oracle Database 10g: Self-Managing Database DB TSC Agenda Overview System Resource Application & SQL Storage Space Backup & Recovery ½ Cost ? 6% 12 % 6% 6% 55% : IOUG 2001 DBA Survey ? 6% & 12 % 6% 6%

More information

PRO1_04E [읽기 전용]

PRO1_04E [읽기 전용] Siemens AG 1999 All rights reserved File: PRO1_04E1 Information and S7-300 2 S7-400 3 EPROM / 4 5 6 HW Config 7 8 9 CPU 10 CPU : 11 CPU : 12 CPU : 13 CPU : / 14 CPU : 15 CPU : / 16 HW 17 HW PG 18 SIMATIC

More information

hlogin2

hlogin2 0x02. Stack Corruption off-limit Kernel Stack libc Heap BSS Data Code off-limit Kernel Kernel : OS Stack libc Heap BSS Data Code Stack : libc : Heap : BSS, Data : bss Code : off-limit Kernel Kernel : OS

More information

Microsoft PowerPoint - eSlim SV5-2510 [080116]

Microsoft PowerPoint - eSlim SV5-2510 [080116] Innovation for Total Solution Provider!! eslim SV5-2510 Opteron Server 2008. 03 ESLIM KOREA INC. 1. 제 품 개 요 eslim SV5-2510 Server Quad-Core and Dual-Core Opteron 2000 Series 6 internal HDD bays for SAS

More information

Microsoft PowerPoint - chap06-2pointer.ppt

Microsoft PowerPoint - chap06-2pointer.ppt 2010-1 학기프로그래밍입문 (1) chapter 06-2 참고자료 포인터 박종혁 Tel: 970-6702 Email: jhpark1@snut.ac.kr 한빛미디어 출처 : 뇌를자극하는 C프로그래밍, 한빛미디어 -1- 포인터의정의와사용 변수를선언하는것은메모리에기억공간을할당하는것이며할당된이후에는변수명으로그기억공간을사용한다. 할당된기억공간을사용하는방법에는변수명외에메모리의실제주소값을사용하는것이다.

More information

Chapter ...

Chapter ... Chapter 4 프로세서 (4.9절, 4.12절, 4.13절) Contents 4.1 소개 4.2 논리 설계 기초 4.3 데이터패스 설계 4.4 단순한 구현 방법 4.5 파이프라이닝 개요*** 4.6 파이프라이닝 데이터패스 및 제어*** 4.7 데이터 해저드: 포워딩 vs. 스톨링*** 4.8 제어 해저드*** 4.9 예외 처리*** 4.10 명령어 수준

More information

<3130C0E5>

<3130C0E5> Redundancy Adding extra bits for detecting or correcting errors at the destination Types of Errors Single-Bit Error Only one bit of a given data unit is changed Burst Error Two or more bits in the data

More information

ETL_project_best_practice1.ppt

ETL_project_best_practice1.ppt ETL ETL Data,., Data Warehouse DataData Warehouse ETL tool/system: ETL, ETL Process Data Warehouse Platform Database, Access Method Data Source Data Operational Data Near Real-Time Data Modeling Refresh/Replication

More information

금오공대 컴퓨터공학전공 강의자료

금오공대 컴퓨터공학전공 강의자료 C 프로그래밍프로젝트 Chap 13. 포인터와배열! 함께이해하기 2013.10.02. 오병우 컴퓨터공학과 13-1 포인터와배열의관계 Programming in C, 정재은저, 사이텍미디어. 9 장참조 ( 교재의 13-1 은읽지말것 ) 배열이름의정체 배열이름은 Compile 시의 Symbol 로서첫번째요소의주소값을나타낸다. Symbol 로서컴파일시에만유효함 실행시에는메모리에잡히지않음

More information

APOGEE Insight_KR_Base_3P11

APOGEE Insight_KR_Base_3P11 Technical Specification Sheet Document No. 149-332P25 September, 2010 Insight 3.11 Base Workstation 그림 1. Insight Base 메인메뉴 Insight Base Insight Insight Base, Insight Base Insight Base Insight Windows

More information

vm-웨어-앞부속

vm-웨어-앞부속 VMware vsphere 4 This document was created using the official VMware icon and diagram library. Copyright 2009 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright

More information

<4D F736F F F696E74202D203137C0E55FBFACBDC0B9AEC1A6BCD6B7E7BCC72E707074>

<4D F736F F F696E74202D203137C0E55FBFACBDC0B9AEC1A6BCD6B7E7BCC72E707074> SIMATIC S7 Siemens AG 2004. All rights reserved. Date: 22.03.2006 File: PRO1_17E.1 차례... 2 심벌리스트... 3 Ch3 Ex2: 프로젝트생성...... 4 Ch3 Ex3: S7 프로그램삽입... 5 Ch3 Ex4: 표준라이브러리에서블록복사... 6 Ch4 Ex1: 실제구성을 PG 로업로드하고이름변경......

More information

Mango220 Android How to compile and Transfer image to Target

Mango220 Android How to compile and Transfer image to Target Mango220 Android How to compile and Transfer image to Target http://www.mangoboard.com/ http://cafe.naver.com/embeddedcrazyboys Crazy Embedded Laboratory www.mangoboard.com cafe.naver.com/embeddedcrazyboys

More information

untitled

untitled 시스템소프트웨어 : 운영체제, 컴파일러, 어셈블러, 링커, 로더, 프로그래밍도구등 소프트웨어 응용소프트웨어 : 워드프로세서, 스프레드쉬트, 그래픽프로그램, 미디어재생기등 1 n ( x + x +... + ) 1 2 x n 00001111 10111111 01000101 11111000 00001111 10111111 01001101 11111000

More information

<4D F736F F F696E74202D20BBB7BBB7C7D15F FBEDFB0A3B1B3C0B05FC1A634C0CFC2F72E BC8A3C8AF20B8F0B5E55D>

<4D F736F F F696E74202D20BBB7BBB7C7D15F FBEDFB0A3B1B3C0B05FC1A634C0CFC2F72E BC8A3C8AF20B8F0B5E55D> 뻔뻔한 AVR 프로그래밍 The 4 th Lecture 유명환 ( yoo@netplug.co.kr) 1 시간 (Time) 에대한정의 INDEX 2 왜타이머 (Timer) 와카운터 (Counter) 인가? 3 ATmega128 타이머 / 카운터동작구조 4 ATmega128 타이머 / 카운터관련레지스터 5 뻔뻔한노하우 : 레지스터비트설정방법 6 ATmega128

More information

삼성955_965_09

삼성955_965_09 판매원-삼성전자주식회사 본 사 : 경기도 수원시 영통구 매탄 3동 416번지 제조원 : (주)아이젠 삼성 디지털 비데 순간온수 세정기 사용설명서 본 제품은 국내(대한민국)용 입니다. 전원, 전압이 다른 해외에서는 품질을 보증하지 않습니다. (FOR KOREA UNIT STANDARD ONLY) 이 사용설명서에는 제품보증서가 포함되어 있습니다. 분실되지 않도록

More information

T100MD+

T100MD+ User s Manual 100% ) ( x b a a + 1 RX+ TX+ DTR GND TX+ RX+ DTR GND RX+ TX+ DTR GND DSR RX+ TX+ DTR GND DSR [ DCE TYPE ] [ DCE TYPE ] RS232 Format Baud 1 T100MD+

More information

2 / 26

2 / 26 1 / 26 2 / 26 3 / 26 4 / 26 5 / 26 6 / 26 7 / 26 8 / 26 9 / 26 10 / 26 11 / 26 12 / 26 13 / 26 14 / 26 o o o 15 / 26 o 16 / 26 17 / 26 18 / 26 Comparison of RAID levels RAID level Minimum number of drives

More information

Microsoft PowerPoint - Master-ChiWeon_Yoon.ppt

Microsoft PowerPoint - Master-ChiWeon_Yoon.ppt 고속 Row Cycle 동작이가능한 VPM (Virtual Pipelined Memory) 구조에 대한연구 1998. 12. 28. 윤치원 1 발표순서 연구의필요성 관련연구 VCM (Virtual Channel Memory) POPeye : 메모리시스템성능측정기 POPeye를이용한 VCM 분석 VPM (Virtual Pipelined Memory) 결론및추후과제

More information

Microsoft PowerPoint - System Programming Lab Week1.ppt [호환 모드]

Microsoft PowerPoint - System Programming Lab Week1.ppt [호환 모드] System Programming Lab Week 1: Basic Skills for Practice Contents vi Editor 사용법 GCC 컴파일러사용법 Makefile 사용법 GDB 사용법 VI Editor Usage vi 모드 입력모드 : 실제문서를편집하는모드. 명령모드 : 키입력이바로명령이되는모드로서쓴내용을삭제하거나, 복사할때사용. ex 명령모드

More information

untitled

untitled Memory leak Resource 力 金 3-tier 見 Out of Memory( 不 ) Memory leak( 漏 ) 狀 Application Server Crash 理 Server 狀 Crash 類 JVM 說 例 行說 說 Memory leak Resource Out of Memory Memory leak Out of Memory 不論 Java heap

More information

슬라이드 1

슬라이드 1 Pairwise Tool & Pairwise Test NuSRS 200511305 김성규 200511306 김성훈 200614164 김효석 200611124 유성배 200518036 곡진화 2 PICT Pairwise Tool - PICT Microsoft 의 Command-line 기반의 Free Software www.pairwise.org 에서다운로드후설치

More information

CD-RW_Advanced.PDF

CD-RW_Advanced.PDF HP CD-Writer Program User Guide - - Ver. 2.0 HP CD-RW Adaptec Easy CD Creator Copier, Direct CD. HP CD-RW,. Easy CD Creator 3.5C, Direct CD 3.0., HP. HP CD-RW TEAM ( 02-3270-0803 ) < > 1. CD...3 CD...5

More information

다음 사항을 꼭 확인하세요! 도움말 안내 - 본 도움말에는 iodd2511 조작방법 및 활용법이 적혀 있습니다. - 본 제품 사용 전에 안전을 위한 주의사항 을 반드시 숙지하십시오. - 문제가 발생하면 문제해결 을 참조하십시오. 중요한 Data 는 항상 백업 하십시오.

다음 사항을 꼭 확인하세요! 도움말 안내 - 본 도움말에는 iodd2511 조작방법 및 활용법이 적혀 있습니다. - 본 제품 사용 전에 안전을 위한 주의사항 을 반드시 숙지하십시오. - 문제가 발생하면 문제해결 을 참조하십시오. 중요한 Data 는 항상 백업 하십시오. 메 뉴 다음 사항을 꼭 확인하세요! --------------------------------- 2p 안전을 위한 주의 사항 --------------------------------- 3p 구성품 --------------------------------- 4p 각 부분의 명칭 --------------------------------- 5p 제품의 규격

More information