*
Quick Links|Home|Worldwide
Microsoft*
Search for


Asia Pacific University Relation

WinCore Logo

Windows Core Teaching Resource Kit (TRK)


Introduction

TRK Professors
Under the Windows Core theme project, MSRA University Relations has been working with the faculties across China in the past several years for curriculum development by leveraging the Windows Core technologies, aiming to help universities across the country developing advanced operating system (OS) curriculum, and to enhance the OS course quality, by bring in real-world OS source code and examples that Windows Core (WRK/CRK) offers.

From 2006 to 2007, a group of leading OS professors across China were sponsored by the MSRA UR Windows Core theme project funding, as the pioneering professors to blaze the trails of this effort.  Lead by professor CHEN Xiangqun of Peking University, they joined effort together in a close research collaboration to study and exam the technology features and resources offered by WRK/CRK in the Windows Academic Program, and experimented in bringing the resources to the OS curriculum they have been teaching. Their researches in the Windows Core technology for OS curriculum development, lead to many insights and suggestions on how to enhancing the OS course by leveraging WRK/CRK.  In early 2008, MSRA University Relations worked with these pioneering professors to package their research results together, and produced the following Windows Core Teaching Resource Kit (TRK).

The TRK is a set of documents and sample source code, to help OS professors everywhere to better leverage the Windows Core WRK/CRK, by offering guidelines of system setup for building custom OS, OS source code tracing, system property data observing, and runtime analysis tools. Together, the TRK offers an unique resources to assist other OS professors in bringing real-world examples and hands-on experiments into the OS courses, to help elevating the OS course teaching quality and content diversity.  

As the sponsor for this project, MSRA University Relations hereby present and share the results from the China Windows Core pioneering professors with the academic community.



 The Pioneering Professors Who Contributed to TRK

CHEN Xiangqun

Prof. Chen Xiangqun
Peking University
WangLei

Associate Prof. Lei Wang
 Beijing University of Aeronautics and Astronautics
SHI_Guangshun

Associate Prof. Shi Guangshun
NanKai University

ChenYu

Associate Prof. Chen Yu
Tsinghua University
ChenYu

Associate Prof. Xiang Yong
Tsinghua University
ChenYu

Prof. Meng Xiangwu
Beijing University of Posts and telecommunications
 


Teaching Resource Kit (TRK) Content Summary

WRK (Windows Research Kernel) is part of Windows kernel codes that Microsoft discloses to universities. Based on the WRK source code analysis, we will give the specific instruction of OS experiments based on WRK, which includes the requirements of experiments, format of students report, experiments guideline, reference solutions and suggestion for the experiment further development. The experiments cover process management, processor scheduling, and memory management. Students can grasp how system configuration parameters have influence on system behavior and performance from the demos. Each experiment has difficulties tiers, the teacher and students can follow these experiments along their own time and competence .These hand-on labs to guide students to practice after class. Students are also encouraged to replace some algorithms in Windows by their own code.



 

TRK Cases & Resources

 

TRK Case 1: Working Set
By Associate Professor WANG Lei, Beihang University

Introduction:

Working set is a very important concept in memory management. Windows system often divides the working sets into process working set and kernel working set, respectively used to trace the physical memory usage of each process and kernel.
Three experiments are set in this section: analysis experiment on page replacement algorithm of working set, algorithm modification experiment, and experiment on writing application verification algorithm.

  • Experiment 1: Reading Codes - Page Replacement Algorithm Analysis
  • Experiment 2: Modification of Page Replacement Algorithm
  • Experiment 3: Verification of Page Replacement Algorithm

Download PDF document


TRK Case 2: Processor Scheduling
By Associate Professor XIANG Yong and Associate Professor CHEN Yu, Tsinghua University

Introduction:
In this experiment, our tasks are to understand data structures related to processes and threads in Windows operating system kernel by analyzing WRK source code; get user-defined tracing information from kernel by modifying some system call interface; obtain processor scheduling information by adding debugging code in WRK; design applications for testing, trace the state change of its runtime, and explain the cause for state change.

Download PDF document
Download source code


TRK Case 3: Inter-Process Communication (IPC)
By Associate Professor SHI Guangshun, Nankai University

Introduction:
Inter-Process Communication plays an important role in the process management of time-sharing operating systems. It is especially important for Windows, which is the tightly coupled operating system which supports symmetrical multi-processing (SMP). In Windows, the kernel provides various schemes to avoid modification of the same data structure by two threads at the same time. The following 4 practice projects are designed for the purpose of better understanding the solutions for Inter-Process Communication (IPC) problems in Windows operating systems.

  • Requirement 1: Reading Code – Synchronization/Mutex Object Management in WRK
  • Requirement 2: Online Debug – Check the Wait Queue in WRK
  • Requirement 3: Implementation and Debug of the Producer-Consumer Problem on WRK Platform
  • Requirement 4: Implementation and Debug of the Reader-Writer Problem on a WRK Platform

Download PDF document
Download source code


TRK Case 4: Process and Thread management
By Professor MENG Xiangwu, Beijing University of Posts and Telecommunications

Introduction:
In order to analyze the process and thread management, we must deep understand their data structures. This analysis aims at understanding the internal working of the NTOS kernel on process management. Through the experiment, the students will master the debug environment of the WRK and the management of the process and the thread of the kernel of the Windows operating system. During the experiment, students can master some useful debug techniques and knowledge about the process and the thread.

Download PDF document



©2008 Microsoft Corporation. All rights reserved. Terms of Use |Trademarks |Privacy Statement