On Jul 4, 2:23 pm, David Harvey <[EMAIL PROTECTED]> wrote:
> On Jul 4, 2008, at 2:59 PM, Daryl Hammond wrote:
>
>
>
> > David, I ran your two line program on Sage-3.0.3 and obtained:
>
> > [EMAIL PROTECTED] ~]$ /home/daryl/sage-3.0.3/sage
> > ----------------------------------------------------------------------
> > | SAGE Version 3.0.3, Release Date: 2008-06-17                       |
> > | Type notebook() for the GUI, and license() for information.        |
> > ----------------------------------------------------------------------
>
> > sage: x=ZZ.random_element(2^10000000)
> > sage: time y=x*x
> > CPU times: user 0.44 s, sys: 0.02 s, total: 0.46 s
> > Wall time: 0.47 s
> > sage: quit
> > Exiting SAGE (CPU time 0m0.49s, Wall time 0m55.21s).
> > [EMAIL PROTECTED] ~]$
>
> > This is similar to the results from sage-3.0.1.
>
> > I originally noticed the longer CPU times under sage-3.0.3 under
> > Fedora 9 and went back and installed the three prior SAGE releases to
> > try to identify when the problem was introduced.  Your
> > two line test works fine under sage-3.0.3, my code doesn't.
>
> > I made two requested changes to sage-3.0.2 yesterday (install older
> > package gmp-2.4.1.p14.spkg and remove 11 files from /local/lib).
> > Could these changes be effecting your two line timing?
>
> Hmmmm....... very peculiar......
>
> Could you please try this on both your 3.0.1 and 3.0.2 builds:
>
> sage: x = ZZ.random_element(2^2000000)
> sage: y = ZZ.random_element(2^2000000)
> sage: time z = x.xgcd(y)
>
> david

[EMAIL PROTECTED] ~]$ /home/daryl/sage-3.0.1/sage
----------------------------------------------------------------------
| SAGE Version 3.0.1, Release Date: 2008-05-05                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------

sage: x = ZZ.random_element(2^2000000)
sage: y = ZZ.random_element(2^2000000)
sage: time z = x.xgcd(y)
CPU times: user 5.09 s, sys: 0.01 s, total: 5.11 s
Wall time: 5.13
sage: quit
Exiting SAGE (CPU time 0m5.14s, Wall time 1m9.74s).
[EMAIL PROTECTED] ~]$ /home/daryl/sage-3.0.2/sage
----------------------------------------------------------------------
| SAGE Version 3.0.2, Release Date: 2008-05-24                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------

sage: x = ZZ.random_element(2^2000000)
sage: y = ZZ.random_element(2^2000000)
sage: time z = x.xgcd(y)
CPU times: user 95.05 s, sys: 0.02 s, total: 95.06 s
Wall time: 95.36 s
sage: quit
Exiting SAGE (CPU time 1m35.10s, Wall time 2m28.69s).

-Daryl
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to