Maple troubles with SMP

From: Geert Hendrickx (geert.hendrickx_at_ua.ac.be)
Date: 10/12/04

  • Next message: Kevin D. Kinsey, DaleCo, S.P.: "Re: mount smbfs"
    Date: Tue, 12 Oct 2004 18:50:42 +0200
    To: freebsd-questions@freebsd.org
    
    

    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
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Kevin D. Kinsey, DaleCo, S.P.: "Re: mount smbfs"

    Relevant Pages

    • Re: CONFIG_PREEMPT and server workloads
      ... I've been meaning to do another round of latency tuneups for ages, ... but the other CPU is hanging on the lock for ages ... ALSA drivers which would cause a dump_stackto be triggered if the audio ... of underruns we can just ask them to turn on the sysctl and we get a trace ...
      (Linux-Kernel)
    • Re: [PATCH] avoid cpu removal if busy revisited
      ... added sysctl ... cpu hot remove migrates all tasks on target cpu by force. ... +#ifdef CONFIG_HOTPLUG_CPU ...
      (Linux-Kernel)
    • Re: cpufreq probs dual core intel
      ... leroy# sysctl hw.acpi.acline ... Whats odd to me is the temp the cpu is running at. ... <Enhanced SpeedStep Frequency Control> on cpu0 ...
      (freebsd-current)
    • Re: New optimized soreceive_stream() for TCP sockets, proof of concept
      ... >> those OSes do much better when CPU affinity ... You can slap a sched_bindinto the interrupt> handler the first time it runs and it should stick appropriately, and add> a sysctl to sched_bindfor a user process as a hack to test it out. ... Right now we have a facility to bind kernel threads to specific CPUs ), but not an API or mature facility to bind user threads. ...
      (freebsd-net)
    • Re: New optimized soreceive_stream() for TCP sockets, proof of concept
      ... >> those OSes do much better when CPU affinity ... You can slap a sched_bindinto the interrupt> handler the first time it runs and it should stick appropriately, and add> a sysctl to sched_bindfor a user process as a hack to test it out. ... Right now we have a facility to bind kernel threads to specific CPUs ), but not an API or mature facility to bind user threads. ...
      (freebsd-current)