From owner-freebsd-threads@FreeBSD.ORG Thu Oct 2 10:28:20 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C26016A4B3; Thu, 2 Oct 2003 10:28:20 -0700 (PDT) Received: from dust.freshx.de (freshx.de [80.190.100.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9724343FBD; Thu, 2 Oct 2003 10:28:18 -0700 (PDT) (envelope-from To: Date: Thu, 2 Oct 2003 19:28:26 +0200 Message-ID: <000201c3890a$98b96130$0400a8c0@dread> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal In-Reply-To: X-Virus-Scanned: by AMaViS 0.3.12 cc: threads@freebsd.org Subject: AW: AW: Need SMP access (FreeBSD port of SAPDB aka MaxDB (fwd)) X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 17:28:20 -0000 > > Hi, > > > > We can do most of the single processor stuff on our own test machines, > > but we do not know yet, how it behaves (or even if it behaves) on a SMP > > using kse. The more important aspect to us though is, that some of the > > threading specialists can take a look on some behaviours and > > misbehaviours, and mabe tell us whether its from the code, nor from the > > kse implementation ;). > > Well, just get it working under FreeBSD with native threading > (KSE) and modify the port to respect PTHREAD_LIBS instead of > linuxthreads. Others can help you test on SMP, but in theory > it should behave no differently than on UP. You can simulate > KSE/SMP on a UP system by setting the following sysctls: Native KSE threading is already done. Some problems occurred though, which yet seem to be scheduling problems in the threading (A complete database backup runs, but does not responds correctly, when finished.). Question from a SAP Developer was, if there are there ways for "scheduling checks" in the lib ? > > kern.threads.debug: 0 -> 1 > kern.threads.virtual_cpu: 1 -> 2 > > Let us know if you have any problems. I will try that ... Cheers Kai