On May 15, 9:03 pm, William Stein <wst...@gmail.com> wrote:
> 1. On what hardware? This was on 64 bit GNU/Linux (Fedora release 12) running on a dual processor machine with two Intel Core 2 CPUs (each 2.4GHz, 4Gb cache). I have included the contents of /proc/cpuinfo at the bottom of this reply. > 2. Can you post something so that somebody else (e.g., me) could > replicate this benchmark? > I want to make sure that, e.g., your Sage wasn't built incorrectly. I am comparing Sage 4.3.5 (which I am pretty sure was built from source) with MAGMA V2.16-7. The Sage script I ran was: ---start of Sage code--- R.<x,y,z> = PolynomialRing(ZZ,3) f = x*y^3*z^2 + x^2*y^2*z + x*y^3*z + x*y^2*z^2 + y^3*z^2 + y^3*z + 2*y^2*z^2 + 2*x*y*z + y^2*z + y*z^2 + y^2 + 2*y*z + z curr = 1 t=cputime() for i in range(1,101): curr = curr * f print i, cputime(t) print get_memory_usage() ---end of Sage code--- The Magma script I ran was: ---start of Magma code--- R<x,y,z> := PolynomialRing(Integers(),3); f := x*y^3*z^2 + x^2*y^2*z + x*y^3*z + x*y^2*z^2 + y^3*z^2 + y^3*z + 2*y^2*z^2 + 2*x*y*z + y^2*z + y*z^2 + y^2 + 2*y*z + z; curr := 1; t:=Cputime(); for i in [1..100] do curr := curr * f; print i, Cputime(t); end for; ---end of Magma code--- Please let me know if you need more information, or if I am doing anything that is obviously stupid. The results of running 'cat /proc/cpuinfo' follow. Best, Tom [t...@ma613-11 ~]$ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz stepping : 6 cpu MHz : 1596.000 cache size : 4096 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow bogomips : 4800.54 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz stepping : 6 cpu MHz : 1596.000 cache size : 4096 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow bogomips : 4800.14 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org