On Thu, 24 May 2012 14:30:46 +0200 Leif Middelschulte
<[email protected]> said:

> 2012/5/24 Carsten Haitzler <[email protected]>:
> > On Thu, 24 May 2012 05:25:10 +0000 (GMT) SHILPA ONKAR SINGH
> > <[email protected]> said:
> >
> > you can increase the max number of worker threads, but it limits it to 2x
> > number of cpu's. at the moment. as such these threads get put in a queue if
> > all workers are busy and so get handled serially as workers become
> > available.
> Somehow the can't be set to 2*|cpu|. It is limited to |cpu| on my
> machine as well as on a friend of mine's.

actually it limited it to 2*cpu -1 i've now allowed it to go up to 16*cpu.
that'll do for now. :)

> >> Hi,
> >>
> >> I also tested this behavior recently and checked the ecore - code as well
> >> the maximum number of threads that can be spawned equals the cpu
> >> count [ Probably design decision ]
> >> eina_cpu_count gives the number of CPU  and based on which the maximum
> >> threads spawned at a time is restricted in code itself.
> >> for eg: if I have 1 cpu then I can spawn only one other thread.
> >> even If I call ecore_thread_max_set and set higher number of threads no use
> >> because of this restriction.
> >>
> >> I think we can keep the default thread count based on cpu count but if we
> >> call max_set we should be able to increase the number of maximum spawned
> >> threads despite of number of CPUs ofcourse some restriction can be put
> >> there as well.
> >>
> >> Please let me know your opinion.
> >>
> >> Thanks
> >> Shilpa
> >>
> >>
> >> ------- Original Message -------
> >> Sender : Leif Middelschulte<[email protected]>
> >> Date : May 24, 2012 03:13 (GMT+09:00)
> >> Title : [E-devel] Elementary+threading
> >>
> >> Hey there,
> >>
> >> I put together an example that reveils unexpected elm behavior here on
> >> my T60 (Intel T2500).
> >>
> >> I'm mentioning my cpu, because - according to ecore_thread's docs -
> >> the number of maximum threads is limited to 2n | n = |processors|.
> >> For some reason though the default number of threads equals my # of cpus.
> >>
> >> So anybody who has a more recent machine please extend the number of
> >> events emited/threads generated to the number of your maximum threads
> >> - 1 to make elm_fileselector show nothing.
> >>
> >>
> >> I hope I'm doing something wrong here.
> >>
> >> --
> >> Leif
> >> ------------------------------------------------------------------------------
> >> Live Security Virtual Conference
> >> Exclusive live event will cover all the ways today's security and
> >> threat landscape has changed and how IT managers can respond. Discussions
> >> will include endpoint security, mobile security and the latest in malware
> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> >> _______________________________________________
> >> enlightenment-devel mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >>
> >
> >
> > --
> > ------------- Codito, ergo sum - "I code, therefore I am" --------------
> > The Rasterman (Carsten Haitzler)    [email protected]
> >
> 
> 
> 
> -- 
> Leif
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to