From owner-freebsd-current@FreeBSD.ORG Mon Feb 4 15:01:24 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F20B616A417 for ; Mon, 4 Feb 2008 15:01:24 +0000 (UTC) (envelope-from m.rebele@web.de) Received: from fmmailgate02.web.de (fmmailgate02.web.de [217.72.192.227]) by mx1.freebsd.org (Postfix) with ESMTP id B15B213C44B for ; Mon, 4 Feb 2008 15:01:24 +0000 (UTC) (envelope-from m.rebele@web.de) Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate02.web.de (Postfix) with ESMTP id 20385CF74079; Mon, 4 Feb 2008 15:43:49 +0100 (CET) Received: from [194.94.240.61] (helo=a103-04.local) by smtp07.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.109 #226) id 1JM2Y1-0000uP-00; Mon, 04 Feb 2008 15:43:49 +0100 Message-ID: <47A7249C.4080902@web.de> Date: Mon, 04 Feb 2008 15:43:40 +0100 From: Michael Rebele User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Julian Elischer References: <47A21ED6.5070303@elischer.org> In-Reply-To: <47A21ED6.5070303@elischer.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: m.rebele@web.de X-Sender: m.rebele@web.de X-Provags-ID: V01U2FsdGVkX1/dJkTYs7zvoN7QN8giwBSJ+ZqDzbFt6IfQArtI PBgz5u0jVIdp7wzQ4IPGntFE1Y35cukws/vXD7Shadsl94G4aG eAd4wl63k= Cc: FreeBSD Current Subject: Re: needs a tester with an SMP 7.0 box X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: m.rebele@web.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2008 15:01:25 -0000 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