Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-03-2007, 09:16 AM
|
#1
|
Member
Registered: Jul 2006
Distribution: Slackware 11
Posts: 140
Rep:
|
SMP and Xen on slackware
Dear,
forgive me if this question has already been answered or is plainly foolish but. Since some operating systems would only work as guest with processors using VT only (windows for instance), would it be possible to use an smp machine and dedicate one cpu for the host OS and use the other one only for guest OSes?
I just thought it could be a way around the ring permission problem.....
|
|
|
01-04-2007, 01:52 AM
|
#2
|
Senior Member
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Rep:
|
I'm not sure if that's possible, but I don't think it's necessary. The scheduler which deals with which thread get sent to what cpu should spread them roughly evenly, if the guest uses roughly equal resources to the host. Or maybe I don't understand the quesion. Are you asking if you can use this as a way of overcoming hardware incompatability. If that's your question - sorry, but I have no clue.
|
|
|
01-04-2007, 01:56 AM
|
#3
|
LQ Newbie
Registered: Sep 2006
Posts: 29
Rep:
|
It is possible with VMware actually in Vmware 5.5 I am pretty sure there is an experimental multicore option.
I am not sure what you are asking either, either way the Kernel has to see both CPU's so the ring 0 problem will always exist because even the Vmware modules are kernel modules. If you don't enable SMP support in your kernel nothing can use the other CPU, (as I understand it anyways, i could be very wrong on this)
Last edited by z3r0.0v3rrid3; 01-04-2007 at 01:59 AM.
|
|
|
01-05-2007, 03:19 AM
|
#4
|
Member
Registered: Jul 2006
Distribution: Slackware 11
Posts: 140
Original Poster
Rep:
|
Ok my apologies if this was a bit confusing. I was actually referring to an article I read in a magazine recently:
Before VT and SVM, all x86 chips used four rings of privileges for execution. On ring 0 were the most privileged processes (usually the OS), and on ring 4 the less privileged processes (usually users applications). This forces secure separation of privileges at the hardware level: only ring 0 apps can have direct control over the hardware ....
Well basically I was just thinking if it would be possible for the host OS to only use 1 CPU and leave another CPU for the guest OS, but as you said the kernel has to see both CPU so my question is rubbish ^^ shame =)
|
|
|
All times are GMT -5. The time now is 08:17 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|