Slashdot Mirror


Next Windows To Get Multicore Redesign

eldavojohn writes "A Microsoft executive announced that the next Windows will be fundamentally redesigned to handle the numerous cores of present and future processors. The article notes that the NT technology underneath Vista has been able to take advantage of multiple processors since 1993, and can now handle 32 or 64 cores. And since Microsoft completely rewrote the 20-year-old GDI/GDI+ model for Vista, what more can (or should) they parallelize? It will be interesting to see how Microsoft tackles the race conditions and deadlocks that come with pervasively multithreaded software and in the past complicated attempts (like that of BeOS) to utilize multiple CPUs. Do you think it's it a smart move to further complicate an operating system to take advantage of multiple cores, or should Microsoft stick to its knitting while applications take advantage of (possibly) more resources?"

25 of 417 comments (clear)

  1. Think of the licensing... by Bazman · · Score: 5, Funny

    They're going to aren't they? Windows Vista '09 Multicore Edition, only valid for up to 16 cores, Windows Vista '09 Multicore Extreme Edition, 16-24 cores...

    And so it goes.

    1. Re:Think of the licensing... by morgan_greywolf · · Score: 5, Funny

      Also known as Vista ME and Vista MEE. For up to 64 cores running in a portable computing environment, you need Vista Multicore Ultimate Laptop Edition (Vista MULE). Especially useful for drug smuggling.

    2. Re:Think of the licensing... by jimicus · · Score: 4, Informative

      I've no idea why you've been modded "Funny". IIRC, NT4 was licensed in exactly this way.

  2. So... 6+ years? by andrewd18 · · Score: 5, Funny

    I can't wait - an OS designed through-and-through for multiple cores, and it's only six or more years away!

    1. Re:So... 6+ years? by pipatron · · Score: 4, Funny

      Whooo ooo ooosh!

      --
      c++; /* this makes c bigger but returns the old value */
    2. Re:So... 6+ years? by JFitzsimmons · · Score: 4, Funny

      Your sarcasm upgrade will be arriving in between 3 and 6 business years.

      --
      Beware he who would deny you access to information, for in his heart he dreams himself your master. -Anonymous
  3. Oh great... by jackb_guppy · · Score: 5, Insightful

    Now we all will have buy to 8core machines with 16G memory as a minimum model, based on what just happened with Vista.

    How is that helping their customers? Oh yeah, DELL is their customer, not us.

  4. Multi-processing in general by Galen+Wolffit · · Score: 5, Interesting

    There are three issues in multi-processor programming.
    (1) OS and language support in the form of threading models
    (2) OS and language support in the form of scheduling algorithms
    (2) Application support in the form of using those threading models to develop program components that can run concurrently.

    Let Microsoft focus on #1 and #2, and application developers focus on #3. The OS should not, IMHO, try to take a program that is not written to take advantage of multiple processors, and run it in a concurrent environment. That's just asking for trouble!

    Advanced threading models that allow application developers better control over how their threads are executed, and scheduling algorithms that distribute threads across the multiple cores and processors, will pave the way for application developers to write applications that can truly benefit from a multi-core environment.

    As an application developer, one of the biggest problems I've encountered in developing multi-threaded applications is the ability to easily control what can run concurrently, and what can't. I have almost no ability to tell the operating system which threads I want to run concurrently, and which I want it to time-share.

    Let Microsoft, and language developers, focus on the first two tasks. Make the tools available to application developers, and let application developers take advantage of those tools.

    1. Re:Multi-processing in general by T-Ranger · · Score: 5, Funny

      I can see you were writing up your list there in parallel. And you have some concurrency issues, I guess, with your system to hand out labels.

  5. But will... by FrankSchwab · · Score: 4, Insightful

    sticking in a DVD still hang Explorer for the 5-10 seconds it takes to spin up and read the TOC?
    How many years has Windows had this obvious, annoying flaw?
    /frank

    --
    And the worms ate into his brain.
  6. Re:Um... by Ctrl-Z · · Score: 4, Insightful

    Right then. So you agree that they fundamentally rewrote Vista.

    --
    www.timcoleman.com is a total waste of your time. Never go there.
  7. I can't be the only one ... by LordKaT · · Score: 4, Funny

    ... that read "parallelize" as "paralyze"

  8. What about the adoption of 64-bit? by therufus · · Score: 5, Insightful

    Why bother talking about multi core supporting operating systems when we still haven't embraced 64-bit technology yet. Why bother pushing for a new technology when the current 'new' technology hasn't even been implemented yet. IMHO, Microsoft should have made Vista 64-bit only and kept XP alive for the 32-bit people who don't want to migrate. This would force people to write 64-bit drivers and software in order to be on 'average Joe's' new PC. Instead, they've done what they've been doing for the past 30 years, compromising due to lack of adaptation.

    Now I'm no supporter of Microsoft. I personally hate them. But you have to see where I'm coming from.

    I recently built a new PC for my parents. It was a simple box with a Sempron 3000, 1gb DDR, 80Gb HDD, etc. It was all 64-bit compatible so I though Vista Home Premium 64-bit would be the best way to go. Their scanner isn't supported, their antivirus isn't supported, and the devices and software they use that DO work on Vista, are all running in 32-bit mode because there is no equivalent for 64-bit.

    Please lets implement the great technology we have before concentrating on the future.

    --
    You moved your mouse. Please restart Windows for changes to take effect.
    1. Re:What about the adoption of 64-bit? by SScorpio · · Score: 4, Interesting

      You might have missed the article from a few days ago but Microsoft already announced that the next version of Windows will be 64-bit only. http://slashdot.org/article.pl?sid=07/05/17/145222 8

      The big issue with pushing out 64-bit only with Vista is Intel not releasing 64-bit processors until more recently. AMD released the Athlon 64 long before Intel came out with their 64-bit Core2 Duos. The older Pentium-D and Core Duo multi core processors are still only 32-bit. This prevents people with the original Intel Mac books from running 64-bit Windows on it. It was also the reason that boot camp was needed to get Windows running easily on Macbooks. The Macbook doesn't have a standard BIOS, it has EFI. The 64-bit versions of Windows XP and Server 2003 where the only versions of Windows would support EFI pre-Vista. But the Macbook's processors where only 32-bit.

      You also ran into the chicken and the egg issue with your parent's computer. Manufactures don't want to release updated 64-bit drivers for old obsolete hardware to get people to but new hardware; however, people don't want to have to buy all new hardware when they can simply install a 32-bit OS and everything will continue to work. By having 32 and 64-bit versions of Vista Microsoft allows people with older hardware to keep using what they always have while forcing manufactures to create 64-bit drivers if they want to receive WHQL approval. So in 5 years the majority of hardware available will have 64-bit drivers available.

      As for only 32-bit versions of applications. Microsoft just killed off the ability to run 16-bit applications in Vista. Also how is it their fault that other software companies aren't releasing 64-bit versions or their software? With Vista being the first consumer level 64-bit Windows OS there is more incentive to release both 32-bit and 64-bit binaries. It will take time but it will happen.

      Finally you might want to go rag on Apple a little more and not just Microsoft. They are in control of their hardware platform; however, they decided it was OK to stick with 32-bit processors with the initial move to Intel. There was already a huge shift due to the move from PowerPC to x86. Why not also move the OS and applications to 64-bit as well?

  9. NT was mutiprocessor from the start. by supersnail · · Score: 4, Informative

    NT has always been a multiprocessor OS.

    The big problem with NT is its "Message Passing" architecture, whereby
    various components of the OS talk to each other by putting messages on queues
    (In the *nux model you just call the function you need.)

    The weakness of the architecture is that the component handling any one
    message queue is automatically single threaded and tied to a single processor.
    Which is OK for 2 or four processor systems but in 16 or 34 processor
    systems 12 or 30 of your processors are wasted.

    However I expect the idea of any resources being available to the application
    is an anathema to Redmond so they will fix this problem to ensure that VISTA
    keeps its design goal to consume 90% of available resources.

    --
    Old COBOL programmers never die. They just code in C.
    1. Re:NT was mutiprocessor from the start. by truthsearch · · Score: 4, Interesting

      "Message passing as the fundamental operation of the OS is just
      an excercise [sic] in computer science masturbation. It may feel good, but
      you don't actually get anything DONE. Nobody has ever shown that it
      made sense in the real world. It's basically just much simpler and
      saner to have a function call interface, and for operations that are
      non-local it gets transparently _promoted_ to a message. There's no
      reason why it should be considered to be a message when it starts out."

      - Linus Torvalds, 1999

  10. Need it now, not later and need apps by Bullfish · · Score: 4, Insightful

    This is all very nice they are doing this, but the need is now. Not just for windows, but all the apps have to become multi-core aware. Right now having a dual or quad core for most apps is like having a care with an extra engine or two in the trunk not connected to any drivelines. CPUs have hit a wall in terms of speed because of heat, so the manufacturers are giving us mulit-core. Very nice, but consumer-level apps that use them would be nice. Some professional apps are multi-core aware, but at the consumer level...

    And preferably this year, not 2009

  11. Re:Windows is already multithreaded by MeBot · · Score: 5, Informative

    "just using MS software only uses 1 core by default" Really depends on which software you're using. A lot of applications like Word, Excel, etc don't usually do process-intensive tasks and the act of spreading the work over multiple threads would actually decrease performance (there is overhead for each thread, context switches, etc). Those apps are more often IO-bound... either waiting for user IO or disk IO. However, if you're using software like SQL Server which performs tasks that do benefit from multiple concurrent threads, it does use multiple cores out of the box. (Yes, it's actually just using multiple threads out of the box, but Windows tosses those to multiple cores... trying not to be too pedantic here) Also if you're manually setting the affinity of processes, you're probably inadvertently decreasing your performance. Windows will spread processing across multiple cores by default (not only using 1 core like you say). When you specifically set the affinity, you're not really moving the process to a different core so much as saying "don't use this core even if it's not being used by anything else." Multi-threading with IO intensive applications should make use of IO completion ports in Windows. That will give you much better perf than trying to manually control which core you explicitly want a thread running on. Keep in mind that IO is orders of magnitude slower than processing, and more often than not that's now the bottleneck in systems. Check out http://www.microsoft.com/technet/sysinternals/info rmation/IoCompletionPorts.mspx/ for more info. Unfortunately, there are a lot of applications out there (both from MS and other vendors) that do multi-threading poorly. Hopefully if MS re-writes some of the Windows infrastructure to make multi-threading easier for applications we'll see better apps that more properly take advantage of the hardware that's out there.

  12. Next annoucement by TheMeuge · · Score: 4, Funny

    Next announcement will come about 6 months before the release date:

    This feature will not be included in the upcoming release of Windows.

  13. Re:And in five years... by Slashcrap · · Score: 5, Insightful

    Five years from now Windows will support multiple cores. Which is what OS X is doing on my MacBook Pro RIGHT NOW.

    I believe the largest SMP system that OSX has ever been run on is 8 cores. Windows has run on a 64 CPU system and Linux on a 1024 CPU system.

    So I'm kind of struggling to understand how OSX is superior in this regard. I know there must be a technical explanation, because it's not like Mac owners to post single lines of obvious bullshit in an attempt to advocate their systems while actually just annoying the fuck out of everyone.

  14. First things first by elronxenu · · Score: 4, Funny
    I think they should make it work on one (1) cpu first.

  15. Re:Um... by Ngarrang · · Score: 4, Insightful

    Not sure how much of a re-write Vista was, but Micro$oft has to keep up the OS money, so if they can re-write the OS kernel for pervasive multithreading, then they can once again force users to upgrade all of their software...again.

    --
    Bearded Dragon
  16. Re:Windows is already multithreaded by NSIM · · Score: 4, Insightful

    So not sure what they mean but redesigning. What would be nice is to make the windows kernel truly preemptive multitasking. I like how in Linux you can kill -9 a rogue program, but when a program crashes in windows it takes the whole system down. Ctrl-alt-delete (kill process) how often does it really kill the process vs hanging the system. Anyway, no need to redesign, just fix what they already have.

    I don't know which version of Windows you're running (3.1 perhaps), but Vista (and previous versions of the NT kernel) have been truly preemptive from day one and you can kill user level processes from task manager and stop and restart services without bringing the system down. I literally can't remember an application making any of my Windows systems come down.

    I think the interesting thing here is the "design center" for OS is changing dramatically, in the past 99% of Windows desktops were uniprocessor and I dare say that they made design choice around that. Now we are moving to a world where 2- and 4-way desktops are common and the number of cores is only going to increase over time. That means you may well start to look at some fundamentally different ways of doing things, perhaps dedicating cores to specific tasks within the OS, for example a core might be dedicated to handling the IP stack while another might handle GDI requests. I'm not saying that this is what will happen, just that widespread use of multi-CPU systems may change the tradeoffs in OS design.

  17. Re:Um..no. by Phisbut · · Score: 4, Insightful

    What the exec meant to say, "Future versions of Windows to be fundamentally stolen." It only begs the question, which o/s will MS be ripping off for this 'new' design.

    There is nothing wrong with using a proven design from another product in a new product. OpenOffice.org has stolen from MS-Office, Firefox has stolen from Opera, Thunderbird has stolen from Outlook Express, Linux has stolen from UNIX, the GIMP has stolen from Photoshop, Evolution has stolen from Outlook, and so on, and so forth...

    Not every single piece of software needs to be 100% unique and original. Taking an old design and improving it is a very valid method of designing something new. <obligatory_car_analogy>Heck, every single car today is a total rippoff of the Ford Model T</obligatory_car_analogy>

    --
    After 3 days without programming, life becomes meaningless
    - The Tao of Programming
  18. Re:Um... by Milican · · Score: 4, Informative
    Windows Vista is Windows 2003 with a new GUI... Windows 2003 is Windows XP with a new GUI... Windows XP is Windows 200 with a new GUI... Windows 2000 is Windows NT4 with a new GUI... Windows NT4 is just Windows 95 GUI + Windows NT 3.51...

    Uhh.. come up with a new story and read other technical sites besides Slashdot. Windows Vista has a helluva lot of new features in the OS besides the GUI. Some examples that come to mind.
    • Prioritization of I/O not just CPU usage in tasks.
    • Love it or hate it the UAC.
    • ReadyBoost
    • Memory for certain processes is randomized to prevent direct access by malware.
    There are many more, but thats just off the top of my head. I guess you could argue that a couple of my bullet points fall under security model, but hey at least I went into more detail. Now go off and use Google to find something interesting to post.

    JOhn