sched_4BSD
Julian Elischer
julian at elischer.org
Wed Mar 2 20:09:59 GMT 2005
Kamal R. Prasad wrote:
>--- 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.
>
>
NPTL?
New Pthreads Library from Library?
isn't that GPL'd?
>
>
>>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.
>
>
I presume you have looked at it recently then..
I have not looked at the linux scheduler in a while..
how do they stop 100o threads from getting 1000 shots at the scheduler?
>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
>_______________________________________________
>freebsd-hackers at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
>
More information about the freebsd-hackers
mailing list