IIRC, the "fibers mode" didn't actually bring any noticeable performance
boost to SQL Server. In fact, most people recommend to stick with Win32
threads.

You should also bear in mind that threads are still being scheduled by the
OS, so fibers would allow you to control shorter processes, but not longer
ones.

Just my 0.2c

Pablo Castro
Lagash Systems S.A.


----- Original Message -----
From: "Brad Wilson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 19, 2002 12:55 PM
Subject: Re: [DOTNET] Green thread support


> Jim Arnold wrote:
>
> > I'll take your word for it.  Actually, no I won't :-)  Why *would*
fibers be
> > any more scalable/available than threads?  I don't see how splitting an
> > already interruptible thread into yet more mini-threads would give you
> > anything but more interruptions.
>
> Primarily because you can control the scheduling of your own work items
> around completion. The server versions of the OS attempt to "help" you in
> this regard by giving you a very large quanta (about 10x as large as the
> workstation OSes, IIRC), but that's still no good if you're just a few
> milliseconds from fulfilling a request, only to be cut off by the OS.
>
> In server scalability, it's about how quickly you can process a given
> request, not necessarily how many of them you can run in parallel.
>
> Seems I remember that the SQL Server engine started using fibers (in v7 as
I
> recall) and got a huge boost from it. I'll have to see if I can dig that
> info up again...
>
> Brad
>
> --
> Read my web log at http://www.quality.nu/dotnetguy/
>
> You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
> subscribe to other DevelopMentor lists at http://discuss.develop.com.
>

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to