LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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-01-2013, 04:53 AM   #1
smdaudhilbe
Member
 
Registered: Feb 2013
Posts: 43

Rep: Reputation: Disabled
virtualbox


Hi,

Friends after installing ubuntu inside my virtualbox, I noticed that everything is slower inside my vm. Is that normal for a vm..?

I assigned 8 GB virtual harddrive and 1 GB RAM.. for my vm...anything more it need??
 
Old 04-01-2013, 05:19 AM   #2
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,590

Rep: Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228
Hi,

Quote:
Originally Posted by smdaudhilbe View Post
Friends after installing ubuntu inside my virtualbox, I noticed that everything is slower inside my vm. Is that normal for a vm..?
Slower than what? If you mean slower than bare metal, then yes. What benchmarks did you use for the comparison? What results did you get?

Evo2.
 
Old 04-01-2013, 05:43 AM   #3
smdaudhilbe
Member
 
Registered: Feb 2013
Posts: 43

Original Poster
Rep: Reputation: Disabled
Hi,

I mean, my virtual machine works very slowly....when I compare it with host....! Is that normal?

---------- Post added 04-01-13 at 04:43 AM ----------

Hi,

I mean, my virtual machine works very slowly....when I compare it with host....! Is that normal?
 
Old 04-01-2013, 05:52 AM   #4
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,590

Rep: Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228
Hi,

what does "very slowly" mean? And what in particular? If you are talking about 3D graphics, then yes, if you are talking about simple floating point calculations, then I'd say no.

Evo2.
 
Old 04-01-2013, 07:42 AM   #5
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,245

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
In general it is normal that virtualized system works slower, it need additional steps to accomplish the same task like on non virtualized hardware. However, it all depends on your real hardware and settings, and if you have decent hardware you should not notice decreased performance.

1GB should suffice for Ubuntu, but 3D games or more complicated applications need more. Be sure not to assign more than about 90% of your real free RAM to virtual machine, your real system still needs RAM to operate and if it consume too much it will start to use swap, that will decrase performance of both systems. Check settings of your virtual machine like: hardware virtualization (VT-x/AMD-V), Nested paging, IO APIC, 3D Acceleration. Without these setting you can get performance penalty. Also make sure you installed "Guest Additions" - available on Device menu after starting virtual system.

Also you did not mentioned what hardware, host and guest system you have: 32 or 64bit and which versions.
 
Old 04-01-2013, 07:49 AM   #6
smdaudhilbe
Member
 
Registered: Feb 2013
Posts: 43

Original Poster
Rep: Reputation: Disabled
virtualbox

Hi,

Thanks for your prompt reply

I am not able to catch up "guest additions" option you just said...Please explain it little more...

Mine host is Debian (squeeze), and I installed Ubuntu 12.1x in virtual box... my cpu is dual core and my ram is 2 GB...
 
Old 04-01-2013, 08:13 AM   #7
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,245

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
When you start virtual system you should see in "Devices" menu (it is visible on windowed mode or slided from bottom when you move cursor there), shortcut is HostKey+D. Read the whole manual of installing guest additions.

With 2GB RAM it may be difficult to satisfy both systems. Check how many free RAM you have on both systems after starting virtual machine. You can view it by issuing command "free -m".

You have dual core CPU but it is 32 or 64bit and your systems are 32 or 64 bit?
 
Old 04-01-2013, 11:49 PM   #8
smdaudhilbe
Member
 
Registered: Feb 2013
Posts: 43

Original Poster
Rep: Reputation: Disabled
virtualbox

Mine is 32 bit processor...
 
Old 04-02-2013, 08:31 AM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,651
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
The information about your processor is not sufficient for us to help you. Please post the output of
Code:
cat /proc/cpuinfo
If you have a 32 bit dual-core CPU (most like a Core Duo or Pentium D) then you most likely do not have hardware support for virtualization. That would be the cause for slow running VMs, but as said above, we need more information.
 
Old 04-02-2013, 11:27 PM   #10
smdaudhilbe
Member
 
Registered: Feb 2013
Posts: 43

Original Poster
Rep: Reputation: Disabled
cot@boss:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Pentium(R) Dual-Core CPU T4500 @ 2.30GHz
stepping : 10
cpu MHz : 1200.000
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm dts
bogomips : 4588.74
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Pentium(R) Dual-Core CPU T4500 @ 2.30GHz
stepping : 10
cpu MHz : 1200.000
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm dts
bogomips : 4588.45
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
 
Old 04-03-2013, 12:55 AM   #11
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,651
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
The T4200 (which by the way is a 64 bit CPU) does not have support for hardware virtualization, so that you get slow VMs is absolutely normal on this hardware.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Move Slackware guest from a Slackware hosted Virtualbox to Windows hosted Virtualbox? damgar Slackware 1 08-08-2012 12:28 AM
VirtualBox jokar.mohsen Linux - Software 4 03-21-2011 08:43 PM
[SOLVED] VirtualBox CincinnatiKid Slackware 7 09-09-2010 10:31 PM
virtualbox or virtualbox ose manuleka Linux - Software 2 06-11-2009 03:56 PM
virtualbox j d Linux - Software 22 11-05-2007 02:16 AM


All times are GMT -5. The time now is 01:47 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration