This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Benchmark suite...


> 
> This will break embedded environments which don't have filesystems or I/O in
> the general sense.  If this goes in, please put it under something like make
> benchmark, and NOT under make check.

I personally also don't think that running benchmarks under make check is
good idea....
In future it should take quite large about of time...
Embedded environments should be problem for benchmarking. I am not very
experienced in this topic but I believe tests should easily get out of
memory or stack space.
Note that I've added bzip into benchmarks, but it generates random file
in memory and then compress it to memory, so it don't do any IO. Measures
just the sorting loops..
> 
> As a side note, hanoi, etc. are part of the Stanford benchmark suite.  It is

I've picked hanoi just because I've played a bit with scheduling of prologues
of functions at i386 so I needed some test that depends heavily at function
calls...
Once I will have enought tests, I will probably remove these that are not
usefull.

> generally felt these are useless for today's apps.  In particular, they all fit
> in the L1 cache of today's modern chips (hell, spec 92 nearly fits in the L2
> cache nowadays).  Also when I was using the benchmark suite 9+ years ago to
> tune the 88k compiler, I found that the system clock (which for the 88k was 100
> times a second) was too coarse grained to be of any use -- one clock tick
> more/less would seriously upset the timing.
When I run tests more times, there is usually not higher differences that 1%,
wich should be OK IMO.

Honza
> 
> -- 
> Michael Meissner, Cygnus Solutions (Massachusetts office)
> 4th floor, 955 Massachusetts Avenue, Cambridge, MA 02139, USA
> meissner@cygnus.com,	617-354-5416 (office),	617-354-7161 (fax)

-- 
                       OK. Lets make a signature file.
+-------------------------------------------------------------------------+
|        Jan Hubicka (Jan Hubi\v{c}ka in TeX) hubicka@freesoft.cz         |
|         Czech free software foundation: http://www.freesoft.cz          |
|AA project - the new way for computer graphics - http://www.ta.jcu.cz/aa |
|  homepage: http://www.paru.cas.cz/~hubicka/, games koules, Xonix, fast  |
|  fractal zoomer XaoS, index of Czech GNU/Linux/UN*X documentation etc.  | 
+-------------------------------------------------------------------------+


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]