Note for vSRX-NG (18.4 tested)

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
sus_admin
Posts: 6
Joined: Mon Jan 13, 2020 10:32 pm

Note for vSRX-NG (18.4 tested)

Post by sus_admin » Tue Jan 14, 2020 8:55 am

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

dubzie@me.com
Posts: 2
Joined: Tue Jun 18, 2019 8:42 am

Re: Note for vSRX-NG (18.4 tested)

Post by dubzie@me.com » Wed Apr 01, 2020 8:34 pm

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

HunSolo
Posts: 16
Joined: Wed May 31, 2017 11:02 am

Re: Note for vSRX-NG (18.4 tested)

Post by HunSolo » Sat Apr 18, 2020 4:02 pm

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.

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Note for vSRX-NG (18.4 tested)

Post by Uldis (UD) » Sat Apr 18, 2020 6:03 pm

Get the SRXv 3.0
18.4 is much better and lighter

glowwarm
Posts: 4
Joined: Sun Jan 12, 2020 12:40 am

Re: Note for vSRX-NG (18.4 tested)

Post by glowwarm » Mon Apr 20, 2020 3:21 am

Hi guys

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

Tony

Post Reply