Microsoft shows off leaner kernel for Windows 7

Smaller is better for adding virtualization to the OS, says analyst

Microsoft has 200 programmers working on slimming down the Windows kernel for the next version of the operating system, a company engineer revealed in a presentation last weekend at the University of Illinois.

"A lot of people think of Windows as this really large, bloated operating system, and that may be a fair characterization, I have to admit," said Eric Traut, who holds the title of distinguished engineer at Microsoft. "[So] we created what we call MinWin. It's still bigger than I'd like it to be, but we've taken a shot at really stripping out all of the layers above and making sure that we had a clean architectural layer there."

Traut talked about MinWin last Saturday at a conference on computing sponsored by the university's student-led Association for Computing Machinery. Much of the hourlong presentation was taken up with a discussion of Microsoft's virtualization efforts -- Traut's specialty.

Traut showed off MinWin and bragged about how much leaner the microkernel is than the current core of Windows. While Vista uses 5,000 files for its 4GB core, MinWin weighs in at just 100 files and 25MB.

MinWin is so small that it lacks a graphical subsystem. When Traut booted MinWin, for example, its start-up screen showed the standard Windows flag logo, but the design was built from ASCII characters, a technique discarded decades ago by everyone except spammers.

The microkernel will be used only internally and won't, as Traut put it, be "productized." Instead, it will be the basis of all upcoming versions of Windows, including the next-generation edition now saddled with the code name Windows 7. Microsoft has given out almost no information about that operating system other than a delivery timeline that puts its final release in 2010.

"We'll be using [MinWin] to build all the products based on Windows," said Traut. "It's not just the OS that's running on many laptops in this room, it's also the OS used for media centers, for servers, for small embedded devices."

Microsoft has been knocked in the past for Windows' poor performance and its large size, two criticisms that have been leveled against Vista since its release earlier this year. By stripping the current kernel to the bare minimum -- Traut's MinWin -- and then using that as the code base for Windows 7, Microsoft is trying to reduce the operating system's memory footprint and boost its speed at the same time.

It's probably doing so for good reason, said Michael Cherry, an analyst at Directions on Microsoft, a Kirkland, Wash.-based research company. "This sounds like it's for the new hypervisor Microsoft's been talking about," said Cherry. "It really looks like [in the future] we'll be running some thin hypervisor layer first and then the OS on top of that. So anything Microsoft can do to make that first layer as small as they can is good."

A hypervisor, also called a virtualization manager, is software that allows multiple operating systems to share a single hardware processor. Popular software-based hypervisors include Microsoft's own Virtual PC and VMware's VMware Workstation. Microsoft has been talking up hypervisors and integrating the technology into Windows for years.

"The problem for Microsoft has always been trying to figure out the right balance between putting things in the kernel for performance reasons and pulling them out for stability reasons," said Cherry. "The question here, though, is, can they discipline themselves to not put things into this new microkernel?"

A video of Traut's hour-long talk can be downloaded from or viewed on the conference Web site.

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.
Gregg Keizer

Gregg Keizer

Computerworld
Show Comments

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Jack Jeffries

MSI GS75

As the Maserati or BMW of laptops, it would fit perfectly in the hands of a professional needing firepower under the hood, sophistication and class on the surface, and gaming prowess (sports mode if you will) in between.

Taylor Carr

MSI PS63

The MSI PS63 is an amazing laptop and I would definitely consider buying one in the future.

Christopher Low

Brother RJ-4230B

This small mobile printer is exactly what I need for invoicing and other jobs such as sending fellow tradesman details or step-by-step instructions that I can easily print off from my phone or the Web.

Aysha Strobbe

Microsoft Office 365/HP Spectre x360

Microsoft Office continues to make a student’s life that little bit easier by offering reliable, easy to use, time-saving functionality, while continuing to develop new features that further enhance what is already a formidable collection of applications

Michael Hargreaves

Microsoft Office 365/Dell XPS 15 2-in-1

I’d recommend a Dell XPS 15 2-in-1 and the new Windows 10 to anyone who needs to get serious work done (before you kick back on your couch with your favourite Netflix show.)

Maryellen Rose George

Brother PT-P750W

It’s useful for office tasks as well as pragmatic labelling of equipment and storage – just don’t get too excited and label everything in sight!

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?