LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-20-2010, 01:34 PM   #1
anotherlinuxnewb
LQ Newbie
 
Registered: Apr 2010
Posts: 12

Rep: Reputation: 0
Is there a way to have Linux run on one core and Windows the other?


I know this is probably a totally ludicrous question, but is there a way to have Linux run on one processor and half the RAM in the background while Windows is in the foreground... and switch between them at will?
 
Old 04-20-2010, 01:38 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Nope.
 
Old 04-20-2010, 01:49 PM   #3
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
I think you could get quite close to that by running one in a virtual machine in the other. So "no" to exactly what you asked for, but probably "yes" to what you actually want. (But beyond that, I don't know any details).
 
Old 04-20-2010, 01:50 PM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
The closest you could get is a VM, in which you could do that, but only virtually.
 
Old 04-20-2010, 01:54 PM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
How about a hypervisor rather than virtualisation software?
 
Old 04-20-2010, 01:58 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by catkin View Post
How about a hypervisor rather than virtualisation software?
How many hypervisors (apart from e.g., the firmware ones that
come in IBMs p or z series machines) do you know that aren't
part of a virtualisation package?
 
Old 04-20-2010, 02:13 PM   #7
anotherlinuxnewb
LQ Newbie
 
Registered: Apr 2010
Posts: 12

Original Poster
Rep: Reputation: 0
Hmmm.. well that's too bad. Is this theoretically possible through software? Or would you have to have a specific motherboard to handle such a task?

I tried running Kubuntu as a virtual machine, but there were conflicts with the hardware I believe, so I had to reboot. I basically don't want my windows machine to touch the Net. But if I ran a firewall where I denied outgoing/incoming access on windows, that would also not allow Linux to reach the net. Seems like the only way to do this is to reboot into linux whenever I need the net. (Or rather reboot into Windows whenever I need a software package.)

Last edited by anotherlinuxnewb; 04-20-2010 at 02:17 PM.
 
Old 04-20-2010, 02:29 PM   #8
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
You could run coLinux. It will only run on one processor in a multiprocessor machine; I'm not sure about multicore but probably the same, and you can use it as proxy to run/block any Windows access to the Web as needed. The downside is that you'll be running Windows.

The other thing you could do if you dual boot is to block access to the Windows machine only with your router (assuming you use one).

Last edited by mostlyharmless; 04-20-2010 at 02:32 PM.
 
1 members found this post helpful.
Old 04-20-2010, 02:49 PM   #9
anotherlinuxnewb
LQ Newbie
 
Registered: Apr 2010
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mostlyharmless View Post
You could run coLinux. It will only run on one processor in a multiprocessor machine; I'm not sure about multicore but probably the same, and you can use it as proxy to run/block any Windows access to the Web as needed. The downside is that you'll be running Windows.

The other thing you could do if you dual boot is to block access to the Windows machine only with your router (assuming you use one).
Hmm coLinux looks really interesting, though I'm not really sure I understand how it works. The problem is it doesn't support 64-bit Windows, so that's not an option yet :/ I'm really surprised...hmm.

I was looking at Virtual Box... seems like a good option too?
 
Old 04-20-2010, 03:40 PM   #10
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
i think some super computers could do something like that ( but dont quote me on this, of course this could be simply virtualization) but it would require specialized firmware and some means of switching between running operating sytems, the best bet would be as mentioned, a vm
 
Old 04-20-2010, 09:08 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
The main issue is can it be done, well, yes. There are example of it I know on different OS's and systems so it does work.

As to you being able to use it, I doubt it. X86 systems were never designed for that. It gets down to the nuts and bolts that can't do exactly totally what you want.


What you do already have is a the ability to set affinity and priority of tasks. You could run a VM and set the affinity to a single cpu core and set priority to the lowest. It will do as close to what you want with the least amount of trouble.
 
Old 04-21-2010, 02:50 AM   #12
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by Tinkster View Post
How many hypervisors (apart from e.g., the firmware ones that
come in IBMs p or z series machines) do you know that aren't
part of a virtualisation package?
None, absolutely none! I was tossing a conceptual hat into the ring rather than having any specific implementations in mind.
 
Old 04-21-2010, 07:41 AM   #13
bsat
Member
 
Registered: Feb 2009
Posts: 347

Rep: Reputation: 72
taking ahead what jefro said.... if we can set the affinity for a VM to run on a specific processor then.
what would happen if we used the "wubi" installer and set the affinity of the installer to one processor.
Sorry may be it sounds absurd. but just a thought.
 
Old 04-21-2010, 08:22 AM   #14
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Quote:
Originally Posted by frieza View Post
i think some super computers could do something like that ( but dont quote me on this, of course this could be simply virtualization) but it would require specialized firmware and some means of switching between running operating sytems, the best bet would be as mentioned, a vm
I'm quoting!

On Supercomputers we do virtualize along with clustering which are the snowball today. Crays latest release is Linux based but it's been that way for awhile.

Quote:
excerpt;

CRAY releases latest version of its linux OS equipped with new cluster compatibility mode
By admin | April 14th, 2010 | Category: Latest, Super Computing | No Comments »

At the 2010 High Performance Computing (HPC) User Forum in Dearborn, Michigan, global supercomputer leader Cray Inc. today announced the release of the latest version of its Cray Linux Environment – the production petascale operating system for the company’s line of Cray XT supercomputers. This third generation of the Cray Linux Environment includes the introduction of Cluster Compatibility Mode, allowing Cray XT supercomputers to run applications from Independent Software Vendors (ISVs) without modifications.

“Scalability is a key component of designing Cray supercomputers and this latest version of our Cray Linux Environment continues to be one of the most scalable Linux environments for high performance computing,” said Barry Bolding, Cray’s vice president of scalable systems. “The introduction of Cluster Compatibility Mode significantly enhances the compatibility features of our operating system. Now the most powerful supercomputers in the world can run our customers’ key ISV applications right out of the box.”

...
 
Old 04-21-2010, 12:22 PM   #15
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by Tinkster View Post
How many hypervisors (apart from e.g., the firmware ones that
come in IBMs p or z series machines) do you know that aren't
part of a virtualisation package?
None, of course.

Anyway if you want a hypervisor, try Xen.
 
  


Reply



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: CrossOver Linux 9: Run Windows apps without Windows LXer Syndicated Linux News 2 03-31-2010 06:52 AM
How to run the linux process on multiple core saurin Linux - General 1 10-26-2009 02:01 PM
With Dual core, can Winxp and Linux run at the same time? jang Linux - General 20 07-17-2006 10:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:01 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