SlideShare a Scribd company logo
1 of 12
입출력 시스템
입출력 장치들이 원활하게 소통하고 입출력이 잘 이루어지도록 하는 것
입출력 방법
하드웨어 장치
메모리 맵 입출력
케이블 또는 무선으로 신호를 보내 컴퓨터 시스템과 통신하여 접속
장치 제어 레지스터를 프로세서의 주소 공간으로 찾아내는 방법
하드웨어 장치
• 신호를 보내 컴퓨터 시스템과 통신하며 컴퓨터와 접속
• 하나 이상의 장치들이 공동으로 여러 선을 사용
• 제어기를 내장하고 있음
메모리 맵 입출력
• 레지스터들이 메모리 주소와 일대일로 대응하여 레지스터가 직
접 데이터를 읽고 쓰는 역할을 수행
• 명령어를 이용하는 것보다 훨씬 빠른 성능
• 잘못된 포인터 오류로 시스템 문제가 생길 수 있다
입출력 전송
폴링
채널에 의한 데이터 전송
컴퓨터가 계속해서 장치가 사용중인지 검사
채널 제어기에 입출력 명령을 전달하여 수행
인터럽트
하드웨어가 제어기의 상태가 바뀔 때 컴퓨터에게 통보하여 처리
DMA
DMA 명령을 쓰면 전송하여 수신지의 포인터와 데이터 크기를 기록
폴링
• 비지비트가 현재 장치가 사용 가능한 상태인지 파악한다
-> 제어기가 바쁠 땐 1, 준비중일 때 0으로 설정
• 장치 사용까지의 준비 기간이 길어지면 비효율적
컴퓨터가 시시때때로 장치가 사용중인지 검사하기 위하여 비지비트 검사를 하는 것
인터럽트
• 하드웨어가 제어기의 상태가 바뀔 때 컴퓨터에게 통보하여 처
리
• 우선 순위를 구분하고 긴급한 정도에 따라 응답하기 위한 다양
한 수준의 인터럽트가 필요
하드웨어 변화에 따라 처리하는 것
DMA
1. 호스트가 직접 메모리 접근 명령을 쓰면 수신지의 포인터와
데이터 크기를 기록
2. CPU는 DMA에게 알려준 후 CPU는 다른 일을 진행
3. DMA가 버스를 통해 입출력 연산 진행
4. 연산이 끝난 후 CPU에게 완료 인터럽트를 보내준다
채널에 의한 데이터 전송
• CPU와 완전 독립하여 동시에 동작이 가능한 방법
• 채널 제어기에 입출력 명령을 전달하여 수행

More Related Content

Featured

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Featured (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

입출력시스템

  • 2. 입출력 장치들이 원활하게 소통하고 입출력이 잘 이루어지도록 하는 것
  • 3. 입출력 방법 하드웨어 장치 메모리 맵 입출력 케이블 또는 무선으로 신호를 보내 컴퓨터 시스템과 통신하여 접속 장치 제어 레지스터를 프로세서의 주소 공간으로 찾아내는 방법
  • 4. 하드웨어 장치 • 신호를 보내 컴퓨터 시스템과 통신하며 컴퓨터와 접속 • 하나 이상의 장치들이 공동으로 여러 선을 사용 • 제어기를 내장하고 있음
  • 5. 메모리 맵 입출력 • 레지스터들이 메모리 주소와 일대일로 대응하여 레지스터가 직 접 데이터를 읽고 쓰는 역할을 수행 • 명령어를 이용하는 것보다 훨씬 빠른 성능 • 잘못된 포인터 오류로 시스템 문제가 생길 수 있다
  • 6. 입출력 전송 폴링 채널에 의한 데이터 전송 컴퓨터가 계속해서 장치가 사용중인지 검사 채널 제어기에 입출력 명령을 전달하여 수행 인터럽트 하드웨어가 제어기의 상태가 바뀔 때 컴퓨터에게 통보하여 처리 DMA DMA 명령을 쓰면 전송하여 수신지의 포인터와 데이터 크기를 기록
  • 7. 폴링 • 비지비트가 현재 장치가 사용 가능한 상태인지 파악한다 -> 제어기가 바쁠 땐 1, 준비중일 때 0으로 설정 • 장치 사용까지의 준비 기간이 길어지면 비효율적
  • 8. 컴퓨터가 시시때때로 장치가 사용중인지 검사하기 위하여 비지비트 검사를 하는 것
  • 9. 인터럽트 • 하드웨어가 제어기의 상태가 바뀔 때 컴퓨터에게 통보하여 처 리 • 우선 순위를 구분하고 긴급한 정도에 따라 응답하기 위한 다양 한 수준의 인터럽트가 필요
  • 10. 하드웨어 변화에 따라 처리하는 것
  • 11. DMA 1. 호스트가 직접 메모리 접근 명령을 쓰면 수신지의 포인터와 데이터 크기를 기록 2. CPU는 DMA에게 알려준 후 CPU는 다른 일을 진행 3. DMA가 버스를 통해 입출력 연산 진행 4. 연산이 끝난 후 CPU에게 완료 인터럽트를 보내준다
  • 12. 채널에 의한 데이터 전송 • CPU와 완전 독립하여 동시에 동작이 가능한 방법 • 채널 제어기에 입출력 명령을 전달하여 수행