Hi guys,
I have a script that runs very slow and does a lot of non dependent operation
of a collection. I wander if I can speed it up by making it run in another
process, because as far as I understand everything runs on a single thread, so
I guess this won’t save me.
Uko
2014-08-04 10:17 GMT+02:00 Yuriy Tymchuk yuriy.tymc...@me.com:
Hi guys,
I have a script that runs very slow and does a lot of non dependent
operation of a collection. I wander if I can speed it up by making it run
in another process, because as far as I understand everything runs on a
On 4 August 2014 09:38, Clément Bera bera.clem...@gmail.com wrote:
2014-08-04 10:17 GMT+02:00 Yuriy Tymchuk yuriy.tymc...@me.com:
Hi guys,
I have a script that runs very slow and does a lot of non dependent
operation of a collection. I wander if I can speed it up by making it run in
On 04 Aug 2014, at 10:38, Clément Bera bera.clem...@gmail.com wrote:
2014-08-04 10:17 GMT+02:00 Yuriy Tymchuk yuriy.tymc...@me.com:
Hi guys,
I have a script that runs very slow and does a lot of non dependent operation
of a collection. I wander if I can speed it up by making it run
threads generally slow things down. Pharo uses green threads so it does not
take advantage of multiple cores. You can take advantage of multiple cores
by having multiple instances of the Pharo executable running and have them
communicate via sockets, pipes , shared memory etc. Some calculations /
On Mon, 4 Aug 2014, Frank Shearar wrote:
On 4 August 2014 09:38, Clément Bera bera.clem...@gmail.com wrote:
2014-08-04 10:17 GMT+02:00 Yuriy Tymchuk yuriy.tymc...@me.com:
Hi guys,
I have a script that runs very slow and does a lot of non dependent
operation of a collection. I wander if I
Wait, if your computations make use of I/O, wouldn't *forking* allow to
take advantage when a green thread is blocked for example, writing a
socket? :)
On Mon, Aug 4, 2014 at 2:53 PM, Levente Uzonyi le...@elte.hu wrote:
On Mon, 4 Aug 2014, Frank Shearar wrote:
On 4 August 2014 09:38,
yes thats correct. I am using python threads , (they are green threads too
like pharo) to make my blocking socket not block the overall execution of
code.
Dont need fork on the pharo side because I send the message and I expect an
immediate reply so the blocking is too short for the user to
Hi Yuriy,
My advice is to use OpenCL. OpenCL is a standard to use the graphical card to
carry out massive computation.
The good news is that Ronie has worked on a binding between OpenCL and Pharo. I
am using it and it works pretty well.
http://smalltalkhub.com/#!/~ronsaldo/OpenCL
Cheers,
Hi
Do you try TaskIt framework? It has BlockClosureforkIt which
transparently executes code in separate image.
2014-08-04 12:17 GMT+04:00 Yuriy Tymchuk yuriy.tymc...@me.com:
Hi guys,
I have a script that runs very slow and does a lot of non dependent
operation of a collection. I wander if
Thanks, I know about this, The problem is exactly that I’m wrapping
whole hierarchies in my own objects because I need that. Anyway thank you!
explain us what you are doing because sometimes we know tricks :).
I think that often people that forking can solve speed but you have to
On 4/8/14 19:46, Alexandre Bergel wrote:
Hi Yuriy,
My advice is to use OpenCL. OpenCL is a standard to use the graphical card to
carry out massive computation.
The good news is that Ronie has worked on a binding between OpenCL and Pharo. I
am using it and it works pretty well.
http://stackoverflow.com/questions/5919172/gpgpu-vs-multicore
The answer is really nice.. over GPU/ multithreaded CPU et als. GPU is not
a panacea for enterprise programming, but for specific parallel
unbranched-no synchronization driven algorithms
* The worst code for GPU is code with less
On Mon, Aug 04, 2014 at 02:53:07PM +0200, Levente Uzonyi wrote: On Mon, 4 Aug
2014, Frank Shearar wrote:
On 4 August 2014 09:38, Cl??ment Bera bera.clem...@gmail.com wrote:
2014-08-04 10:17 GMT+02:00 Yuriy Tymchuk yuriy.tymc...@me.com:
Hi guys,
I have a script that runs very slow
14 matches
Mail list logo