Microsoft Highlights Changes to the Windows Kernel

May 17th, 2007

At WinHEC, Microsoft technical fellow Mark Russinovich discussed, among other things, how uniprocessor kernel variants were now gone from Windows Server 2008, which reduces the need for downtime.

LAS VEGAS - Attendees at Microsoft's Windows Hardware Engineering Conference here got an in-depth and deeply technical keynote outlining the changes to the Windows kernel and other key areas, and how partners can take advantage of these.

In his presentation on May 16, Mark Russinovich, a technical fellow in Microsoft's platform and services division and the third keynoter of the day, talked about how uniprocessor kernel variants were now gone from Windows Server 2008, which reduces the need for downtime by supporting hardware configuration changes without the need to reboot the system.

The new server product, which is the basis for Microsoft's new virtualization offering, also introduced a new common infrastructure called WHEA (Windows Hardware Error Architecture).

On the time accounting front, Russinovitch said that Windows previously accounted for CPU time based on the interval clock timer and that thread quantum expiration was not always fair.

"Windows Server 2008 now reads the Time Stamp Counter at the context switch, which allows for more accurate quantum reporting," he said.

Other infrastructure changes include an enhanced thread pool mechanism, new synchronization APIs, private namespaces and hard resource quotas.

"SMB is the original Windows remote file system protocol, but it could not adapt to the new NTFS features and was not designed for today's large data sizes. As such, SMB2 has been introduced in Windows Server 2008," Russinovitch said.

The server product also defers I/O completion until the thread pulls the I/O off the completion port, which avoids the context switch and improves the performance with no change to the applications, he said.

Windows Server 2008 also introduces I/O prioritization, based on the priority of the issuing thread or the explicitly set I/O priority.

"Also, in 32-bit Windows Server 2008, virtual memory is assigned as needed, with kernel page tables allocated on demand instead of at boot time. Kernel stack usage is also reduced through stack jumping. This all supports more users on terminal services," he said.

The product also brings memory manager performance improvements, with fewer and larger disk reads for page faults and system cache readahead. NUMA enhancements include more memory allocations being NUMA aware and now the I/O system directs interrupt completion to the node that initiated I/O.

The ideal node is used more effectively for process memory allocations and the new NUMA APIs allow applications to specify the preferred node number for memory applications and file mapping, Russinovitch said.

With regard to startup and shutdown enhancements, there is now parallel session creation in Windows Server 2008 rather than serial session creation, which was how it was done in previous versions of the product, he said.

Windows Server 2008 also has a clean service shutdown, which allows the system more time to shut down. Services can now request a pre-shutdown notification and, after these services stop, the system performs Windows XP-like shutdown, he said.

"This is also the first server system that is completely bug free," Russinovitch joked, adding that it was the third-party applications that could cause it to crash. But the new product is better at handling process crashes, with unhandled exceptions sending a message to the Windows Error Reporting service and all process crashes now getting recorded, he said.

"In summary, there are lots of exciting kernel changes for performance, scalabilty, reliability and security," he said.

Copyright 2007 by Ziff Davis Media, Distributed by United Press International


print this article email this article download pdf blog this article bookmark this article     Digg this Stumble it share on Facebook share on Reddit add to delicious save to Yahoo! bookmarks
3.5/5 after 16 votes


May 17th, 2007 all stories
Technology / Software

Comments: 0
Rank: 3.5/5 after 16 votes

  • Stumble this up

  • Digg this

  • Share it:
  • share on Facebook
  • share on MySpace
  • share on Slashdot
  • rss-newsfeed
  • share on Google
  • share on Reddit
  • add to delicious
  • save to Yahoo! bookmarks
  • share on Windows Live
  • Add to Mixx!
Rating: 3.5/5 after 16 votes

  • Related Stories

  • Web browser enters a golden age
    created Jul 01, 2009 | popularity not rated yet | comments 0
  • Microsoft offers line of entry-level servers
    created Apr 02, 2009 | popularity not rated yet | comments 0
  • Conficker worm digs in around the world
    created Apr 01, 2009 | popularity not rated yet | comments 0
  • Green technology is on the rise, despite recession
    created Dec 31, 2008 | popularity not rated yet | comments 0
  • Addonics Announces their Network Attached Storage Adapter
    created Dec 11, 2008 | popularity not rated yet | comments 0

Tags


  • Physicists Demonstrate Quantum Memory with Matter Qubits
    Physicists Demonstrate Quantum Memory with Matter Qubits
    Physics / General Physics
    created Jul 03, 2009 | popularity 4.4 / 5 (17) | comments 1
  • 'Holey' Nanosheets for Wastewater Dye Removal
    Nanotechnology / Nanomaterials
    created Jul 01, 2009 | popularity 5 / 5 (5) | comments 1
  • Jellyfish Robot Swims Like its Biological Counterpart
    Jellyfish Robot Swims Like its Biological Counterpart
    Electronics / Robotics
    created Jun 26, 2009 | popularity 4.4 / 5 (8) | comments 1
  • Could Maxwell's Demon Exist in Nanoscale Systems?
    Could Maxwell's Demon Exist in Nanoscale Systems?
    Physics / General Physics
    created Jun 24, 2009 | popularity 4.4 / 5 (18) | comments 29
  • Living Safely with Robots, Beyond Asimov's Laws
    Living Safely with Robots, Beyond Asimov's Laws
    Electronics / Robotics
    created Jun 22, 2009 | popularity 4.6 / 5 (53) | comments 40
  • Other News

    EMC raises offer for Data Domain

    Technology / Business

    created 19 minutes ago | popularity not rated yet | comments 0

    Computer storage giant EMC raised its offer to purchase data storage firm Data Domain on Monday in a bid to top a rival offer for the company by data management firm NetApp.


    Translate this: 'cognition-strength interfaces'

    Translate this: 'cognition-strength interfaces'

    Technology / Engineering

    created 2 hours ago | popularity 5 / 5 (1) | comments 0

    (PhysOrg.com) -- A highly ambitious European project used basic cognitive function, eye-tracking and keystroke logging as the starting point for the study of human-computer interaction for translation. It ...


    HTC Touch

    Taiwan's HTC earnings edge down in Q2

    Technology / Business

    created 5 hours ago | popularity not rated yet | comments 0

    HTC Corp, Taiwan's leading smartphone maker, said Monday its net profit in the second quarter was down almost two percent from a year earlier.


    Samsung announces earnings estimate (AP)

    Samsung announces earnings estimate

    Technology / Business

    created 5 hours ago | popularity not rated yet | comments 0

    (AP) -- Samsung Electronics Co., the world's biggest manufacturer of memory chips, announced quarterly earnings estimates for the first time Monday, saying it hopes to reduce market confusion and speculation ...


    DoCoMo invests $45.5M in US mobile video firm

    Technology / Business

    created 3 hours ago | popularity not rated yet | comments 0

    (AP) -- NTT DoCoMo, Japan's largest mobile phone operator, said Monday it spent $45.5 million to take a 35 percent share in a U.S. company that makes multimedia technology for its mobile phones.