#12339: Free Groups
--------------------------------+-------------------------------------------
       Reporter:  mmarco        |         Owner:  joyner      
           Type:  enhancement   |        Status:  needs_review
       Priority:  minor         |     Milestone:              
      Component:  group theory  |    Resolution:              
       Keywords:  free groups   |   Work issues:              
Report Upstream:  N/A           |     Reviewers:              
        Authors:  Miguel Marco  |     Merged in:              
   Dependencies:                |      Stopgaps:              
--------------------------------+-------------------------------------------

Comment (by mmarco):

 Can you please make simple speed benchmarks in different systems? I have
 observed a big speed difference from my gentoo box to a mandriva system
 (where sage runs in a ubuntu chroot). I suspect it has to do with the
 sage-gap communication (maybe something with the way shm or pts work?)


 Here are my benchmarks:

 In my gentoo box (intel core i7, 6GB RAM)
 {{{
 sage: time F=FreeGroup(4)
 Time: CPU 0.00 s, Wall: 0.00 s
 sage: time F.inject_variables()
 Defining x0, x1, x2, x3
 Time: CPU 0.03 s, Wall: 0.04 s
 sage: time x=F([1,2,3,4,1,2,3,4])
 Time: CPU 0.01 s, Wall: 0.01 s
 sage: time x^2
 x0*x1*x2*x3*x0*x1*x2*x3*x0*x1*x2*x3*x0*x1*x2*x3
 Time: CPU 0.07 s, Wall: 0.08 s
 }}}

 In the mandriva-chroot-ubuntu (two AMD-opteron 6100, 16 cores in total,
 128 GB RAM):

 {{{
 sage: time F=FreeGroup(4)
 Time: CPU 0.03 s, Wall: 0.50 s
 sage: time F.inject_variables()
 Defining x0, x1, x2, x3
 Time: CPU 0.04 s, Wall: 2.32 s
 sage: time x=F([1,2,3,4,1,2,3,4])
 Time: CPU 0.02 s, Wall: 0.86 s
 sage: time x^2
 x0*x1*x2*x3*x0*x1*x2*x3*x0*x1*x2*x3*x0*x1*x2*x3
 Time: CPU 0.10 s, Wall: 5.34 s
 }}}

 It really makes no sense such a slowdown. Any ideas?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12339#comment:30>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to