Re: Improve hackbench

2008-01-06 Thread Zhang, Yanmin
On Fri, 2008-01-04 at 07:44 -0500, Lee Revell wrote: > On Jan 4, 2008 3:10 AM, Ingo Molnar <[EMAIL PROTECTED]> wrote: > > http://redhat.com/~mingo/cfs-scheduler/tools/hackbench.c > > > > Why not lose the #ifdef and just use PTHREAD_STACK_MIN? That's a good idea. Thanks, -yanmin --- --- hackbe

Re: Improve hackbench

2008-01-06 Thread Zhang, Yanmin
On Fri, 2008-01-04 at 13:51 +0200, T�r�k Edwin wrote: > Ingo Molnar wrote: > > * Zhang, Yanmin <[EMAIL PROTECTED]> wrote: > > > > > >> hackbench is to test Linux scheduler. The original program is at > >> http://devresources.linux-foundation.org/craiger/hackbench/src/hackbench.c > >> Based on

Re: Improve hackbench

2008-01-04 Thread Ingo Molnar
* Török Edwin <[EMAIL PROTECTED]> wrote: > On x86-64 there's a bug [*], that causes hackbench to segfault when > compiled with optimizations: > in reap_worker(): > int status; > ... > pthread_join(id, (void **)(void *)&status); > > That is not correct, sizeof(void*) > sizeof(int) on x86-

Re: Improve hackbench

2008-01-04 Thread Lee Revell
On Jan 4, 2008 3:10 AM, Ingo Molnar <[EMAIL PROTECTED]> wrote: > http://redhat.com/~mingo/cfs-scheduler/tools/hackbench.c > Why not lose the #ifdef and just use PTHREAD_STACK_MIN? Lee -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL P

Re: Improve hackbench

2008-01-04 Thread Török Edwin
Ingo Molnar wrote: > * Zhang, Yanmin <[EMAIL PROTECTED]> wrote: > > >> hackbench is to test Linux scheduler. The original program is at >> http://devresources.linux-foundation.org/craiger/hackbench/src/hackbench.c >> Based on this multi-process version, a nice person created a >> multi-thread

Re: Improve hackbench

2008-01-04 Thread Ingo Molnar
* Zhang, Yanmin <[EMAIL PROTECTED]> wrote: > hackbench is to test Linux scheduler. The original program is at > http://devresources.linux-foundation.org/craiger/hackbench/src/hackbench.c > Based on this multi-process version, a nice person created a > multi-thread version. Pls. see > http://w

Improve hackbench

2008-01-03 Thread Zhang, Yanmin
hackbench is to test Linux scheduler. The original program is at http://devresources.linux-foundation.org/craiger/hackbench/src/hackbench.c Based on this multi-process version, a nice person created a multi-thread version. Pls. see http://www.bullopensource.org/posix/pi-futex/hackbench_pth.c When