LinuxQuestions.org
Help answer threads with 0 replies.
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 03-07-2012, 07:22 AM   #1
gtludwig
Member
 
Registered: Oct 2005
Location: Brazil
Distribution: Slackware64-current
Posts: 219

Rep: Reputation: 16
Slackware64-current crawling when VirtualBox is running


I had to reinstall my Slackware box some two weeks ago and every once in a while I need to fire up a VirtualBox VM which brings my system to a crawling state specially when I'm using a Java IDE (eclipse or netbeans) or server (tomcat or jboss). It seems to be something Java-related. Has anyone experienced this? Any ideas as how to solved it? I'll gladly provide any other informations necessary.

Thanks in advance,
gtludwig
 
Old 03-07-2012, 07:29 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,007

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
That sounds like what happens if you've got too much RAM allocated to a virtual machine (or have two or more running and using up all the RAM)? Might want to check that.

Hope this helps some.
 
Old 03-07-2012, 07:43 AM   #3
gtludwig
Member
 
Registered: Oct 2005
Location: Brazil
Distribution: Slackware64-current
Posts: 219

Original Poster
Rep: Reputation: 16
@troyane, thanks for the thought, but I don't think this is the case.
My box RAM is 4GiB and I always configure VMs to use a maximum of 1024MiB of RAM and 1 processor. And I try to use only one VM at a time. I know KDE's eats up some RAM, but still... occasionally it freezes up!
 
Old 03-07-2012, 09:47 AM   #4
bosth
Member
 
Registered: Apr 2011
Posts: 219

Rep: Reputation: 62
What's your CPU? Different CPUs have different support for virtualisation.
 
Old 03-07-2012, 11:03 AM   #5
gtludwig
Member
 
Registered: Oct 2005
Location: Brazil
Distribution: Slackware64-current
Posts: 219

Original Poster
Rep: Reputation: 16
@bosth, there's always that!
Code:
$ cat /proc/cpuinfo 
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 15
model		: 107
model name	: AMD Athlon(tm) Dual Core Processor 5200B
stepping	: 2
microcode	: 0x83
cpu MHz		: 2693.172
cache size	: 512 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good nopl extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch lbrv
bogomips	: 5386.34
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps

processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 15
model		: 107
model name	: AMD Athlon(tm) Dual Core Processor 5200B
stepping	: 2
microcode	: 0x83
cpu MHz		: 2693.172
cache size	: 512 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good nopl extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch lbrv
bogomips	: 5384.95
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps
 
Old 03-07-2012, 11:51 AM   #6
bosth
Member
 
Registered: Apr 2011
Posts: 219

Rep: Reputation: 62
Well it has the svm flag. Could something be disabled in your BIOS?

I have no idea whether a bitness difference between the host and guest can cause slowdowns. Is your guest 32 or 64-bit?
 
Old 03-07-2012, 11:56 AM   #7
gtludwig
Member
 
Registered: Oct 2005
Location: Brazil
Distribution: Slackware64-current
Posts: 219

Original Poster
Rep: Reputation: 16
Host is Slackware64-current, guest is Windows XP x86.
I'll have to reboot to check BIOS settings...

Well, nothing there related to virtualisation. Since this is a HP box, I'm not that surprised!

Last edited by gtludwig; 03-07-2012 at 12:58 PM.
 
Old 03-07-2012, 04:43 PM   #8
tmmukunn
Member
 
Registered: Nov 2007
Distribution: Slackware
Posts: 34

Rep: Reputation: 5
what does top or ps say about CPU/Memory utilitization on your host machine while the slowdown is occurring?
 
Old 03-08-2012, 07:42 AM   #9
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,007

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Something you may want to look at (and, yeah, I know this will sound goofy but it'll give you a visual indication of what's going on).

Before you start VirtualBox, start GKrellM (it's included with Slackware) and slide the display over to the lower right corner or somewhere. Then start XP and keep an eye on the two CPU displays -- I've had XP ramp up to 100% on both CPUs for whatever reason XP does that (nope, I dunno, I just kill the damned thing and try not to use it). I think -- think! -- it might have something to do with the Guest Additions not being installed in "Safe Mode" in XP but I can't swear to that (I swear at XP enough to being with, though).

I've never had that problem with Win 7, only with XP, and the only "fix" I ever found was to blow away XP and reinstall it (then sit through the 100's of Critical Updates").

Hope this helps some.
 
1 members found this post helpful.
Old 03-08-2012, 02:28 PM   #10
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 582

Rep: Reputation: 129Reputation: 129
It has todo with the fact that the athlon x2 does not have L3 cache. With a virtual machine running the processor runs out of cache and all memory operations have to come from main memory.
 
Old 03-08-2012, 05:53 PM   #11
tmmukunn
Member
 
Registered: Nov 2007
Distribution: Slackware
Posts: 34

Rep: Reputation: 5
Quote:
Originally Posted by tronayne View Post
Before you start VirtualBox, start GKrellM (it's included with Slackware) and slide the display over to the lower right corner or somewhere.
Thanks for mentioning this application. I had no idea it existed and looks great .
 
  


Reply

Tags
current, java, virtualbox


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
Install "VirtualBox-3.2.12-68 302" in slackware64-current ( kernel 2.6.38.7 ) afreitascs Slackware 16 06-26-2011 01:16 PM
VirtualBox won't run after upgrade to slackware64 current Ook Slackware 9 06-18-2011 07:13 AM
VirtualBox 3.2.0 and Slackware64 13.1 rpedrica Slackware 3 05-27-2010 08:10 AM
[SOLVED] Video Problems in VirtualBox on Slackware64-current TSquaredF Slackware 8 10-20-2009 11:44 PM
Updating from Slackware64-current to Slackware64 13. glore2002 Slackware 4 08-28-2009 06:50 PM


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

Main Menu
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