|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
FreeBSD 6.2 and ESX 3.5 SMP
I read quite a bit of stuff about FreeBSD 6.2 being unstable in it's SMP form under vmware ESX, typically in the form of kernel panics and the like under load. I just installed a test VM on a Poweredge 6650 with quad 3.0ghz processors, built world, built an smp kernel, installed the smp kernel. I then rebooted and ran cleanworld, now I'm running build world again just to see how it performs and I'm quite shocked to see it working out rather well. It seems to be running much quicker this time around however the Virtual Infrastructure client shows that it is still only using about 3.2ghz out of the 6ghz that it is allotted.(probably because the compiler can only use one proccessor at a time and I don't think FreeBSD will thread something like this)
Has there been any new information on this that I missed? Although it is not using much of the second processor, it appears to be stable thus far. I would like to run an SMP kernel on a few VM's that I have even though they may not need it. I have the power to use so I would like them to perform as well as they can. Thanks! |
|
|||
Quote:
I'm running the buildworld with -j20 now to see how it goes. cc1 seg faulted on me on the first run.(not all that uncommon for me. pretty much anytime I've compiled anything under vmware it seg faults constantly for no apparent reason) And before I got done typing this post I got an error. I'm going to run clean world first and then try it again. And it just error'd out again. 20 threads might be causing it to get ahead of itself. I'm seeing it try to use all 6 ghz of the proccessing power allocated to it. And it seems that I have uncovered the instability of SMP under ESX. While using -j to specify even just 2 parallel threads, I constantly get stop errors and seg faults within just a minute or two of compiling. Looks like SMP has not been fixed yet. *sigh* I also just realized why your post is talking about processing power. In the Virtual Infrastructure client, there are performance graphs that show how many mhz each VM is using. Last edited by Diceman; 23rd August 2008 at 01:56 AM. |
|
||||
Quote:
You are a point release behind in the 6 branch. FreeBSD 6.3 was release months ago, and FreeBSD 6.4 is about to be released according to the mailing list. Furthermore, the latest release in 7.0 stable, which includes massive amounts of SMP work as well as a new scheduler called ULE, which was designed to improve SMP performance and scalability. In 7.0, ULE is a kernel tunable, not the default. The team wanted to do more testing, but it is the default in the Stable branch in preparation for 7.1, which will be released around the same time as 6.4. I don't know the state of SMP in the 6 branch, but I'd advise you to move to 7.0, if SMP is a real concern of yours. It's what I use, and -j20 works. I'm not going to argue if it's safe or not. Multiple threads always carry a risk because dependent threads may complete before the ones they depend on.
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." MacBook Pro (Darwin 9), iMac (Darwin 9), iPod Touch (Darwin 9), Dell Optiplex GX620 (FreeBSD 7.1-STABLE) |
|
||||
Quote:
http://blog.insidesystems.net/articl...on-6-2-and-7-0
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
|||
Quote:
Quote:
|
|
||||
That was not my intention. I only wanted to help you, and I was busy doing something else when I was typing up that response. I apologize for the connotation, although I don't particularly see one.
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." MacBook Pro (Darwin 9), iMac (Darwin 9), iPod Touch (Darwin 9), Dell Optiplex GX620 (FreeBSD 7.1-STABLE) |
|
|||
no problem.
|
|
|