1. Junos with GNS3 (ver 0.8.3.1) on Win7 Host, qemu vs VirtualBox


I hope friends you've read a bit about GNS3 and know how it works.

I mentioned already that GNS3 is able to emulate various devices - Juniper router is one of them. It is very handy for people studying for JNCIA.

GNS3 gives you two different ways to emulate devices running Junos.You can use either Qemu (quick emulator) or VirtualBox which is also now supported by GNS3 since VirtualBox edition came out.

So what is the difference? I tried both emulators.

First of all - qemu doesn't support SMP on windows hosts. It means that regardless of number of Junos (or other OSs) instances running only one CPU core is used.
Here is a proof:


On the other hand on Linux/Unix Hosts it is possible to use KVM option for Qemu which supposedly make use of SMP architecture. I never tried it, so this information is brought from other sources.

Oracle VM VitualBox does support SMP. More over it is possible to limit CPU resources used by single OS instance.

Some internet sources state that VirtualBox ran on Windows PCs is faster than Qemu-KVM on Unix.
Check picture illustrating VirtualBox CPU usage:



In case of VirtualBox both Cores of my Pentium D PC are 100% loaded. Plus Junos on VirtualBox is much much faster compared to one on Qemu.

I've compared time necessary to load OS of two Juniper routers using Qemu and VirtualBox. VirtualBox loads it ruffly 5 times faster. Also routing protocols are more stable on routers with VirtualBox. Some people where reporting errors due to keepalives timeout when Qemu is used.

I hope there are enough information provided to convince everybody to use Oracle VirtualBox for emulating Juniper routers. Now it is time to start configuring them.....

< Back                            Next >

No comments:

Post a Comment