LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-13-2007, 04:54 PM   #1
r00tb33r
Member
 
Registered: Feb 2007
Distribution: Vector
Posts: 318

Rep: Reputation: 31
can someone tell me if my processor has virtualization features to use KVM?


I have a socket 754 Sempron64 3400+ processor with 256kb cache... I am not sure which core it is and not sure how to check.
I need to know if my processor has vmx or svm features to be able to use hardware KVM.
The following line checks the above cpu features:
Code:
grep -E '^flags.*(vmx|svm)' /proc/cpuinfo
And I get no output.
I don't know whether my kernel was not compiled to use the features or what... If I need to compile the kernel to support those features, thats fine but I need to know what processor family to choose in "make xconfig"
Currently I am running 2.6.20.6.
Would someone post the output they get with the above line? I just wanna know if its just my system or my processor really doesn't have virtualization features.
 
Old 04-13-2007, 08:51 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
There's nothing to compile in the kernel; these are CPU hardware flags returned by the cpuid instruction. You can just 'less /proc/cpuinfo'. There's not much there. The feature you're looking for on an AMD is svm (secure virtual machine).

You don't need the function to use virtual machines; it provides a performance benefit. You can, for example, use the (free) VMWare Server software to run Windows XP in a virtual guest without the hardware assist. Even without the assist, it runs very well.
 
Old 04-13-2007, 11:20 PM   #3
r00tb33r
Member
 
Registered: Feb 2007
Distribution: Vector
Posts: 318

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by macemoneta
You can, for example, use the (free) VMWare Server software to run Windows XP in a virtual guest without the hardware assist. Even without the assist, it runs very well.
That would be solely your opinion.
As for my the software virtualization is way too slow, even for my fairly recent and up-to-date machine.
This is quite a shocker actually... I thought that my CPU wasn't that old...
 
Old 04-13-2007, 11:46 PM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Quote:
Originally Posted by r00tb33r
That would be solely your opinion.
As for my the software virtualization is way too slow, even for my fairly recent and up-to-date machine.
This is quite a shocker actually... I thought that my CPU wasn't that old...
That would be my experience.

KVM runs much slower than VMWare; the two are not comparable. I can run WinXP in a VMWare virtual machine on my 6 year old laptop (1.7GHz P4M) at near native speed. That is, fast enough that I don't experience any slowdown or sluggishness.

Since VMWare Server is free, give it a try. You will be surprised.
 
Old 04-14-2007, 02:12 AM   #5
r00tb33r
Member
 
Registered: Feb 2007
Distribution: Vector
Posts: 318

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by macemoneta
That would be my experience.

KVM runs much slower than VMWare;
You mean software or hardware KVM?
Keep in mind, KVM falls back to software if there is no hardware support.
Software KVM is indeed quite slow.
I'll try VMWare though...
 
Old 04-14-2007, 02:59 AM   #6
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Rep: Reputation: 30
Virtual Box is another good program to try for this. www.virtualbox.org
I use it myself with XP and it runs much better then I had expected it.

As for the processor, you should be able to take a look in the bios, it should have an option to activate the virtualisation feature, that way you'll also know if you have it or not, and then you need to either compile the kernel (above 2.6.20) and checking the virtualisation feature, or just install the module, there are instructions on the kvm website.
 
Old 04-14-2007, 10:22 AM   #7
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Quote:
Originally Posted by r00tb33r
You mean software or hardware KVM?
Keep in mind, KVM falls back to software if there is no hardware support.
Software KVM is indeed quite slow.
I'll try VMWare though...
In both cases, you (and I) will be using software virtualization, since the hardware assist is not available on either of our processors.
 
  


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: KVM steals virtualization spotlight LXer Syndicated Linux News 0 02-26-2007 12:31 PM
LXer: Red Hat endorses KVM virtualization LXer Syndicated Linux News 0 02-15-2007 08:01 AM
LXer: Linux KVM Virtualization Performance LXer Syndicated Linux News 0 01-07-2007 10:54 PM
LXer: OpenVZ Virtualization Software Available for Sun UltraSPARC T1 Processor LXer Syndicated Linux News 0 01-03-2007 05:03 AM
Features of KDE vs. Features of Gnome donlinux Linux - Newbie 17 12-04-2005 12:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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