Date: Mon, 4 Aug 2014 08:22:14 -0700 From: Dieter BSD <dieterbsd@gmail.com> To: freebsd-hackers@freebsd.org Subject: Re: sysctl hw add nphyscpu variable Message-ID: <CAA3ZYrARe8mERCeLXnGT26QzMg=XncOaXkgzjp=eY9x1_U-Mag@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
> I think hw.nsocket would make more sense. Whoever does this should > check to see if any other UNIX platforms have picked a suitable name. There are other sockets besides cpu sockets, so it might be a good idea to include something that says what kind of socket. I was thinking n_cpu_socket, which isn't perfect either, since there are other things that can be plugged into cpu sockets. FPGAs for one. Is there a more generic term for cpu socket? >> Probable things will get complicated a bit if the system is a guest >> under Xen or other hypervisor. But probable there the nphyscpu should >> be NA ? > > The hypervisor is able to pass through a geometry, so this would still > make sense there. If you are running bochs on a non-x86 machine (Alpha, Sparc, ARM, ...), you have a virtual cpu plugged into a virtual socket.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAA3ZYrARe8mERCeLXnGT26QzMg=XncOaXkgzjp=eY9x1_U-Mag>