LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 04-13-2011, 05:13 AM   #1
woodzy
Member
 
Registered: Feb 2011
Posts: 31

Rep: Reputation: 0
cpu core Virtualization help


i have a remote VPS far away from my home and id like to know if theres a way to turn its 6 cores in to err, 3 and in turn dubbleing the power of the 3 cores buy useing the extra power from the outher 3 cores.
ubuntu 10_10 server, core-ftp and putty to work with here for an interface. openjdk6
6 cores
4 GB ram
50GB harddrive
need more info tell what you need
any help with this would be super thanks
 
Old 04-13-2011, 11:42 PM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
What is the problem that you are trying to solve?
 
Old 04-14-2011, 06:12 PM   #3
woodzy
Member
 
Registered: Feb 2011
Posts: 31

Original Poster
Rep: Reputation: 0
im trying to give this java program mopre cpu power and i cant recode the program (dont know how).
its not multi cored. so i want to emulate multi cores to be one core so the one emulated core would have more power
 
Old 04-14-2011, 06:22 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
That is logically impossible. If your program is not multithreaded, which means it runs only on one core, the only thing you can do to speed it up is to use a processor with higher clock frequency.
 
Old 04-14-2011, 07:47 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Change priority of the vm or app or parts of to real time or just below it?
 
Old 04-14-2011, 11:13 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by TobiSGD View Post
That is logically impossible.
No it ain't. In a virtual environment it is quite possible to assign less than 100% of an engine to a guest. Simple enough to change the allocation and charge the client more - up to the physical capacity of the engine(s).
Of course the percentage is actually of time not of the engine itself, but that applies to all CPU% measurements.

As mentioned, multi-threaded code is the obvious answer all round
 
Old 04-15-2011, 04:50 AM   #7
woodzy
Member
 
Registered: Feb 2011
Posts: 31

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jefro View Post
Change priority of the vm or app or parts of to real time or just below it?
didnt work, any outher ideas?
 
Old 04-15-2011, 06:04 AM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by syg00 View Post
No it ain't. In a virtual environment it is quite possible to assign less than 100% of an engine to a guest. Simple enough to change the allocation and charge the client more - up to the physical capacity of the engine(s).
Of course the percentage is actually of time not of the engine itself, but that applies to all CPU% measurements.

As mentioned, multi-threaded code is the obvious answer all round
I should have made it clearer. What I wanted to say is that is is impossible to generate one virtual core that is faster because there are other cores in the machines, like 1 virtual core with 6 GHz, just because there are two physical cores with 3 GHz. That is what I understood the OP wants to achieve, that won't work.
 
Old 04-15-2011, 08:19 PM   #9
woodzy
Member
 
Registered: Feb 2011
Posts: 31

Original Poster
Rep: Reputation: 0
all right, then how do i get more Err :/ ummm, power per cpu core on a VPS? i have heard of it beeing done but i cant find out how it was done. all i know is that 6 cpu cores were combined in to 3 cores.

Last edited by woodzy; 04-15-2011 at 08:20 PM.
 
Old 04-15-2011, 11:07 PM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Talk to the vendor. Presumably they offer packages - you might have to move to a different platform to get bigger engines.
Might be do-able on your current plan, depends.

Either way, bet it's going to cost you.
 
Old 04-16-2011, 11:36 AM   #11
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
You might want to see what it would take to re-architect your app. If you're going to spend money, be sure to check all your options.
 
Old 04-20-2011, 12:06 AM   #12
woodzy
Member
 
Registered: Feb 2011
Posts: 31

Original Poster
Rep: Reputation: 0
well my vender sayed thay wont help me, im on my own here :/
i need to turn 6 cores in to 2 cores with therr GHZ combined in to the EMULATED 2 cores
 
Old 04-20-2011, 11:48 PM   #13
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Ok. Of the 6 virtual CPUs that you have, do you know what their share of a physical CPU is? Also,go to the sources where you've heard about this being done, and ask them how they did it.

Last edited by stickman; 04-20-2011 at 11:50 PM.
 
Old 04-22-2011, 05:25 PM   #14
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Then you need a virtual machine that is using all 6 cores (many are fully smp) and make a VM that has 2 cores. That is then only way I know of to use 6 to act as two.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to check cpu supports full virtualization ? umwai Linux - Virtualization and Cloud 3 04-11-2010 02:07 PM
cpu frequency scaling with Pentium(R) Dual-Core CPU E5200 @ 2.50GHz tramni1980 Slackware 5 08-16-2009 08:29 AM
Can you install two OS on a dual-core computer (one OS on each CPU core?) kushalkoolwal Linux - Software 7 10-17-2008 05:57 AM
OpenSuSE - CPU does not support full virtualization JosipMiller SUSE / openSUSE 3 06-25-2008 04:56 AM
Intel DG33FB motherboard - cannot run second core on cpu (core 2 duo) rmitev Linux - Enterprise 2 09-28-2007 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 08:04 AM.

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