|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/os-project-lmm/
课程评论:没有评论
课程名称:操作系统项目 - 在C语言中开发堆内存管理器 课程概述:该课程旨在回答以下面试问题: 1. 如何设计自己的堆内存管理器? 2. 堆内存管理采用什么数据结构? 3. 为一个进程分配内存的时间复杂度是多大? 4. free() 如何知道需要释放多少内存? 5. 如何消除内存碎片? 本课程聚焦于设计和实现自己的内存分配方案,以解决内存碎片问题,监控内存使用情况和统计数据,并捕捉内存泄漏。建议与教授沟通,将此项目作为操作系统研讨会项目来进行。这是一个系统项目,通过提升对系统内存管理的知识来给面试官留下深刻印象。 课程内容包括设计和实现一个库,该库负责为用户空间进程分配和释放内存,同时在背后处理堆内存的内部和外部碎片问题。我们已经熟悉堆的内部和外部碎片问题,这些问题在进程执行期间会逐渐加重,使得堆内存的很多部分无法使用。许多公司在行业中实施此方案,以解决碎片问题,并加快对进程的内存(释放)的分配机制。 本课程为纯代码型课程,在每个阶段,您都需要编写代码来实现项目。
This course attempts to answer the following INTERVIEW QUESTIONS:1. How will you design your own heap Memory Manager?2. What is the data structure employed for Heap Memory Management?3. What is the time complexity to allocate memory to a process?4. How free( ) knows how much memory to free?5. How to get rid of Memory Fragmentation?This course is about - "Design and Implement your own Memory Allocation Scheme to address the problem of Memory Fragmentation, see Memory Usage and statistics and Catch Memory Leaks. Talk to your prof and ask to do this project as your Operating Seminar Project". Do this yet another System Project and Impress the interviewer with your knowledge of System Memory Management.In this course, we shall design and implement a scheme in the form of a Library that takes the responsibility to allocate & de-allocate memory to your userspace process while taking care of the problems of Heap internal and external fragmentation behind the scenes. We already are familiar with the problem of Heap internal and external fragmentation which grows and magnifies over a period of time when a process is in execution and make much of the part of Heap memory unusable. Many companies implement this scheme in the industry in userspace itself to get rid of Fragmentation problems and also speed up the mechanism of Memory (de)allocation to a process.This is a pure coding based course and at every stage of the course, you need to write a code to implement the project.