J. B. Chen, Yasuhiro Endo, Kee Chan, David Mazières, Antonio Dias, M. Seltzer, Michael D. Smith
{"title":"The measured performance of personal computer operating systems","authors":"J. B. Chen, Yasuhiro Endo, Kee Chan, David Mazières, Antonio Dias, M. Seltzer, Michael D. Smith","doi":"10.1145/224056.224079","DOIUrl":null,"url":null,"abstract":"This paper presents a comparative study of the performance of three operating systems that run on the personal computer architecture derived from the IBM-PC. The operating systems, Windows for Workgroups, Windows NT, and NetBSD (a freely available variant of the UNIX operating system), cover a broad range of system functionality and user requirements, from a single address space model to full protection with preemptive multi-tasking. Our measurements were enabled by hardware counters in Intel's Pentium processor that permit measurement of a broad range of processor events including instruction counts and on-chip cache miss counts. We used both microbenchmarks, which expose specific differences between the systems, and application workloads, which provide an indication of expected end-to-end performance. Our microbenchmark results show that accessing system functionality is often more expensive in Windows for Workgroups than in the other two systems due to frequent changes in machine mode and the use of system call hooks. When running native applications, Windows NT is more efficient than Windows, but it incurs overhead similar to that of a microkernel since its application interface (the Win32 API) is implemented as a user-level server. Overall, system functionality can be accessed most efficiently in NetBSD ; we attribute this to its monolithic structure, and to the absence of the complications created by hardware backwards compatibility requirements in the other systems. Measurements of application performance show that although the impact of these differences is significant in terms of instruction counts and other hardware events (often a factor of 2 to 7 difference between the systems), overall performance is sometimes determined by the functionality provided by specific subsystems, such as the graphics subsystem or the file system buffer cache.","PeriodicalId":168455,"journal":{"name":"Proceedings of the fifteenth ACM symposium on Operating systems principles","volume":"29-32 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1995-12-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"67","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the fifteenth ACM symposium on Operating systems principles","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/224056.224079","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 67
Abstract
This paper presents a comparative study of the performance of three operating systems that run on the personal computer architecture derived from the IBM-PC. The operating systems, Windows for Workgroups, Windows NT, and NetBSD (a freely available variant of the UNIX operating system), cover a broad range of system functionality and user requirements, from a single address space model to full protection with preemptive multi-tasking. Our measurements were enabled by hardware counters in Intel's Pentium processor that permit measurement of a broad range of processor events including instruction counts and on-chip cache miss counts. We used both microbenchmarks, which expose specific differences between the systems, and application workloads, which provide an indication of expected end-to-end performance. Our microbenchmark results show that accessing system functionality is often more expensive in Windows for Workgroups than in the other two systems due to frequent changes in machine mode and the use of system call hooks. When running native applications, Windows NT is more efficient than Windows, but it incurs overhead similar to that of a microkernel since its application interface (the Win32 API) is implemented as a user-level server. Overall, system functionality can be accessed most efficiently in NetBSD ; we attribute this to its monolithic structure, and to the absence of the complications created by hardware backwards compatibility requirements in the other systems. Measurements of application performance show that although the impact of these differences is significant in terms of instruction counts and other hardware events (often a factor of 2 to 7 difference between the systems), overall performance is sometimes determined by the functionality provided by specific subsystems, such as the graphics subsystem or the file system buffer cache.
本文对运行在IBM-PC派生的个人计算机架构上的三种操作系统的性能进行了比较研究。Windows for Workgroups、Windows NT和NetBSD(一种免费的UNIX操作系统变体)这些操作系统涵盖了广泛的系统功能和用户需求,从单个地址空间模型到具有抢占式多任务的全面保护。我们的测量是由英特尔奔腾处理器中的硬件计数器实现的,它允许测量广泛的处理器事件,包括指令计数和片上缓存丢失计数。我们使用了微基准测试和应用程序工作负载,前者暴露了系统之间的特定差异,后者提供了预期的端到端性能指示。我们的微基准测试结果表明,由于机器模式的频繁变化和系统调用钩子的使用,在Windows for Workgroups中访问系统功能通常比在其他两个系统中更昂贵。在运行本机应用程序时,Windows NT比Windows更高效,但由于其应用程序接口(Win32 API)是作为用户级服务器实现的,因此它会产生与微内核类似的开销。总的来说,在NetBSD中可以最有效地访问系统功能;我们将此归因于它的整体结构,并且没有其他系统中硬件向后兼容性要求所产生的复杂性。对应用程序性能的测量表明,尽管这些差异在指令计数和其他硬件事件方面的影响是显著的(系统之间的差异通常是2到7倍),但总体性能有时是由特定子系统(如图形子系统或文件系统缓冲区缓存)提供的功能决定的。