Re: [perf-discuss] Re: Re: Re: Re: Performance: Solaris vs BSD

2006-01-27 Thread Dan Price
On Fri 27 Jan 2006 at 05:22PM, Roman wrote: > I've given up, this benchmark needs more thought and testing. Some > tests just get stuck in infinite loops > > Running: mallocT2_1k > > 10 hours later, it's still running... and that is on 440MHz Sparc > machine, running Solaris 10. > > Rest

[perf-discuss] Re: Re: Re: Re: Performance: Solaris vs BSD

2006-01-27 Thread Roman
I've given up, this benchmark needs more thought and testing. Some tests just get stuck in infinite loops Running: mallocT2_1k 10 hours later, it's still running... and that is on 440MHz Sparc machine, running Solaris 10. Restarted the benchmark again, and that test completed in 0.03 s

Re: [perf-discuss] Re: Re: Re: Re: Performance: Solaris vs BSD

2006-01-24 Thread Dan Price
On Tue 24 Jan 2006 at 09:33AM, Bart Smaalders wrote: > >On NetBSD sparc64, compiled with gcc and -O2 optimisations, the benchmark > >goes into infinite loop, because of the way automatic variables are > >handled after calling longjmp(), i.e. their value is indeterminate, which > >is affected by

Re: [perf-discuss] Re: Re: Re: Re: Performance: Solaris vs BSD

2006-01-24 Thread Frank van der Linden
Frank van der Linden wrote: It groks the noreturn void exit __P((int)) attribute, e.g. err. Pasto. I meant 'the noreturn attribute'. ___ perf-discuss mailing list perf-discuss@opensolaris.org

Re: [perf-discuss] Re: Re: Re: Re: Performance: Solaris vs BSD

2006-01-24 Thread Frank van der Linden
Bart Smaalders wrote: I wish gcc would grok either #pragma unknown_control_flow(setjmp) or extern void longjmp(jmp_buf, int) __NORETURN; It groks the noreturn void exit __P((int)) attribute, e.g. void exit(int) __attribute__((__noreturn__)); Looks like uts/common/sys/ccompile.h does the

Re: [perf-discuss] Re: Re: Re: Re: Performance: Solaris vs BSD

2006-01-24 Thread Bart Smaalders
Roman wrote: OK, thanks for the patch, it fixed compilation errors. Just to let you know, there is a bug in some of the benchmarks - longjmp.c and siglongjmp.c int benchmark(void *tsd, result_t *res) { int i = 0; jmp_buf env; (void) s

[perf-discuss] Re: Re: Re: Re: Performance: Solaris vs BSD

2006-01-24 Thread Roman
OK, thanks for the patch, it fixed compilation errors. Just to let you know, there is a bug in some of the benchmarks - longjmp.c and siglongjmp.c int benchmark(void *tsd, result_t *res) { int i = 0; jmp_buf env; (void) setjmp(env);