Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Mar 2005 12:09:57 -0800
From:      Julian Elischer <julian@elischer.org>
To:        kamalp@acm.org
Cc:        Lucas Holt <luke@foolishgames.com>
Subject:   Re: sched_4BSD
Message-ID:  <42261D95.9020506@elischer.org>
In-Reply-To: <20050302172559.99964.qmail@web52702.mail.yahoo.com>
References:  <20050302172559.99964.qmail@web52702.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Kamal R. Prasad wrote:

>--- Lucas Holt <luke@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@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@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>  
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42261D95.9020506>