On Fri, Apr 15, 2011 at 4:10 PM, Graydon Hoare <[email protected]> wrote:
> On 15/04/2011 3:29 AM, Marijn Haverbeke wrote: > >> Relevant link: >> http://blogs.msdn.com/b/oldnewthing/archive/2005/07/29/444912.aspx >> (short of it: Windows is not good at large number of threads, Raymond >> Chen is unapologetic about it, insinuates it is stupid to want many >> threads). >> > > Yeah, I saw this but .. I think he's a bit overzealous on this point; or at > least unclear: "well-known not to scale beyond a dozen clients" implies a > scalability limit far short of the tens of thousands you can get win32 up to > with the stack size and reserve overridden. I'm curious what he's getting > at; it implies one or more win32 abstraction (locks, sync IO, .. not sure) > explodes with 10,000 threads hammering on it at once. > > Anyone know? > I would guess that the old (since eliminated) dispatcher lock would hurt you badly if you try to actually communicate with two many threads. Should be a lot better in Windows 7 though. -- Sebastian Sylvan
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
