sched_4BSD

Kamal R. Prasad kamalpr at yahoo.com
Wed Mar 2 17:26:01 GMT 2005


--- Lucas Holt <luke at foolishgames.com> wrote:

> Wouldn't a multi threaded program potentially need
> more cpu time than 
> vi?  

No. That is not a given.

> Multithreaded apps are created to do a lot of
> computation or 
> because they have a lot of concurrent activity that
> might block right?
> 
Threads are meant to take advantage of concurrency. 
Maybe the freebsd implementation should implement NPTL
in entirety.

> 
> On Mar 1, 2005, at 2:49 PM, Julian Elischer wrote:
> >>
> >
> > If you make 1000 threads, you get 1000 slots on
> the scheduler. (last 
> > time I looked..
> > Let me know if I'm wrong).
> >
depends on whether it is defined to execute in system
scope or not.

regards
-kamal


=====
------------------------------------------------------------
Kamal R. Prasad
UNIX systems consultant 
kamalp at acm.org

In theory, there is no difference between theory and practice. In practice, there is:-).
------------------------------------------------------------

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the freebsd-hackers mailing list