Re: Questions about CPU related sysctls

From: Philip Reynolds (philip.reynolds_at_rfc-networks.ie)
Date: 02/26/04

  • Next message: Ganbold: "Re: having trouble with sshd"
    Date: Thu, 26 Feb 2004 09:49:29 +0000
    To: freebsd-hackers@freebsd.org
    
    
    

    Craig Rodrigues <rodrigc@crodrigues.org> 27 lines of wisdom included:
    > What is the difference between these two sysctls?
    >
    > kern.smp.cpus: Number of CPUs online
    > hw.ncpu: Number of active CPUs

    These two are exactly the same thing from the little SMP I have done
    with FreeBSD. I would use hw.ncpu, as kern.smp.cpus only appears
    when SMP is compiled into the kernel, IIRC.

    > Also, can someone give a brief description of these sysctls (sysctl -d
    > doesn't show anything for them).
    >
    > Would it be a good idea to add some text to these syctls?
    >
    > kern.ccpu:
    > hw.acpi.cpu.cx_history:
    > machdep.hlt_cpus:

    This has come up before, feel free to submit something!

    -- 
    Philip Reynolds                      | RFC Networks Ltd.
    philip.reynolds@rfc-networks.ie      | +353 (0)1 8832063
    http://people.rfc-networks.ie/~phil/ | www.rfc-networks.ie
    
    



  • Next message: Ganbold: "Re: having trouble with sshd"