Professional Documents
Culture Documents
HTTPS://SITES.GOOGLE.COM/SITE/JOURNALOFCOMPUTING/
WWW.JOURNALOFCOMPUTING.ORG
Rajib Mall,
Department of CSE, IIT, Kharagpur
Abstract—This paper provides an improvement over a methodology for providing Real Time Communication over Ethernet without
changing the existing hardware. We use Neural Networks to forecast the Ethernet Traffic and use this prediction with adaptive traffic
smoothing to give better statistical guaranty for Real Time Data. The Traffic Smoothing module installed at each station, smoothes the
non real time traffic enforcing a link rate over the non real time traffic. The prediction for the coming Ethernet utilization obtained
from the Neural Networks is used to vary the link rate for each station.
Fig. 1. Results with offline training of Neural Network on the Bellcore Ethernet Traces, Red plot shows the actual Trace and the green Plot is the predicted
traffic.
Fig. 2. Traffic predicted with the offline trained Neural Network of Fig. 1.
Obviously this approach is not feasible because the offline next sample from the Bellcore traces at regular intervals. It
trained network looses its utility in a short period. The builds two set of patterns from these traces, one is a
excessive timings involved in the offline training render it training pattern and the other is traffic pattern. The Training
useless when consider from the point of view of application pattern consists of the last 41 samples taken, i.e. 40 samples
to the Smoothing algorithm, where the next prediction will for the input and the current sample as the supervised
be expected in order of milliseconds rather than hours. output. This pattern is sent to the Trainer through the Pipe
The next obvious solution to this is to go for an online connecting them. The Traffic pattern consists of the last 40
training. The idea is to keep the training process a samples including the current sample as the input for
continuous one and to keep updating the training set as time predictor. The Traffic pattern is sent to the Predictor.
The Trainer keeps a stock of last 500 patterns provided
progresses with new data and removing the older data.
to it by the Traffic Monitor and trains a Neural Network
Whenever the Neural Network is trained to an acceptable
with same configuration as used in the offline Neural
level of accuracy the new weights are used to get the next
Network. The Trainer continuously sends an update on
predictions. The model used consisted of three independent weights of the Neural Network to the Predictor through the
processes: Pipe connecting them, at regular intervals.
Traffic monitor The Predictor has a Neural Network which is updated
Trainer whenever it receives new weights from the Trainer. It uses
Predictor the Traffic Pattern obtained from the Traffic Monitor to get
The three processes are connected through pipes, a new prediction.
connecting Traffic Monitor and Trainer, Traffic Monitor Fig. 3. shows the results obtained with the online training
and Predictor, Trainer and Predictor. experiment. The prediction in this case is relatively accurate
The Traffic Monitor samples the Ethernet at a predefined when compared with the offline case.
rate. In this experiment the Traffic monitor simply took the
JOURNAL OF COMPUTING, VOLUME 2, ISSUE 8, AUGUST 2010, ISSN 2151-9617 79
HTTPS://SITES.GOOGLE.COM/SITE/JOURNALOFCOMPUTING/
WWW.JOURNALOFCOMPUTING.ORG
Fig. 3. Results obtained with the online training of the Neural Network.
Further improvement in this regard is to use the idea of sample we get the prediction for Tth sample in the future.
look ahead. Instead of using the sample, immediately This gives us an extra time equal to T*sampling rate for
following the input set, as a supervised output in the training. Fig. 4. illustrates this concept.
training we use Tth sample after the input set for training.
So while predicting instead of getting the immediate future
Fig. 5. Plot of the Throughput for the static, HIMD and Neural Traffic Smoother. Red plot is for Static Smoother, green is for
Adaptive Smoother and Blue is for Neural Network based Traffic Smoother.
JOURNAL OF COMPUTING, VOLUME 2, ISSUE 8, AUGUST 2010, ISSN 2151-9617 82
HTTPS://SITES.GOOGLE.COM/SITE/JOURNALOFCOMPUTING/
WWW.JOURNALOFCOMPUTING.ORG
Fig. 6. Plot of Real Time Packet Loss Ratio, with 10 stations always ready to send. The Red plot is for Static Smoother, Green
for Adaptive Smoother and Blue for Neural Net based Smoother.
REFERENCES
[1] Seok-Kyu Kweon, Kang G. Shin and Qin Zheng, ``Statistical Real-
Time Communication over Ethernet for Manufacturing Automation