[Eric] About eric and multi-core usage.

Rafał Zawadzki rafal.zawadzki at sensisoft.com
Thu Mar 20 15:09:44 GMT 2008


Thursday 20 March 2008 15:11:11 objectref napisał(a):
> Hi,

Hello,

> I observed a funny thing and I am just curious about it:
> As Eric being written in PyQt, in Python that is, it cannot actually use
> more than one processors due to Python GIL and all this story about it.
> But when I tried an operation that take some time to complete, I saw both
> processors in my dual core laptop being used!
>
> I load Eric on Eric and do a "Code Metrics" operation. This indeed take
> some time to complete and in task manager there was activity on both
> processors. As far as I know, Eric does not use PP (Parallel Python) or the
> "processing" package so to distribute the load to multiple cores. Is this
> something to do with the calls to the C++ code of Qt (Qt may actually make
> better usage of the cores) ??

I am not a eric4/qt specialist - but for me it looks that eric4 spawns new 
processes (which can be placed by kernel in other cpu/core).

Anyway - I read that you are using Vista + Eric4.

Is this combination works ok for you?

Which python/QT are you using?

I've problem with Eric4 that after run it - it sometimes run, sometimes not).

Regards,

-- 
Rafał Zawadzki
System Architect

tel      +48 22 8430101
mobile        +48 600 883 759
skype id      blvszcz
jabber id     bluszcz at jabberpl.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.riverbankcomputing.com/pipermail/eric/attachments/20080320/1420f773/attachment.bin


More information about the Eric mailing list