[SciPy-user] Benchmark data

Arnd Baecker arnd.baecker at web.de
Fri Dec 9 10:40:27 CST 2005

Hi Travis,

On Fri, 9 Dec 2005, Travis Oliphant wrote:

> I'd like people to try out scipy core in SVN.  I made improvements to the
> buffered ufunc section of code that I think will make a big difference
> in the recently published benchmarks.

That sounds great!
Excellent reason to start the 100th build on the Opteron...

Hmm, things don't look fully satisfactory:


    Multi-dimensional Fast Fourier Transform
          |    real input     |   complex input
   size   |  scipy  | Numeric |  scipy  |  Numeric
  100x100Segmentation fault

And for bench.py sizes 4 and 6 work out fine, but

python bench.py 11
Python 2.4.2 (#1, Oct  4 2005, 10:10:47)
[GCC 3.4.4]
Optimization flags: -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
CPU info: getNCPUs=2 has_3dnow has_3dnowext has_mmx has_sse has_sse2
is_64bit is_AMD is_Opteron
benchmark size = 11  (vectors of length 4194304)
Segmentation fault

gdb Backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912507335168 (LWP 2911)]
DOUBLE_multiply (args=0xb10650, dimensions=0x7fffff8343dc,
steps=0x2aaabad07e00, func=0x2aaabcd30000)
    at umathmodule.c:2414
2414                    *((double *)op)=*((double *)i1) * *((double *)i2);
(gdb) bt
#0  DOUBLE_multiply (args=0xb10650, dimensions=0x7fffff8343dc,
    func=0x2aaabcd30000) at umathmodule.c:2414
#1  0x00002aaaac9eb1fd in PyUFunc_GenericFunction (self=0x6840e0,
args=0x2aaab6cc0d40, mps=0x2)
    at ufuncobject.c:1569
#2  0x00002aaaac9edc69 in ufunc_generic_call (self=0x6840e0,
    at ufuncobject.c:2553
#3  0x0000000000417808 in PyObject_CallFunction (callable=0x6840e0,
    format=0x6ffdafffffff52 <Address 0x6ffdafffffff52 out of bounds>) at
#4  0x00002aaaac890937 in array_multiply (m1=0x6ffdafffffff52,
    at arrayobject.c:2261
#5  0x00000000004145ec in binary_op1 (v=0xaf4030, w=0x813a70, op_slot=16)
at abstract.c:377
#6  0x00000000004153f8 in PyNumber_Multiply (v=0xaf4030, w=0x813a70) at
#7  0x0000000000474ffc in PyEval_EvalFrame (f=0x87ec40) at ceval.c:1049
#8  0x0000000000479fb1 in PyEval_EvalFrame (f=0x6861d0) at ceval.c:3640
#9  0x000000000047ad2f in PyEval_EvalCodeEx (co=0x2aaaaab24490,
    locals=0x2aaabad07e00, args=0x6861d0, argcount=0, kws=0x0, kwcount=0,
defs=0x0, defcount=0,
    closure=0x0) at ceval.c:2736
#10 0x000000000047af72 in PyEval_EvalCode (co=0xb10650,
globals=0x7fffff8343dc, locals=0x2aaabad07e00)
    at ceval.c:484
#11 0x00000000004a0eeb in PyRun_FileExFlags (fp=0x62f010,
filename=0x7fffff835ff8 "bench.py",
    start=-1160741376, globals=0x6309b0, locals=0x6309b0, closeit=1,
    at pythonrun.c:1265
#12 0x00000000004a188f in PyRun_SimpleFileExFlags (fp=0x62f010,
filename=0x7fffff835ff8 "bench.py",
    closeit=1, flags=0x7fffff835a2c) at pythonrun.c:860
#13 0x0000000000410788 in Py_Main (argc=-8167432, argv=0x0) at main.c:484
#14 0x00002aaaab34d5aa in __libc_start_main () from /lib64/tls/libc.so.6
#15 0x000000000040fdfa in _start () at start.S:113
#16 0x00007fffff835b28 in ?? ()
#17 0x00002aaaaabc19c0 in rtld_errno () from /lib64/ld-linux-x86-64.so.2

Best, Arnd

More information about the SciPy-user mailing list