Page 1 of 1

Note for vSRX-NG (18.4 tested)

Posted: Tue Jan 14, 2020 8:55 am
by sus_admin
Hi

When creating nodes with Juniper vSRX (I am using 18.4R3.3) - I found the 'default' QEMU string is insufficient.

It's missing "+vmx". This seems to be the QEMU flag that tells the guest VM to utilise hardware acceleration. Without it, the Junos Windriver Linux boot message says something like "kvm: no hardware acceleration available" in the telnet terminal on boot. The performance by default is also terrible.

Here is the string I am using at the moment, all other parameters (QEMU version etc) are default, although I suspect we can improve things more with tweaking.

"-machine type=pc-1.0,accel=kvm -cpu qemu64,+vmx,+ssse3,+sse4.1,+sse4.2,+x2apic,+aes,pclmulqdq -serial mon:stdio -nographic -no-user-config -nodefaults -rtc base=utc"

This makes them perform almost as well as a real one ;)

EVE-NG version: 2.0.3-102

Re: Note for vSRX-NG (18.4 tested)

Posted: Wed Apr 01, 2020 8:34 pm
by dubzie@me.com
Hi,

Please could you advise how to apply the string, I'm struggling to get an image to boot and it's super slow.

Running on VMware Fusion on MAC 16gb Mac OS Catalina

Excuse my noob question if you can :)

Steve

Re: Note for vSRX-NG (18.4 tested)

Posted: Sat Apr 18, 2020 4:02 pm
by HunSolo
With this option my vSRX-NG nodes boots very slow. It about 25 min on EVE-PRO. Without "+vmx" the node boots 5-6 min.
version 15.1X49-D170.4;

And yes, the messege "kvm: no hardware acceleration available" appears without "+vmx". But the performance is most important.

Re: Note for vSRX-NG (18.4 tested)

Posted: Sat Apr 18, 2020 6:03 pm
by Uldis (UD)
Get the SRXv 3.0
18.4 is much better and lighter

Re: Note for vSRX-NG (18.4 tested)

Posted: Mon Apr 20, 2020 3:21 am
by glowwarm
Hi guys

Could you share which Qemu version you are using to boot it? Thank you.

Tony