Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Feb 2008 15:43:40 +0100
From:      Michael Rebele <m.rebele@web.de>
To:        Julian Elischer <julian@elischer.org>
Cc:        FreeBSD Current <current@freebsd.org>
Subject:   Re: needs a tester with an SMP 7.0 box
Message-ID:  <47A7249C.4080902@web.de>
In-Reply-To: <47A21ED6.5070303@elischer.org>
References:  <47A21ED6.5070303@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Julian Elischer wrote:
> 
> if you have a 7.0 SMP (8 way if possible) box and can stand
> a little  down time, I'm looking for someone to test the following:
> 
> This snippet may freeze the process after a while:
> 
 > [...]
 >
> with the following patch applied:
>  http://www.freebsd.org/~julian/kse-7.diff
> it should not.
> 
> can someone with a 7.0 machine please confirm this?
> (requires a recompile of libkse and linking with libkse.)
> (you could call it something else for the test).
> 
> 

I can confirm that the process with the applied patch runs far better than without - on a 
7.0-PRERELEASE FreeBSD 7.0-PRERELEASE (i386). It's a P4 System with HT enabled (Kernel is compiled 
with SMP).

Without the patch, the system is continuously accessing the Harddisk. The Datarate is about 6MB/s - 
i don't know what's going on there. There's enough RAM marked as free (about 460MB), though no 
reason for swapping.
I don't see this behaviour if the Code is linked against -pthread.
If i apply the patch to libkse, then the process linked against -lkse behaves like one against -pthread.
Without the patch, i've also the fatal error messages as stated by Mark Kirkwood, with the patch 
they are gone.

Looks good to me!

Michael




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47A7249C.4080902>