Process synchronization is a generic term for data access synchronization and control synchronization A race condition occurs when actions of concurrent processes may have unexpected consequences Avoided through mutual exclusion Avoidance of race conditions is a primary issue in process synchronization Critical section: section of code that acc...
64 trang | Chia sẻ: nguyenlam99 | Ngày: 10/01/2019 | Lượt xem: 1037 | Lượt tải: 0
A thread is an alternative model of execution of a program Overhead of switching between threads is much less than the overhead of switching between processes Three models of threads: Kernel-level threads User-level threads Hybrid threads Thread models have different implications for switching overhead, concurrency, and parallelism
48 trang | Chia sẻ: nguyenlam99 | Ngày: 10/01/2019 | Lượt xem: 1049 | Lượt tải: 0
Layered design used the principle of abstraction to control complexity of designing the OS The virtual machine operating system (VM OS) supported operation of several OSs on a computer simultaneously Create a virtual machine for each user In a kernel-based design, kernel is the core of the OS, which invokes the nonkernel routines to implement op...
35 trang | Chia sẻ: nguyenlam99 | Ngày: 10/01/2019 | Lượt xem: 1013 | Lượt tải: 0
Evolution (continued) Real-time operating systems Priority-based scheduling and deadline-aware scheduling Distributed operating system Lets programs share resources across network Modern operating system Modern computing environment has elements of all the classic computing environments Uses different techniques for different applications
35 trang | Chia sẻ: nguyenlam99 | Ngày: 10/01/2019 | Lượt xem: 989 | Lượt tải: 0
Memory hierarchy provides the same effect as a fast and large memory, at a low cost Contains: A very fast and small cache memory A slower and larger RAM A disk Effective memory access time depends on cache hit ratio I/O system uses direct memory access (DMA) to permit CPU and I/O system to operate independently
33 trang | Chia sẻ: nguyenlam99 | Ngày: 10/01/2019 | Lượt xem: 971 | Lượt tải: 0
OS services programs simultaneously by allocating some of the resources to each program and interleaving their execution on the CPU Requirements to ensure effectiveness of computing: Efficient use User convenience Non-interference Primary functions Management of programs Management of resources Security and protection
30 trang | Chia sẻ: nguyenlam99 | Ngày: 10/01/2019 | Lượt xem: 1050 | Lượt tải: 0
Tóm tắt • Có 3 loại phần mềm: hệ thống, ứng dụng, phát triển ứng dụng. • 4 giai đoạn phát triển phần mềm: đặc tả, phát triển, kiểm thử và cải tiến. • 5 cách phân loại hệ điều hành: xử lý theo lô, xử lý theo lô đa chương, chia sẻ thời gian, song song, phân tán, xử lý thời gian thực. • 2 hệ thống hệ điều hành điển hình: Hệ điều hành cho...
55 trang | Chia sẻ: nguyenlam99 | Ngày: 10/01/2019 | Lượt xem: 1279 | Lượt tải: 0
Kiến thức: Cung cấp cho sinh viên các kiến thức cơ bản về cơ sở dữ liệu phân tán, các vấn đề cần phải giải quyết trong môi trường cơ sở dữ liệu phân tán. - Kỹ năng: Xây dựng các chương trình ứng dụng của cơ sở dữ liệu phân tán. - Thái độ học tập: - Các mục tiêu khác: o Góp phần phát triển kỹ năng cộng tác, làm việc nhóm o Góp phần phát triển...
8 trang | Chia sẻ: nguyenlam99 | Ngày: 10/01/2019 | Lượt xem: 1548 | Lượt tải: 0
- Các bài tập về nhà nếu bị phát hiện là sao chép của nhau sẽ bị 0 điểm quá trình, nếu ở mức độ nghiêm trọng (cho nhiều người chép – 3 người giống nhau trở lên) sẽ bị cấm thi cuối kỳ cả người sử dụng bài chép và người cho chép bài. - Sinh viên không hoàn thành nhi ệm vụ (mục 9) thì bị cấm thi. - Sinh viên thi hộ thì cả 2 người – thi hộ và nhờ t...
9 trang | Chia sẻ: nguyenlam99 | Ngày: 10/01/2019 | Lượt xem: 1207 | Lượt tải: 0
Môn học này giúp sinh viên: - Biết được ảnh hưởng của lý thuyết thông tin trong các lĩnh vực như thống kê, học máy, kinh tế, v.v. - Hiểu các khái niệm cơ bản của lý thuyết thông tin như entropy, thông tin tương hỗ - Có thể vận dụng để giải các bài toán cần xác định lượng tin - Hiểu mô hình truyền thông theo quan điểm của Shannon
9 trang | Chia sẻ: nguyenlam99 | Ngày: 10/01/2019 | Lượt xem: 1349 | Lượt tải: 0