Posted By: Charles | Jan 23rd @ 11:39 AM | 74,497 Views | 15 Comments
At any given point, Windows is executing a lot of code. Some of this code runs in the background as services. In pre Windows 7 operating systems some services were set to auto run even though the configuration of the system (installed apps, hardware, etc) did not warrant them running. This had a four-fold potential effect:

1) Windows might start up slower as the service fires up
2) Users may experience sluggish performance as the service runs taking up processing and memory resources
3) Windows might take a long time to shut down as the service shuts down, unwinding itself and cleaning up it's resources
4) The surface area for code-level security breaches is larger(though, since Vista, most services run in a restricted security context)

Chittur Subbaraman, Windows kernel developer extraordinaire, and team spent a great deal of time thinking about and rectifying these problems by re-architecting the Windows 7 Service Controller. They also identified services that don't need to auto run (like a TabletPC Pen service that need not ever run on a desktop (non-Tablet) machine by default). But they went much further than simply figuring out which services can be set to manual start-up state in Windows 7. They added a new feature for service developers based on the trigger pattern: services can be started and shut down via triggers - this means developers are able to specify programmatically when a service needs to start or stop. This allows Wndows to control services in a much more dynamic way so less code has to run in any given user session. The Service Controller monitors and reacts to trigger events as opposed to just running services marked as auto when the system starts. Less code running in the background on Windows means more resources available for foregrond processing, faster start up of sessions and faster shut down.

The great work in the Windows 7 service controller by Chittur and team has a direct impact on the performance of Windows 7. Tune in to learn about the details and history of the service controller (and Task Manager).

Here are some great resources for you to read to get the details behind all of this great engineering in the background processing mechanisms deep inside Windows 7. 

·White paper on Designing Efficient Background Processes.

·PDC talk on Designing Efficient Background Processes.

Rating:
3
0
aL_
aL_
Rx ftw
both wmv and wmv-high links are dead :/
aL_
aL_
Rx ftw
on this and most c9 posts in the last few days i get a 'cant dispplay page' on the wmv-high and a never ending page load for the vmv version. the SL player seems to work most of the time though Smiley sometimes it appears to be linking to the wmv version though O_o
aL_
aL_
Rx ftw
oh, nevermind, tried on another box (vista64 ie8b2) and it works fine Smiley i still get nothing win this (win7 32bit ie8b2) though..
im gonna look through the security settings and see if i find anything
Are you using kaspersky anti-virus software with your win7? I noticed it is little bit dodgy. If yes you should configure your anti-spy and web av or change to avg Smiley i had trouble with internet connection on win7 as well but once i configured kaspersy it worked fine.
Definitely a great video Charles. It gives a nice insight into how services and service management is becomming smarter in Windows 7.
Microsoft Communities