magicJack  and magicJack Plus Support, Reviews, FAQs and Hacks Forum Index

magicJack and magicJack Plus Support, Reviews, FAQs and Hacks


magicJack and magicJack Plus Unofficial Technical Support. Your Magic Jack and Magic Jack Plus phone service information resource
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Magic jack is too slow with KVM



 
Post new topic   Reply to topic    magicJack and magicJack Plus Support, Reviews, FAQs and Hacks Forum Index -> Using magicJack on Linux
View previous topic :: View next topic  
Author Message
killabx
MagicJack Newbie


Joined: 16 Oct 2009
Posts: 4

PostPosted: Fri Oct 16, 2009 11:40 am    Post subject: Magic jack is too slow with KVM Reply with quote

I use KVM (kernel-based virtual machine) to run my Linux webserver virtual machine on my Linux server, so it made more sense to me to create a WinXP virtual machine under KVM than virtualbox. I have installed Windows just fine and figured out how to get USB working. The graphics are a little slow, but aside from that, WinXP runs fine on the virtual machine. It's going to be running without viewing the display most of the time anyway, so it really doesn't matter. But USB devices run extremely slow. It took 10-15 min to install the Magic Jack software and to load the software interface. Afterwards, it appears that everything is functional, but so slow as to be unusable. I can dial from my phone, but I have to press and hold the buttons for a long time for it to register. It will not dial out as I believe it is running too slow to be able to do that.

Has anybody got Magic Jack to work using KVM on Linux? I'm pretty certain that all of my problems lie in the USB interface in KVM, but I haven't had any luck figuring it out.

Thanks.
Back to top
View user's profile Send private message
mufon
Dan isn't smart enough to hire me


Joined: 25 Jan 2008
Posts: 296
Location: HIghland Village, Texas

PostPosted: Mon Feb 01, 2010 7:42 pm    Post subject: Re: Magic jack is too slow with KVM Reply with quote

killabx wrote:
I use KVM (kernel-based virtual machine) to run my Linux webserver virtual machine on my Linux server, so it made more sense to me to create a WinXP virtual machine under KVM than virtualbox. I have installed Windows just fine and figured out how to get USB working. The graphics are a little slow, but aside from that, WinXP runs fine on the virtual machine. It's going to be running without viewing the display most of the time anyway, so it really doesn't matter. But USB devices run extremely slow. It took 10-15 min to install the Magic Jack software and to load the software interface. Afterwards, it appears that everything is functional, but so slow as to be unusable. I can dial from my phone, but I have to press and hold the buttons for a long time for it to register. It will not dial out as I believe it is running too slow to be able to do that.

Has anybody got Magic Jack to work using KVM on Linux? I'm pretty certain that all of my problems lie in the USB interface in KVM, but I haven't had any luck figuring it out.

Thanks.


I use KVM/Qemu in conjunction with libvirt, seems fine. It's working great for me, I use KVM/Qemu (KVM as hypervisor) and libvirt on an AMD Phenom X4, Gigabyte MA770-UD3 motherboard running Ubuntu 9.10 Server, XP virtual machine. It's setup and managed on a another machine running Ubuntu desktop with the Virtual Machine Manager. (The latter isn't necessary but makes it easier since the server has no gui.)
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
cmdrunix
MagicJack Newbie


Joined: 03 Feb 2010
Posts: 1

PostPosted: Wed Feb 03, 2010 3:22 pm    Post subject: KVM usb with libvirt Reply with quote

Can you explain how you got the USB working under libvirt with KVM as the Hypervisor ? I can get it to show up in the XP vm and get a dial tone but there is no sound on calls.
Back to top
View user's profile Send private message
mufon
Dan isn't smart enough to hire me


Joined: 25 Jan 2008
Posts: 296
Location: HIghland Village, Texas

PostPosted: Fri Feb 05, 2010 3:28 pm    Post subject: Re: KVM usb with libvirt Reply with quote

cmdrunix wrote:
Can you explain how you got the USB working under libvirt with KVM as the Hypervisor ? I can get it to show up in the XP vm and get a dial tone but there is no sound on calls.


It's done in the xml file for the vm.

Code:
<hostdev mode='subsystem' type='pci' managed='yes'>
      <source>
        <address domain='0x0000' bus='0x00' slot='0x14' function='0x5'/>
      </source>
</hostdev>


Suffice to say libvirt is more for advanced usage (as oppose to some of the others) and there is a learning curve. The payoff however is the performance. I am running 21 vm's simultaneously on an 8 gig mem AMD phenom system and the performance is awesome! Read the docs and check the user forums for more thorough info. I only use the one Windows vm for the magicjack and it is working with the entry shown above. I got lucky perhaps. I have found that the motherboard does make a difference as well. I wasn't able to get satisfactory results using an ECS motherboard and Intel CoreDUO Quad. I've gotten excellent results with Gigabyte and Asus, the former being preferred.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
root
MagicJack User


Joined: 17 Apr 2008
Posts: 37
Location: Aspen, Colorado

PostPosted: Fri Feb 05, 2010 5:30 pm    Post subject: Reply with quote

KVM is sweet. It's performance does ROCK! To find any performance advantage Xen may have over KVM is mostly splitting hairs and a lot of fine tuning. Xen is less supported (kernel support) industry wide and more difficult to implement and maintain than KVM, that's why we use KVM in our shop! KVM also supports both para and full virtualization.

That's my editorial comment, forgive me if I'm a bit off topic.
Back to top
View user's profile Send private message Visit poster's website
mufon
Dan isn't smart enough to hire me


Joined: 25 Jan 2008
Posts: 296
Location: HIghland Village, Texas

PostPosted: Sat Feb 06, 2010 4:32 pm    Post subject: Reply with quote

Something worth mentioning is that I am also using virtio in lieu of native drivers or emulated drivers, including the Windows para-virt storage and network drivers. All the linux vm's are running para-virt with Windows running as para-virtualized as is possible, keep in mind the config is totally different using virtio as opposed to emulation, but it eliminates many contentions pertaining to competition for system I/O.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Nakarti
MagicJack Newbie


Joined: 02 Aug 2012
Posts: 1
Location: Maricopa County

PostPosted: Fri Aug 03, 2012 2:24 pm    Post subject: Reply with quote

Sadly, support has not gone far.
Hopefully I will find that the AMD bridges of my other motherboard will make a difference, but while I can pass the Magicjack through to a KVM guest, it gives the cryptic "The installation associated with your computer is invalid." error, and I cannot go further.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    magicJack and magicJack Plus Support, Reviews, FAQs and Hacks Forum Index -> Using magicJack on Linux All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB Turbo Extended Edition © 2010, phpBB Group