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
Note for vSRX-NG (18.4 tested)
Moderator: mike
-
- Posts: 2
- Joined: Tue Jun 18, 2019 8:42 am
Re: Note for vSRX-NG (18.4 tested)
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
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
-
- Posts: 16
- Joined: Wed May 31, 2017 11:02 am
Re: Note for vSRX-NG (18.4 tested)
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.
version 15.1X49-D170.4;
And yes, the messege "kvm: no hardware acceleration available" appears without "+vmx". But the performance is most important.
-
- Posts: 5068
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: Note for vSRX-NG (18.4 tested)
Get the SRXv 3.0
18.4 is much better and lighter
18.4 is much better and lighter
-
- Posts: 4
- Joined: Sun Jan 12, 2020 12:40 am
Re: Note for vSRX-NG (18.4 tested)
Hi guys
Could you share which Qemu version you are using to boot it? Thank you.
Tony
Could you share which Qemu version you are using to boot it? Thank you.
Tony