From owner-freebsd-questions@FreeBSD.ORG Tue Oct 12 16:50:50 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DDE316A4CE for ; Tue, 12 Oct 2004 16:50:50 +0000 (GMT) Received: from outmx006.isp.belgacom.be (outmx006.isp.belgacom.be [195.238.2.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7046B43D39 for ; Tue, 12 Oct 2004 16:50:49 +0000 (GMT) (envelope-from geert@lori.mine.nu) Received: from outmx006.isp.belgacom.be (localhost [127.0.0.1]) with ESMTP id i9CGolKx024413 for ; Tue, 12 Oct 2004 18:50:47 +0200 (envelope-from ) Received: from lori.mine.nu (196-27.244.81.adsl.skynet.be [81.244.27.196]) with ESMTP id i9CGogCW024361 for ; Tue, 12 Oct 2004 18:50:42 +0200 (envelope-from ) Received: by lori.mine.nu (Postfix, from userid 1000) id 23FEE6F3; Tue, 12 Oct 2004 18:50:42 +0200 (CEST) Date: Tue, 12 Oct 2004 18:50:42 +0200 From: Geert Hendrickx To: freebsd-questions@freebsd.org Message-ID: <20041012165042.GA93462@lori.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2i X-GPG-Key: http://lori.mine.nu/gnupgkey.asc X-GPG-Key-ID: 1024D/766C1E92 X-Accept-Language: nl,en Subject: Maple troubles with SMP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Oct 2004 16:50:50 -0000 Hello, I'm running FreeBSD 4.10-STABLE on a hyperthreaded i386 processor. My kernel has SMP enabled, and with sysctl machdep.hlt_logical_cpus=0, top shows two logical cpu's up and running. Works fine. Now I have some weird experiences running Maple 9.5 (with Linux emulation). When sysctl machdep.hlt_logical_cpus is set to 0, Maple won't start. I get the splash screen, but it hangs forever (top shows a java process eating all cpu time). It takes a kill -9 to stop it. When machdep.hlt_logical_cpus is set to 1 (single cpu), Maple starts fine, I can enter commands and everything works ok (except the help function, it crashes very often). When I set the sysctl back to 0, Maple gets very unstable when I enter further commands. Sometimes it hangs (without any cpu action like before), sometimes it crashes, very unpredictable behaviour really. Does anyone have any clue about what is happening? And about who is to blame, FreeBSD's SMP code, Maple, or maybe the Linux emulation code? GH -- :wq