[sage-devel] Re: Help on pyprocessing - Multicore CPU Usage Problem

2008-07-10 Thread Yi Qiang
Michael, If you're doing everything on a local mutli-core machine (i.e. shared memory), you should probably be using pyprocessing at the momement. If you're going to be using a cluster of some sort, then dsage is the way to go. Cheers, Yi http://yiqiang.org On Thu, Jul 10, 2008 at 3:59 AM, Mich

[sage-devel] Re: Help on pyprocessing - Multicore CPU Usage Problem

2008-07-10 Thread Michael Mardaus
Yes your right, factoring integers was only a simple example to make my point. Actually I'm working together with a fellow student (Tobias Nagel) on the project "Computing integral points on elliptic curves" (as diploma thesis supervised by Stefan Mueller-Stach (Uni-Mainz, Germany)). We just finis

[sage-devel] Re: Help on pyprocessing - Multicore CPU Usage Problem

2008-07-09 Thread William Stein
On Wed, Jul 9, 2008 at 3:27 AM, Michael Mardaus <[EMAIL PROTECTED]> wrote: > > Hi, > > I would like to use sage for a computation with a long for loop. And > it takes forever on my machine (15 mins). So i tried to speed it up > with a server in the university (with 8 Xeon cores). But i found out >

[sage-devel] Re: Help on pyprocessing - Multicore CPU Usage Problem

2008-07-09 Thread Martin Albrecht
> For example: > for i in range(8): > print factor(i) > I just compiled 3.0.4.rc1 which has the new pyprocessing stuff: (1) the i's in your example are way to small for pyprocessing to give an advantage due to the overhead of calling the other process, you could split up your function