Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


December 1998

Windows NT and VMS: The Rest of the Story


RSS
Subscribe to Windows IT Pro | See More Windows NT 4.0 Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

The memory managers in NT and VMS are also similar. Both OSs implement virtual memory address maps that the system splits between the currently executing application and the kernel. Both NT and VMS rely heavily on memory-mapped files, especially for mapping the code for executing applications and implementing copy-on-write functionality (because of VAX hardware limitations, VMS provides less efficient copy on demand funtionality). Physical memory management in NT and VMS relies on demand-paged virtual memory. VMS's memory manager assigns each process upper and lower limits (called working sets) for the amount of physical memory the system can assign them. This feature compartmentalizes applications so that an application with heavy memory demands minimally affects other processes. NT's memory manager incorporates working sets, along with many subtleties of the VMS working-set tuning algorithms.

As with the process manager, notable differences exist between NT's and VMS's memory manager. VMS's Balance Set Manager moves entire processes' memory footprints out of memory to paging files and back to memory in response to the overall memory demands of the system. Microsoft did not carry this mechanism, known as swapping, into NT's Balance Set Manager, although some of NT's Balance Set Manager's secondary responsibilities are the same as the secondary responsibilities of VMS's Balance Set Manager.

NT's I/O Manager is closely based on VMS's I/O Manager. Both OS's I/O Manager support a layered-driver model throughout the device driver stacks for different device types and implements asynchronous packet-based I/O commands, and its device drivers dynamically load and unload. Stackable and loadable drivers make NT and VMS very extensible. Either OS can divide functionality among several device drivers, with each driver implementing a different abstraction level. For example, the system can insert a fault-tolerant disk driver between a file system driver and a disk driver. This configuration lets the fault-tolerant disk driver receive a request the system sends to one logical drive (e.g., the C drive), then send the request to multiple physical drives to implement mirroring or striping. Asynchronous I/O enables applications and the kernel subsystems to initiate device requests and work while the requests are in progress, rather than wait idly for the requests to complete. NT's device driver architecture and interrupt-request priority scheme are based on VMS. Descriptions of these aspects of the I/O Manager are applicable to both OSs with little variation.

As you can see by comparing Figure 2 and Figure 3, page 117, the Executive subsystems exhibit the most significant resemblance between VMS and NT. But many minor similarities exist in which it is clear that Microsoft derived NT's capabilities from VMS. For example, both NT and VMS represent resources as objects that the system manages through an Object Manager, which implements uniform reference counting and accounting. The Object Manager regulates resource allocation and calls the Executive subsystem functions that request notification of certain object operations. VMS object management is not formalized, like it is in NT, and the VMS Object Manager is just a loose connection of functions. Microsoft extended NT's Object Manager so that it provides a uniform naming model for all kernel resources.

NT's security subsystem is based on objects with discretionary access control lists. DACLs determine which users can perform various operations on those objects. Digital added a DACL enhancement to VMS's security model in version 4.0 in 1984. Therefore, VMS's security implementation is the predecessor to NT's. Microsoft even included systems tools similar to VMS's in NT, including the Performance Monitor, which is based on MONITOR, the extensible VMS performance monitor. VMS included a utility called BACKUP long before Microsoft developed NT's backup utility.

"Why the Fastest Chip Didn't Win" (Business Week, April 28, 1997) states that when Digital engineers noticed the similarities between VMS and NT, they brought their observations to senior management. Rather than suing, Digital cut a deal with Microsoft. In the summer of 1995, Digital announced Affinity for OpenVMS, a program that required Microsoft to help train Digital NT technicians, help promote NT and Open-VMS as two pieces of a three-tiered client/server networking solution, and promise to maintain NT support for the Alpha processor. Microsoft also paid Digital between 65 million and 100 million dollars.

The Evolution of NT and VMS
Although Microsoft presents NT as a homegrown OS, NT is actually much older than its official 1993 birthdate. NT contains architectural and design influences from another company's flagship OS. Interestingly, throughout the 1990s, Digital introduced many NT features to VMS, and Microsoft has added VMS developments to NT. For example, VMS featured native clustering support in 1984, and 64-bit memory and system APIs in 1996. Microsoft did not introduce clustering support to NT until late last year­and only on a limited scale­and several years might pass before Microsoft releases 64-bit NT. Reciprocally, Microsoft released NT's first version with support for kernel-mode threads, system-wide event logging, and a configuration database called the Registry. VMS introduced kernal-mode threads in VMS 7.0 in 1995, and VMS 7.2 will include NT-style event logging and a Registry.

The saga goes on. Now that Compaq has acquired Digital, will VMS continue to evolve, or will NT seal the fate of its predecessor? One thing is certain: NT will continue to grow, leaving its origins further and further behind.

End of Article

   Previous  1  2  [3]  Next  


Reader Comments
I enjoyed Mark Russinovich’s excellent “Windows NT and VMS: The Rest of the Story” (December 1998), which compared VMS and NT internals. I was hatched under VMS, and I’ve often found familiar widgets under the NT hood.
Like many manufacturing systems administrators, I was sucked into the vortex of Microsoft Office systems several years ago. Nevertheless, I must continue to provide PC access to VMS manu-
facturing files.
Do you remember which network operating system (NOS) you need to share VMS files with PC-land? (Hint: During this software’s golden era—–one Tuesday afternoon in 1992—–the software’s market share made Banyan VINES look like a sound investment.) OK, I’ll whisper it: “VMS Pathworks.”
Guess what? Thousands of VMS boxes that run manufacturing applications day and night still need Pathworks to share VMS files with a PC network. Does Compaq care? Don’t bet Grandpa’s bell-bottoms. Sure, we’ve seen Pathworks upgrades—–ones that work on only Alpha boxes running this week’s version of OpenAXP. What about all those VAX stations that Digital Equipment built to run forever?
What do administrators like me do now—–toss 10 development-years’ worth of production software in the bin and throw out our most reliable hardware? Or, dream wistfully that Compaq will develop a conscience before curtailing support for our old systems?<br>
--Alan Hodge

