DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5th January 2009
Randux Randux is offline
Disgruntled desktop user
 
Join Date: May 2008
Location: Siberia
Posts: 100
Default 7.1-RELEASE AMD64 SMP kernel???

Hi,

I may be hallucinating but I was sure FreeBSD shows each of the CPUs in top. I just installed 7.1-RELEASE from the AMD64 DVD and only one CPU is showing. I can't find a kernel package on the disk.

Isn't the default kernel SMP-enabled? Does anybody know anything about this?

Thanks,
Rand

Edit: more info: I do see "CPU 1 LAUNCHED!" on the startup so presumably the kernel is SMP-enabled.
__________________
BSDForums.org refugee #27
Multibooting with LILO

Last edited by Randux; 5th January 2009 at 01:30 PM.
Reply With Quote
  #2   (View Single Post)  
Old 5th January 2009
Oliver_H's Avatar
Oliver_H Oliver_H is offline
Real Name: Oliver Herold
UNIX lover
 
Join Date: May 2008
Location: Germany
Posts: 427
Default

>Isn't the default kernel SMP-enabled?

Yes: http://svn.freebsd.org/viewvc/base/r...60&view=markup

>I may be hallucinating but I was sure FreeBSD shows each of the CPUs in top.

No, as far as I know there is a UNIX top in beta since some months. Htop uses a new extension to the Linuxulator and shows both of the cpus.
__________________
use UNIX or die :-)
Reply With Quote
  #3   (View Single Post)  
Old 5th January 2009
Randux Randux is offline
Disgruntled desktop user
 
Join Date: May 2008
Location: Siberia
Posts: 100
Default

That's odd, both OpenBSD and NetBSD show each CPU separately. top does show CPU assignments in the work listing however. At one point I saw different tasks running under CPU0 and CPU1.
__________________
BSDForums.org refugee #27
Multibooting with LILO
Reply With Quote
  #4   (View Single Post)  
Old 5th January 2009
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

When top is run on an SMP kernel, you get an extra column labelled C that shows which CPU a process is running on. Top in FreeBSD has always shown a single line in the summary that shows the usage % across all CPUs (unlike Linux top which shows either a single line, or separate lines for each CPU).
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #5   (View Single Post)  
Old 5th January 2009
Randux Randux is offline
Disgruntled desktop user
 
Join Date: May 2008
Location: Siberia
Posts: 100
Default

Thank you.
__________________
BSDForums.org refugee #27
Multibooting with LILO
Reply With Quote
  #6   (View Single Post)  
Old 5th January 2009
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

FreeBSD 7.1 includes a new top with a -P option that shows separate per-CPU stats lines. I thought this was an 8-CURRENT-only feature, but the release notes show it is in 7.1.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #7   (View Single Post)  
Old 6th January 2009
Randux Randux is offline
Disgruntled desktop user
 
Join Date: May 2008
Location: Siberia
Posts: 100
Default

Thanks, I'll try it. I'm going back to 7.1-i386 on my Core 2 Duo box today to try to install VMWare. It goes a long time in ports before finally spitting out a message that it doesn't build on AMD64 (groan).
__________________
BSDForums.org refugee #27
Multibooting with LILO
Reply With Quote
  #8   (View Single Post)  
Old 6th January 2009
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

Quote:
Originally Posted by Randux View Post
Thanks, I'll try it. I'm going back to 7.1-i386 on my Core 2 Duo box today to try to install VMWare. It goes a long time in ports before finally spitting out a message that it doesn't build on AMD64 (groan).
Back to your original question.
Code:
systat
should show you two separate processors and load on each of them.
I am not sure that VMWare is building on FreeBSD period. That might be
one of many stale ports which needs to be pruned. Could you please post your experience with VMWare on FreeBSD.
Reply With Quote
  #9   (View Single Post)  
Old 6th January 2009
Randux Randux is offline
Disgruntled desktop user
 
Join Date: May 2008
Location: Siberia
Posts: 100
Default

Quote:
Originally Posted by phoenix View Post
FreeBSD 7.1 includes a new top with a -P option that shows separate per-CPU stats lines. I thought this was an 8-CURRENT-only feature, but the release notes show it is in 7.1.
Yeah, it's exactly what I wanted. Thanks!
__________________
BSDForums.org refugee #27
Multibooting with LILO
Reply With Quote
Old 6th January 2009
Randux Randux is offline
Disgruntled desktop user
 
Join Date: May 2008
Location: Siberia
Posts: 100
Default

Quote:
Originally Posted by Oko View Post
Back to your original question.
Code:
systat
should show you two separate processors and load on each of them.
I am not sure that VMWare is building on FreeBSD period. That might be
one of many stale ports which needs to be pruned. Could you please post your experience with VMWare on FreeBSD.
I tried to build it on 7.1-RELEASE-AMD64. It downloads a lot of stuff and wastes a lot of time and then gives a message that the port is not valid on AMD64.

I just installed 7.1-RELEASE-i386 and spent a few hours getting myself situated. I built vmware3 again from ports. It built ok but it does not come up. I am getting a message that says "could not open /dev/vmmon: No such file or directory. Please make sure that the kernel module 'vmmon' is loaded."

kldstat doesn't show vmmon but I also don't know where to find it. The documentation I found isn't helpful, it's old and apparently the port maintainer doesn't give a sh$t about this port. Not sure why, since no other reasonable (production ready) virtualization is available in ports.

I have done some searching and a few people reported this problem and nobody answered them. If I can't get this to work soon I will dump my i386 install and try openSUSE next, of all things. OMG somebody help me. openSUSE is officially "supported" by VirtualBox. Maybe it will work.
__________________
BSDForums.org refugee #27
Multibooting with LILO
Reply With Quote
Old 6th January 2009
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

Quote:
Originally Posted by Randux View Post
If I can't get this to work soon I will dump my i386 install and try openSUSE next, of all things. OMG somebody help me. openSUSE is officially "supported" by VirtualBox. Maybe it will work.
If you want virtualization on BSD the way to go is NetBSD and Xen.
If I had to use Linux for anything serious IMHO the way to go is CentOS(RedHat).
Reply With Quote
Old 6th January 2009
Randux Randux is offline
Disgruntled desktop user
 
Join Date: May 2008
Location: Siberia
Posts: 100
Default

Have you used NetBSD and Xen?

I have a serious Linux, it's called SLACKWARE.

BTW Xen is turn-key on openSUSE 11.1. It works like magic. openSUSE is a super nice commercial, kitchen-sink distro. But Heaven help you if anything ever goes wrong...it's all smoke and mirrors.
__________________
BSDForums.org refugee #27
Multibooting with LILO
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD 7.2-RELEASE vermaden FreeBSD General 6 12th May 2009 08:33 PM
Aaah! Help! Kernel panic! 7.0-RELEASE-p4 Weaseal FreeBSD General 4 2nd October 2008 02:47 PM
-Release vs. -Stable guitarscn OpenBSD Installation and Upgrading 3 2nd October 2008 02:32 PM
FreeBSD 6.2-RELEASE > 7.0-RELEASE Upgrade Marci FreeBSD Installation and Upgrading 2 23rd July 2008 02:10 PM
amd64 or x86? mosburn FreeBSD General 8 21st May 2008 09:51 PM


All times are GMT. The time now is 10:36 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick