Re: [sage-devel] Re: Parallel computing

2015-10-05 Thread Eric Gourgoulhon
Hi, Le lundi 5 octobre 2015 07:36:05 UTC+2, William a écrit : > > Type > >parallel? > > in Sage for a simple but very useful parallel decorator in Sage, that > I addedabout 6 years. The API is slightly confusing, and it would be > nice to have something better. But it's pretty easy to u

Re: [sage-devel] Re: Parallel computing

2015-10-04 Thread William Stein
On Sunday, October 4, 2015, Jori Mäntysalo wrote: > On Sun, 4 Oct 2015, William Stein wrote: > > If I am right, there is no EASY parallel functions in Sage. >>> >> >> Type >> >> parallel? >> >> in Sage for a simple but very useful parallel decorator in Sage, that >> I addedabout 6 years. The A

Re: [sage-devel] Re: Parallel computing

2015-10-04 Thread Jori Mäntysalo
On Sun, 4 Oct 2015, William Stein wrote: If I am right, there is no EASY parallel functions in Sage. Type parallel? in Sage for a simple but very useful parallel decorator in Sage, that I addedabout 6 years. The API is slightly confusing, and it would be nice to have something better. But

Re: [sage-devel] Re: Parallel computing

2015-10-04 Thread William Stein
On Sun, Oct 4, 2015 at 10:29 PM, Jori Mäntysalo wrote: > Just a stupid side-question: > > On Sun, 4 Oct 2015, Victor Shoup wrote: > >> Also, now that NTL is threadsafe, I'm looking at making some of the >> low-level routines thread enhanced. > > >> For up to 4 threads, I get close to linear speedu

Re: [sage-devel] Re: Parallel computing

2015-10-04 Thread David Roe
On Mon, Oct 5, 2015 at 2:29 PM, Jori Mäntysalo wrote: > Just a stupid side-question: > > On Sun, 4 Oct 2015, Victor Shoup wrote: > > Also, now that NTL is threadsafe, I'm looking at making some of the >> low-level routines thread enhanced. >> > > For up to 4 threads, I get close to linear speedup

[sage-devel] Re: Parallel computing

2015-10-04 Thread Jori Mäntysalo
Just a stupid side-question: On Sun, 4 Oct 2015, Victor Shoup wrote: Also, now that NTL is threadsafe, I'm looking at making some of the low-level routines thread enhanced. For up to 4 threads, I get close to linear speedup...but after that, it starts to degrade: at 16 threads I only get 8x