Alan Hodge August 06, 1999


As a <i>Windows NT Magazine</i> subscriber for the past 2 years, I thank you for the accurate, useful, and timely articles. Mark Russinovich’s December cover story “Windows NT and VMS: The Rest of the Story” has historical value, but this history is well known. This article seems either Microsoft-sponsored (trying to give credibility to NT by tracing its roots to DEC’s VMS and David Cutler) or akin to an academic research paper.
History cannot be changed. David and VMS are the origins of NT. But, who removed VMS’s stability from NT? What about NT’s equivalent of VMS’s Mount Verification (MV)? I am a systems administrator, and we have a VAX VMS and five NT 4.0 servers. The VAX VMS has run without a crash or problem for the past 4 years. Meanwhile, the NT servers have crashed several times in the first few months of use. Plenty of tweaking and adding extra hardware have decreased the number of crashes, but NT will never be like VMS. Will NT make it to its 20th anniversary, as VMS did in October 1998?<br>
--Kersi Marolia<br><br>

<i>Microsoft was unaware of the article until after the magazine went into print. In addition, the idea that Microsoft wants the general public to know that NT’s core is closely based on VMS is unlikely. Have you ever heard Microsoft advertise this link?
I’m not sure what you mean by “academic.” If you mean “of little practical value,” you’re correct. However, many people find the untold history of the OS interesting.
In the article, I try to clearly describe what NT takes from VMS: the core architecture, philosophy, and in some cases, even the algorithms. NT is still very young compared to VMS, and NT’s developers wrote a lot of the OS’s layered management and application support (e.g., the Win32 environment, the administrative tools, the device drivers) from scratch. The kernel has undergone a lot of tweaking and enhancement. I’m not going to make excuses for NT, but I’m also not going to make general statements about NT’s stability based on only personal experience. Without an academic (scientific) study, that conclusion is meaningless.<br>--Mark Russinovich</i>

Kersi Marolia August 06, 1999


At Last the truth is comming out about what sort of theft goes on inside the M$ Corp corridors... I am not going to say any more except that WindBlows will never regain it's strangle hold over the computing world The arrival of Linux was just the start of the onslaught against the M$ Corp

Pete

Pete Nikolic May 21, 2004


What was I thinking? The arrival of Linux has had little impact. VMS has a greater chance than Linux. :)

Pete Nikolic June 10, 2004


Fascinating. I've just started out learning about the WinNT setup, using the "Inside Windows NT" book. (I have to - I'm hoping to start developing stuff for the MS WinNT platform as well as the Linux/*BSD, and every little bit helps. (Mono and PNet) ;)

Now it looks as if it mightn't be such a bad idea to hunt down the VAX/VMS Internals and Data Structures book as well. Thanks for the info.

Wesley Parish July 04, 2004


This is very amusing and new to me. Linux was written from scratch yet Microsoft claims it might face crippling patent lawsuits. We now know this is laughable as the only company with a distant chance in hell of winning a lawsuit for damages against Linux was SCO, and we all know the laughing stalk they've become.

Windows NT on the other hand is a wholesale re-write of VMS, steals parts of OS2, and was written by the former employees of the people who wrote VMS in the first place! If anyone is ripe for a lawsuit then it is Microsoft.

I'm sure they've got their backs covered though, and if they don't then they could buy any threatening company out with their 50 Billion in cash. Except for IBM perhaps, that would be a clash of titans.

And to Pete Nikolic, yeah I guess you're right, Linux isn't a threat. That's probably why it continues marginalizing IIS into a niche and dominating the server market ;-)


Anonymous User February 08, 2005


http://www.euronet.nl/users/frankvw/index.html

Anonymous User February 22, 2005


The windows source code must be released to the public. Everyone than can laugh at the shoddy programming and stolen stuff in Winows NoTail.
Linux is better, bugs are fix faster, but still
new hardware support is sometimes a bit weird.
Still more stable than winows.

Anonymous User March 06, 2005 (Article Rating: )


Dear Anonymous User -March 06, 2005,

It already has been, look up "Windows 2000 Source" in Emule. Some Russian hackers stole the sourcecode and released it - stealing Microsoft's source is like stealing candy from a baby. It's filled with profanities and complaints about how terrible code is, quite amusing really.

Anonymous User March 08, 2005 (Article Rating: )


Fantastic article. I have used both VMS and Win/NT intimately for the last 20 years, and Mark's article is right on the money.

Anonymous User April 13, 2005 (Article Rating: )


 See More Comments  1   2 

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
WinInfo Short Takes: Week of November 9, 2009

An often irreverent look at some of the week's other news, including some more Windows 7 sales momentum, some Sophos stupidity, Microsoft's cloud computing self-loathing, more whining from the browser makers, Zoho's "Fake Office," and much, much more ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

Windows 7 Sets Sales Record

Microsoft CEO Steve Ballmer described Windows 7's first ten days of sales as "fantastic" while in Japan yesterday. ...


Related Events WinConnections and Microsoft® Exchange Connections

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement