Have you ever noticed that your vSRX, vMX and vQFX run on insane CPU percentage?
Well yes, you might think because on DPDK Hosts (I wrote about that earlier), the v-Devices run in “Poll-Mode”. But that doesn’t mean, you can’t try to “improve” this behavior.
Well yes, you might think because on DPDK Hosts (I wrote about that earlier), the v-Devices run in “Poll-Mode”. But that doesn’t mean, you can’t try to “improve” this behavior.
CAUTION: I tried this myself and have not seen any issues so far – however, this does not guarantee fatal possible side-effects, that I’m unaware of or that do not affect my Labs. If you mess with your EVE, you are on your own so try it and if it works fine, if not you should probably change it back or wait for the official release from the EVE-NG Team if this turns out to be working and they feel the need to implement this. I only tried this with “Pure-Juniper” Labs so far.
Hi, I have installed Ubuntu 16.04 because I need to install vMX version 18.3 and have gone through the configuration process prior to running the following command: sudo./vmx.sh -lv -install I have added, whatI believe to be a required line, to the vmx.conf file as follows: device-type: vi. The Juniper vMX document from Juniper available here contains some sample configurations. Remove the default configuration file, its easier to copy the entire config from here and adjust as needed: cd /home/vMX-18.1R1/config mv vmx.conf vmx.conf.dist; Edit vmx.conf in your favourite editor. You will need to change a few values from the sample.
In my Test-Setup (1 vMX and 2 vQFX) my CPU went from 35% to below 16% (EVE on ESX).
I think Bare (which I will try next) will show the same if not more drops in the CPU usage.
Update 02.09.2019 – Yes. Bare was even more crazy, allowing me to run 40vQFX at the same time at roughly 70% CPU usage!!!! Insane :O
Also, there was no need to reboot the host.
I think Bare (which I will try next) will show the same if not more drops in the CPU usage.
Update 02.09.2019 – Yes. Bare was even more crazy, allowing me to run 40vQFX at the same time at roughly 70% CPU usage!!!! Insane :O
Also, there was no need to reboot the host.
Here’s what I changed:
and
Let me know in the comments or on Twitter if this also worked for you and if you see any side effects please also let me know.
Heres some background in case you wonder, what this does:
https://www.kernel.org/doc/Documentation/virtual/kvm/halt-polling.txt
The interesting Part for me was the Notes at the end:
https://www.kernel.org/doc/Documentation/virtual/kvm/halt-polling.txt
The interesting Part for me was the Notes at the end:
Sounds like the v-Devices, right? ?
- 3GNS3 on a Ubuntu VM (on ESXi)
Introduction
In order to build Proof of Concept networks to test new features in mixed-vendor networks I have decided to create a setup with some virtual routers that I can test and use together with my existing lab environment.
I am going to implement:
- Juniper vSRX on ESXi
- Various Cisco IOS routers trough GNS3 on a Ubuntu VM (on ESXi)
- Juniper vMX on ESXi
Juniper vSRX on ESXi
I downloaded the 'junos-vsrx-12.1X47-D20.7-domestic.ova' file and deployed the OVA (trough the vSphere desktop client) using this and this link.
In order to get make sure the vSRX behaves like a router (packet-mode) a few commands needed to be executed:
GNS3 on a Ubuntu VM (on ESXi)
I started with installing the Ubuntu Server (ubuntu-14.04.3-server-amd64.iso).Ubuntu server installs itself without the GUI that we need for GNS3 later, so I used this link to install the gui with the commands:
I used this guide install all the dependancies for GNS3 and GNS3 itself.
Once GNS3 was installed I created some extra directories (images, projects, configs, ie, capture, and tmp) as a best practice that I found here.
I copied all my IOS images to the 'images' folder and added some routers using this link.
IOU licence generator
![Downloads - Juniper Networks Downloads - Juniper Networks](/uploads/1/3/4/8/134838846/571845803.jpg)
There is an option to also use IOU images trough GNS3. In order to do this you need to have an IOU licence which can be created with the script found on this website.
Create a file named 'CiscoKeyGen.py' with the following content:
After the script is runned on the machine I got the following output:
Juniper vMX on ESXi
Help With Juniper VQVX
For the Juniper vMX I used the file 'jinstall-vmx-14.1R1.10-domestic.img' and this link to set it up in ESXi.
Downloads - Juniper Networks
Retrieved from 'http://www.iwan.wiki/index.php?title=Virtual_router_instances_Juniper_vSRX,_Juniper_vMX_and_GNS3&oldid=365'