Re: Multi CPU?
On Mon, Jun 18, 2007 at 07:51:51PM -0700, Jeff Mohler wrote: > Am I using both CPUs as I should when I look at this from top? > > PIDUID THR PRI NICE SIZERES STATE C TIME WCPU > COMMAND > 11 0 1 171 52 0K 8K CPU1 0 0:00 99.56% idle: > cpu1 > 12 0 1 171 52 0K 8K RUN0 666.2H 78.81% idle: > cpu0 > > > > cpu1 seems...not used? Is it a real CPU or a hyperthread? Hyperthreading may be disabled in your BIOS and is disabled by default in FreeBSD 7. Kris pgpg4TfIhluZB.pgp Description: PGP signature
Re: Multi CPU?
Jeff Mohler wrote: Am I using both CPUs as I should when I look at this from top? PIDUID THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 11 0 1 171 52 0K 8K CPU1 0 0:00 99.56% idle: cpu1 12 0 1 171 52 0K 8K RUN0 666.2H 78.81% idle: cpu0 cpu1 seems...not used? Depends on the version of FreeBSD, as well as the scheduler you're using. 7-CURRENT with the ULE scheduler is quite a bit better than the same version with the 4BSD. 6.x with the ULE scheduler shouldn't be used because it's highly unstable. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Multi-CPU Question
On Monday 16 October 2006 12:26, Payne wrote: > Where in /proc can I see that? Unlike Linux, FreeBSD shows only process and kernel thread information in procfs. The equivalent interface for seeing/changing system options is sysctl. Try "sysctl hw | less". For example: root:0:~# sysctl -d hw.ncpu hw.ncpu: Number of active CPUs root:0:~# sysctl hw.ncpu hw.ncpu: 1 It's better with descriptions, isn't it? HTH, Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Multi-CPU Question
On Monday 16 October 2006 04:26, you wrote: > Lane wrote: > > On Monday 16 October 2006 04:01, Payne wrote: > >> Hi all, > >> > >> Hello I have a question. I got a box. I got a strange message... > >> > >> SMP: AP CPU #2 Launched! > >> > >> Is there a place under /proc that I can see if the first processor still > >> working? Do I need to reboot the box, what does that message mean? Why > >> does it happen? > >> > >> Thanks > >> > >> > >> Payne > >> ___ > >> freebsd-questions@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> To unsubscribe, send any mail to > >> "[EMAIL PROTECTED]" > > > > Payne, > > > > I believe CPU #x Launched! means that your SMP Kernel is working > > properly, has detected the multiple CPU's and has begun using them. > > > > My CPU's are numbered #0 and #1 so I get "CPU #1 Launched!" > > > > lane > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "[EMAIL PROTECTED]" > > Where in /proc can I see that? > > Payne Hmmm... I don't know that you can see it in /proc. Read "man smp" and follow the "SEE ALSO" section. mptable shows some configuration information about SMP. Also you can see activity in various CPU's with "top" lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Multi-CPU Question
Lane wrote: On Monday 16 October 2006 04:01, Payne wrote: Hi all, Hello I have a question. I got a box. I got a strange message... SMP: AP CPU #2 Launched! Is there a place under /proc that I can see if the first processor still working? Do I need to reboot the box, what does that message mean? Why does it happen? Thanks Payne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Payne, I believe CPU #x Launched! means that your SMP Kernel is working properly, has detected the multiple CPU's and has begun using them. My CPU's are numbered #0 and #1 so I get "CPU #1 Launched!" lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Where in /proc can I see that? Payne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Multi-CPU Question
On Monday 16 October 2006 04:01, Payne wrote: > Hi all, > > Hello I have a question. I got a box. I got a strange message... > > SMP: AP CPU #2 Launched! > > Is there a place under /proc that I can see if the first processor still > working? Do I need to reboot the box, what does that message mean? Why > does it happen? > > Thanks > > > Payne > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" Payne, I believe CPU #x Launched! means that your SMP Kernel is working properly, has detected the multiple CPU's and has begun using them. My CPU's are numbered #0 and #1 so I get "CPU #1 Launched!" lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"