Re: threading problems

2003-09-01 Thread Julian Elischer
ast episode (Sep 01), RMH said: > > > Hello gentlemen, > > > > > > I seem to have threading problems with 5.1-RELEASE. Every time I run > > > a multithreaded application (linked against libc_r) on a SMP system, > > > I get only 1 CPU loaded at any moment gi

Re: threading problems

2003-09-01 Thread Dan Nelson
In the last episode (Sep 01), RMH said: > Oh yes, user threading doesn't support multiple CPUs... Thanks for > pointing me. > > Both libkse and libthr work with that code snippet, but Viewperf > when linked against any of them locks my machine pretty deadly. > With Linuxthreads it just segfaults ;

Re: threading problems

2003-09-01 Thread RMH
t; > In the last episode (Sep 01), RMH said: > > Hello gentlemen, > > > > I seem to have threading problems with 5.1-RELEASE. Every time I run > > a multithreaded application (linked against libc_r) on a SMP system, > > I get only 1 CPU loaded at any moment given. I t

Re: threading problems

2003-09-01 Thread Dan Nelson
In the last episode (Sep 01), RMH said: > Hello gentlemen, > > I seem to have threading problems with 5.1-RELEASE. Every time I run > a multithreaded application (linked against libc_r) on a SMP system, > I get only 1 CPU loaded at any moment given. I tried different Correc

Re: threading problems

2003-09-01 Thread Norikatsu Shigemura
On Mon, 1 Sep 2003 03:13:31 +0100 (BST) RMH <[EMAIL PROTECTED]> wrote: > # gcc -O2 -fomit-frame-pointer -march=i686 -o smp smp.c -pthread > # ./smp > 4Gb per pass mode > INTEGER | WRITING 8 Kb block: 1351 Mb/s > res0: 674 > res1: 677 > # gcc -O2 -fomit-frame-pointer -march=i686 -o smp2 smp.c -

threading problems

2003-09-01 Thread RMH
Hello gentlemen, I seem to have threading problems with 5.1-RELEASE. Every time I run a multithreaded application (linked against libc_r) on a SMP system, I get only 1 CPU loaded at any moment given. I tried different software, including Viewperf, but results remain the same. When linked against