Re: stack alignment issues (was: unbelievable benchmark output)

2002-02-03 Thread Greg Shenaut
In message <[EMAIL PROTECTED]>, Dan Nelson cleopede: >In the last episode (Feb 03), Alfred Perlstein said: >> * Michal Mertl <[EMAIL PROTECTED]> [020203 08:17] wrote: >> Not really sure what to make of this, anyone else know how we ought >> to fix this? > >This has actually been an issue for ages,

Re: stack alignment issues (was: unbelievable benchmark output)

2002-02-03 Thread Dan Nelson
In the last episode (Feb 03), Alfred Perlstein said: > * Michal Mertl <[EMAIL PROTECTED]> [020203 08:17] wrote: > > Several runs of the program take about the same time but the time > > changes wildly when the executable is called differently. > > > > The only thing which I can think of that can

Re: stack alignment issues (was: unbelievable benchmark output)

2002-02-03 Thread Miguel Mendez
On Sun, 3 Feb 2002 08:59:41 -0800 Alfred Perlstein <[EMAIL PROTECTED]> wrote: Hi, > It sure looks like an alignment issue. If you print the address > of 'i' and 'j' in the attached program you can see for the fast > case they are aligned to 8 byte boundries, but when it's slow they > are at an

Re: unbelievable benchmark output

2002-02-03 Thread Erik Greenwald
> > Several runs of the program take about the same time but the time > changes wildly when the executable is called differently. > > --- > ./xx/xxx > 5 s > xx/xxx > 9 s > > The only thing which I can think of that can be causing this is some > memory alignment issue. > it could also b

stack alignment issues (was: unbelievable benchmark output)

2002-02-03 Thread Alfred Perlstein
* Michal Mertl <[EMAIL PROTECTED]> [020203 08:17] wrote: > I wrote a simple program which does this: > > gettimeofday > something (takes several seconds) > gettimeofday > print time elapsed > > Several runs of the program take about the same time but the time > changes wildly when the executable

unbelievable benchmark output

2002-02-03 Thread Michal Mertl
I wrote a simple program which does this: gettimeofday something (takes several seconds) gettimeofday print time elapsed Several runs of the program take about the same time but the time changes wildly when the executable is called differently. --- ./xx/xxx 5 s xx/xxx 9 s and similar. It h