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

Notices


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

Rep: Reputation: 15
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.....
 
Old 01-04-2007, 01:52 AM   #2
PatrickNew
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, 01:56 AM   #3
z3r0.0v3rrid3
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 01:59 AM.
 
Old 01-05-2007, 03:19 AM   #4
Chikne
Member
 
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 =)
 
  


Reply


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 01:21 PM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 10-22-2006 12:33 AM
How to run RHEL 4 as guest in Xen(SLES 10 XEN) darshanbv Linux - Software 1 06-26-2006 12:21 PM
XEN-SUSE 10.1-- DHCP Server works under plain but not under XEN Dimitriy Linux - Networking 4 06-08-2006 06:53 PM
Slackware 10 SMP swinchen Slackware 1 09-13-2004 11:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:17 PM.

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