Re: Sugested tests.

"Bill Abt" <[email protected]> Mon, 20 May 2002 07:00:44 -0400
Newsgroups gmane.linux.ngpt.user
Message-ID <[email protected]>
On 05/19/2002 at 09:11:00 PM AST, "Steven Tower" <[email protected]>
wrote:
>
> I have installed 1.9.0 on my test box and the test_str03 -d 5 -b 5 fails
> with a segfault.  Although make test works with no problems.

We'll have a look.  Can you tell me any more info?  Specifically, what kind
of box, UP or MP?  Is it possible to get a stack trace from gdb?

>
> I have also tested siege compiled with linuxthreads against tux in the
> kernel.  The performance is excellent but eventually I will get
exceptions
> in siege or in the kernels scheduler itself.
>
> On a good note the same test run with ngpt 1.9.0 ran for over two hours
but
> was easyly at least 50% slower.

I wouldn't be suprised.  The tux http server is a low volume server
designed for use with LinuxThreads.  It's concentration is purely on
performance.  It unfortunately also doesn't scale to well.  It would be
interesting to get run the same tests using Apache compiled with NGPT...

>
> With tux I was serving a .html and about 40 images to siege. Maybe this
is a
> way you can help tune 1.9.x for use with the kernel.

We'll have a look....

>
> I was also hoping you could help me with something, my understanding that
> was after installing ngpt if I recompiled the kernel, etc it too would
use
> it?  Is there a way to verify that it's not using linuxthreads .9 and
> instead 1.9?
>

Not quite.  But it can be accomplished easily and will be the default for
installation in the 2.0 timeframe.  You can do it one of two ways.  You'll
find in both ngpt.spec and Makefile(.in) a section commented out (part of
install in the Makefile or the "post" section of the spec); uncomment this
section and rerun the make install or rebuild the rpms.  Then you're whole
system will be using NGPT.

Regards,
     Bill Abt
     Senior Software Engineer
     Next Generation POSIX Threading for Linux
     IBM Cambridge, MA, USA 02142
     Ext: +(00)1 603-673-3440 or +(00)1 617-693-1591
     T/L: 253-9938 (Normal)
     T/L: 693-1591 (Backup)
     Cell: +(00)1 617-803-7514
     [email protected] or [email protected]
     http://oss.software.ibm.com/developerworks/opensource/pthreads