Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 2004 18:50:42 +0200
From:      Geert Hendrickx <geert.hendrickx@ua.ac.be>
To:        freebsd-questions@freebsd.org
Subject:   Maple troubles with SMP
Message-ID:  <20041012165042.GA93462@lori.mine.nu>

next in thread | raw e-mail | index | archive | help
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



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