The TOFFEE Project
The TOFFEE Project

Documentation :: TOFFEE-Mocha Documentation :: TOFFEE-Mocha - Jitter feature

Written by: Kiran Kankipati - Published: 28-May-2017


We need sometimes a distorted test WAN bandwidth since this may occur in real WAN Network due to various reasons. This effect will persist back-and-forth and will affect the WAN Bandwidth. And this is what called as Jitter. The frequency of this irregularity will depend on the problem which the WAN Network experiencing, speed of the WAN Network, packet corruption, packet drops and so on. So to simulate the same I have introduced the new Jitter feature in the TOFFEE-Mocha WAN Simulator. This enables you to throttle the bandwidth almost like a frequency modulated signal. So when Jitter delay is set in TOFFEE-Mocha and you diagnose the network performance graphs, you should get a graph with these characteristics.
signal modulation

My lab test topology: Here is my test lab topology in which TOFFEE-Mocha is deployed. It is connected to my external LAN Network via pfSense router installed as a VM. And along with the same, I have installed TOFFEE-Mocha test/build system and to which a test PC is connected. So the idea is to get network connectivity (external LAN network, host-PC, and Internet) to this test PC via TOFFEE-Mocha and via pfSense router.
TOFFEE-Mocha LAB test Topology
If you are more interested about my test VM Lab setup/network kindly watch these videos:

Download/watch this video - 219 Setting up a WAN Emulator within VirtualBox
[+] watch in dailymotion

Download/watch this video - 218 Tour of my new Home Networking Lab within VirtualBox VM
[+] via HTTP - CDN - SAMP
[+] via Google Drive
[+] watch in dailymotion

Here is my VirtualBox VM installed machines. Notice the machines which are booted:

  • pfSense router
  • TOFFEE-Mocha device
  • test PC

01 TOFFEE-Mocha WAN Emulator Jitter Feature VirtualBox VMs

Here is my TOFFEE-Mocha port configuration:
02 TOFFEE-Mocha WAN Emulator Jitter Feature port configuration

Here are my TOFFEE-Mocha Jitter feature settings. So technically it should flip-flop between 10-15 ms delay with a jitter factor of about 20. Jitter factor works like frequency. Lesser the jitter factor value more is its frequency (flip-flops between the two states) and larger the value lesser the frequency.
03 TOFFEE-Mocha WAN Emulator Jitter Feature configuration

Here is my test PC where I managed to mount the remote SMB share(which is my host PC :: And then I started file copy of this test tar-ball(a large sample file around 3GB) from this SMB share to this local VM test PC as shown below. The data-transfer of this file-copy operation should happen via pfSense Router and the TOFFEE-Mocha WAN emulator VM machines.
04 TOFFEE-Mocha WAN Emulator Jitter Feature test PC with mounted remote SMB share
05 TOFFEE-Mocha WAN Emulator Jitter Feature test PC copying large file from remote SMB share

When we analyze the traffic via pfSense web GUI (connected via management port of the TOFFEE-Mocha device), you can see the traffic pattern. Basically it should flip-flop between two states. The high-bandwidth state is bit shorter than low bandwidth since most of the data gets transferred during this short span of time versus the longer/max delay jitter delay state. For demonstration purposes I set a large jitter factor (frequency). If you want you can adjust this parameter to a much lower value for higher frequencies.
06 TOFFEE-Mocha WAN Emulator Jitter Feature traffic analysis via pfSense

Now by adjusting the jitter range min/max micro-seconds/milli-seconds delay parameters you get a different bandwidth curve in pfSense as shown below.
07 TOFFEE-Mocha WAN Emulator Jitter Feature adjusting jitter range max and min delays

08 TOFFEE-Mocha WAN Emulator Jitter Feature adjusting jitter range max and min delays pfsense analysis

Here is my live demo video of the new TOFFEE-Mocha Jitter feature:

Download/watch this video - 220 TOFFEE-Mocha WAN Emulator Jitter Feature
[+] watch in dailymotion

Suggested Topics:

TOFFEE-Mocha - WAN Emulator
TOFFEE-Mocha Documentation :: TOFFEE-Mocha - Jitter feature
Setting up a WAN Emulator within VirtualBox
TEST CASES :: TEST RESULTS :: TOFFEE-Mocha-1.0.32 asymmetric constant packet delay feature
TOFFEE-Mocha Documentation :: TOFFEE-Mocha-1.0.32-1-x86_64 and TOFFEE-Mocha-1.0.32-1-i386
TOFFEE-Mocha Documentation :: TOFFEE-Mocha-1.0.18-1-x86_64
TEST CASES :: TEST RESULTS :: TOFFEE-Mocha-1.0.14 Development version
TEST CASES :: TEST RESULTS :: Raspberry Pi WAN Emulator TOFFEE-Mocha-1.0.14-1-rpi2
TOFFEE-Mocha WAN emulator Lab deployment and topology guide
TOFFEE-Mocha Documentation :: TOFFEE-Mocha-1.0.14-1-rpi2 - Raspberry Pi WAN Emulator
TOFFEE-Mocha Documentation :: TOFFEE-Mocha-1.0.14-1-x86_64
TOFFEE-Mocha License

TOFFEE-DataCenter - WAN Optimization
TOFFEE - WAN Optimization
TOFFEE-Mocha - WAN Emulator
TOFFEE-Butterscotch - Save and Optimize your Internet/WAN bandwidth

The TOFFEE Project - v5.28 :: Updated: 06-Sep-2017 :: © 2017 :: Author: Kiran Kankipati