Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-03-2007, 08:16 AM   #1
Registered: Jul 2006
Distribution: Slackware 11
Posts: 140

Rep: Reputation: 15
SMP and Xen on slackware


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.....
Old 01-04-2007, 12:52 AM   #2
Senior Member
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
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.
Old 01-04-2007, 12:56 AM   #3
LQ Newbie
Registered: Sep 2006
Posts: 29

Rep: Reputation: 15
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 12:59 AM.
Old 01-05-2007, 02:19 AM   #4
Registered: Jul 2006
Distribution: Slackware 11
Posts: 140

Original Poster
Rep: Reputation: 15
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 =)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 11-05-2006 12:21 PM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 10-21-2006 11:33 PM
How to run RHEL 4 as guest in Xen(SLES 10 XEN) darshanbv Linux - Software 1 06-26-2006 11:21 AM
XEN-SUSE 10.1-- DHCP Server works under plain but not under XEN Dimitriy Linux - Networking 4 06-08-2006 05:53 PM
Slackware 10 SMP swinchen Slackware 1 09-13-2004 10:17 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration