• ระบบปฏิบัติการ คือวิธีการปฏิบัติหรือการดำเนินงานที่ซับซ้อนซึ่งได้รับการรวบรวมเป็นแบบแผนเดียวกัน
• ระบบปฏิบัติการ คือกลุ่มโปรแกรมซึ่งได้รับการจัดระเบียบให้เป็นส่วนเชื่อมโยงระหว่างเครื่องและผู้ใช้เครื่อง โดยจะเอื้ออำนวยการพัฒนาและการใช้โปรแกรมต่าง ๆ รวมถึงการสรรจัดทรัพยากร (resource) ให้มีประสิทธิผลที่ดี
Computer System Components
1. Hardware - เครื่องคอมพิวเตอร์และอุปกรณ์รอบข้าง ( CPU,memory,I/O devices).
2. Operating system - ควบคุมการใช้ฮาร์แวร์ภายใต้การใช้งานโปรแกรมประยุกต์ของผู้ใช้ระดับต่างๆ
3. Applications programs - โปรแกรมประยุกต์ที่ใช้ในการแก้ปัญหาของผู้ใช้ (compilers, database systems, video games, business programs).
4. Users (people,machines,other computers).
Operating System Definitions
1. Resource allocator – บริหารการจัดสรรทรัพยากร เช่น การจัดการ Harddisk , memory , printer ให้เกิดประโยชน์ได้อย่างเต็มที่
2. Control program – ควบคุมการ execute โปรแกรมของผู้ใช้ และการทำงานของอุปกรณ์รับส่งข้อมูล
3. Kernel (แก่นแท้) – โปรแกรมที่ทำงานอยู่ตลอดเวลาบนคอมพิวเตอร์
Early/First Generation Systems
จ้างผู้ควบคุม
ผู้ใช้ <> ผู้ควบคุม
ป้อน Card reader
ลดเวลาโดยใช้ batching similar jobs
Automatic job sequencing - ควบคุมการย้ายงานหนึ่งไปอีกงานหนึ่งโดย
อัตโนมัติ
Resident monitor
– initial control in monitor
– ควบคุมการย้ายงาน
- เมื่อทำงานครบจะกลับมาที่ monitor
ปัญหา
– Monitor จะรู้ได้เกี่ยวกับงานได้อย่างไร (เช่น Fortran กับ
Assembly) หรือทำงานกับโปรแกรมใด?
– Monitor จะแยกงานได้อย่างไร
งาน 1 หรือ งาน 2 หรือ..?
ข้อมูลจากโปรแกรม?
วิธีการแก้
- ใช้ control cards
Spooling
Overlap I/O (ทำงานแบบเลื่อมล้ำกันได้)
– อ่านงานถัดไปจาก Card reader (job queue).
– ส่งผลลัพธ์ของงานที่แล้วจากดิสก์ไปยังเครื่องพิมพ์
Job pool - ที่เก็บงานต่าง ๆ ที่ทำงาน
Second Generation Systems
• 1956 -- 1965
• Transistors and batch systems
• Clear distinction between designers, builders, operators, programmers, and maintenance personnel
• I/O channel
• Read ahead / spooling
• Interrupts / exceptions
• Minimal protection
• Libraries / JCL
Third Generation Systems
• 1965 -- 1980
• ICs and Multiprogramming
• System 360 and S/370 family of computers
• Spooling (simultaneous peripheral operation on-line)
• Time sharing
• On-line storage for
– System programs
– User programs and data
– Program libraries
• Virtual memory
• Multiprocessor configurations
• MULTICS
Fourth Generation and Beyond
• Personal computers and workstations
• MS-DOS and Unix
• Massively parallel systems
– Pipelining
– Array processing / SIMD
– General multiprocessing / MIMD
– Symmetric multiprocessing / SMD
Any process and any thread can run on any available processor
• มีระบบ Computer networks (communication aspect) -- network operating systems
• ระบบ Distributed computing -- distributed operating systems
วันพุธที่ 27 สิงหาคม พ.ศ. 2551
สมัครสมาชิก:
ส่งความคิดเห็น (Atom)
ไม่มีความคิดเห็น:
แสดงความคิดเห็น