Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

multiple cores - adventage - How enable it?

Hi experts!

I have a TOSHIBA laptop with next specifications:

4x Intel core i3 CPU M350 2.27GHz 3gb RAM

I write a script of Monte Carlo simulation that work fine, but i would speed up it.

How can I take advantage of the multiple core proccesor in sage-execution of my script?

Please explain step by step (im a totaly newby...)

Waiting for your answers.

Thanks a lot.

multiple cores - adventage - How enable it?

Hi experts!

I have a TOSHIBA laptop with next specifications:

4x Intel core i3 CPU M350 2.27GHz 3gb RAM

I write a script of Monte Carlo simulation that work fine, but i would speed up it.

How can I take advantage of the multiple core proccesor in sage-execution of my script?

For example: in my script, a extesed algorithm is executed for 20 different values in a list N (N=[N1,...,N20]), 100 times for each N-element. It is possible taht each CPU-core execute the algorithm for only one N-element? In this case, i will reduce the execution time in a factor of: 20 (N-element)/ 4 (CPU-cores) = 5

Please explain step by step (im a totaly newby...)

Waiting for your answers.

Thanks a lot.

click to hide/show revision 3
retagged

multiple cores - adventage - How enable it?

Hi experts!

I have a TOSHIBA laptop with next specifications:

4x Intel core i3 CPU M350 2.27GHz 3gb RAM

I write a script of Monte Carlo simulation that work fine, but i would speed up it.

How can I take advantage of the multiple core proccesor in sage-execution of my script?

For example: in my script, a extesed algorithm is executed for 20 different values in a list N (N=[N1,...,N20]), 100 times for each N-element. It is possible taht each CPU-core execute the algorithm for only one N-element? In this case, i will reduce the execution time in a factor of: 20 (N-element)/ 4 (CPU-cores) = 5

Please explain step by step (im a totaly newby...)

Waiting for your answers.

Thanks a lot.