LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Is there a way to have Linux run on one core and Windows the other? (https://www.linuxquestions.org/questions/linux-newbie-8/is-there-a-way-to-have-linux-run-on-one-core-and-windows-the-other-803102/)

anotherlinuxnewb 04-20-2010 01:34 PM

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?

Tinkster 04-20-2010 01:38 PM

Nope.

johnsfine 04-20-2010 01:49 PM

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).

H_TeXMeX_H 04-20-2010 01:50 PM

The closest you could get is a VM, in which you could do that, but only virtually.

catkin 04-20-2010 01:54 PM

How about a hypervisor rather than virtualisation software?

Tinkster 04-20-2010 01:58 PM

Quote:

Originally Posted by catkin (Post 3941716)
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?

anotherlinuxnewb 04-20-2010 02:13 PM

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.)

mostlyharmless 04-20-2010 02:29 PM

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).

anotherlinuxnewb 04-20-2010 02:49 PM

Quote:

Originally Posted by mostlyharmless (Post 3941763)
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?

frieza 04-20-2010 03:40 PM

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

jefro 04-20-2010 09:08 PM

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.

catkin 04-21-2010 02:50 AM

Quote:

Originally Posted by Tinkster (Post 3941721)
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.

bsat 04-21-2010 07:41 AM

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.

onebuck 04-21-2010 08:22 AM

Hi,

Quote:

Originally Posted by frieza (Post 3941830)
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.”

...

H_TeXMeX_H 04-21-2010 12:22 PM

Quote:

Originally Posted by Tinkster (Post 3941721)
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.


All times are GMT -5. The time now is 11:43 AM.