Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(490)

Issue 289550043: TraceReplayApplication: new application layer model for replaying a pcap file in ns-3.24

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 1 month ago by Prakash Agrawal
Modified:
6 years, 6 months ago
Reviewers:
Tom Henderson, Tommaso Pecorella, namratha, kgang790
CC:
ns-3-reviews_googlegroups.com
Visibility:
Public.

Description

TraceReplayApplication: new application layer model for replaying a pcap file The goal of TraceReplayApplication is to make simulations more realistic. We use network trace collected from user to infer and replay only application layer delays like user think times. TraceReplayApplication extracts application layer characteristics from a single trace, and replays this information across many users in simulation, by using suitable randomization. TraceReplayApplication: takes a pcap as input and initializes all client-server pairs. TraceReplayClient: implementation of client. TraceReplayServer: implementation of server. TraceReplay.cc: sample file for TraceReplayApplication. Takes pcap, number of client and random number as input. Replays pcap for each client using proper randomization. TraceReplay.py and TraceReplay.sh: scripts used by TraceReplayApplication to internally convert a pcap into formatted trace file which can be used by application. *Reference: Presented at the NCC 2016. https://goo.gl/Z4ZW2K

Patch Set 1 #

Patch Set 2 : Modified TraceReplay patch for ns-3.24 #

Total comments: 39

Patch Set 3 : Modified TraceReplay patch for ns-3.25 #

Total comments: 13

Patch Set 4 : Modified TraceReplay patch for ns-3.25 #

Total comments: 6

Patch Set 5 : Modified TraceReplay patch for ns-3.25 #

Total comments: 88

Patch Set 6 : Modified TraceReplay patch for ns-3.25 #

Total comments: 26
Unified diffs Side-by-side diffs Delta from patch set Stats (+2781 lines, -0 lines) Patch
A src/applications/doc/trace-replay.rst View 1 2 3 4 5 1 chunk +80 lines, -0 lines 1 comment Download
A src/applications/examples/trace-replay-example.cc View 1 2 3 4 5 1 chunk +179 lines, -0 lines 4 comments Download
A src/applications/examples/wscript View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
A src/applications/helper/trace-replay-helper.h View 1 2 3 4 5 1 chunk +253 lines, -0 lines 1 comment Download
A src/applications/helper/trace-replay-helper.cc View 1 2 3 4 5 1 chunk +866 lines, -0 lines 6 comments Download
A src/applications/model/trace-replay-client.h View 1 2 3 4 5 1 chunk +202 lines, -0 lines 3 comments Download
A src/applications/model/trace-replay-client.cc View 1 2 3 4 5 1 chunk +364 lines, -0 lines 4 comments Download
A src/applications/model/trace-replay-server.h View 1 2 3 4 5 1 chunk +211 lines, -0 lines 2 comments Download
A src/applications/model/trace-replay-server.cc View 1 2 3 4 5 1 chunk +359 lines, -0 lines 2 comments Download
A src/applications/model/trace-replay-utility.h View 1 2 3 4 5 1 chunk +149 lines, -0 lines 2 comments Download
A src/applications/model/trace-replay-utility.cc View 1 2 3 4 5 1 chunk +104 lines, -0 lines 1 comment Download
M src/applications/wscript View 1 2 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 25
Prakash Agrawal
Hello all, The goal of TraceReplayApplication is to make simulations more realistic. We use network ...
8 years, 1 month ago (2016-03-18 12:38:29 UTC) #1
Tom Henderson
I have filed this issue in our tracker so that we do not forget to ...
8 years, 1 month ago (2016-03-19 04:57:23 UTC) #2
Tommaso Pecorella
Hi, I just downloaded the model and did a quick check. here's my first comments. ...
8 years ago (2016-04-03 12:03:54 UTC) #3
Prakash Agrawal
Hello Sir, Thank you very much for your feedback on the code. I am working ...
8 years ago (2016-04-06 08:42:49 UTC) #4
Tommaso Pecorella
On 2016/04/06 08:42:49, Prakash Agrawal wrote: > Hello Sir, > > Thank you very much ...
8 years ago (2016-04-06 16:29:16 UTC) #5
Prakash Agrawal
Hello Sir, I have updated the trace-replay patch. I have tried to incorporate all you ...
8 years ago (2016-04-13 06:10:38 UTC) #6
Tommaso Pecorella
Second batch of comments. I didn't complete the review because I think we'll need a ...
8 years ago (2016-04-23 17:39:30 UTC) #7
kess20.06
7 years, 12 months ago (2016-05-02 17:42:29 UTC) #8
kess20.06
On 2016/05/02 17:42:29, KGang790 wrote:
7 years, 12 months ago (2016-05-02 17:43:06 UTC) #9
Prakash Agrawal
Hello Sir, Thank you for your comments. I have updated the trace-replay patch. I have ...
7 years, 11 months ago (2016-05-05 10:38:56 UTC) #10
Prakash Agrawal
https://codereview.appspot.com/289550043/diff/20001/examples/trace-replay/trace-replay-example.cc File examples/trace-replay/trace-replay-example.cc (right): https://codereview.appspot.com/289550043/diff/20001/examples/trace-replay/trace-replay-example.cc#newcode25 examples/trace-replay/trace-replay-example.cc:25: // ./waf --run "scratch/trace-replay-example --pcapPath=scratch/pcap.pcapng --R=0 --nWifi=1" On 2016/05/05 ...
7 years, 11 months ago (2016-05-06 10:12:09 UTC) #11
Tommaso Pecorella
Hi, thanks for the upgrades, I'll check the code as soon as possible. In the ...
7 years, 11 months ago (2016-05-10 22:46:27 UTC) #12
Prakash Agrawal
Hello Sir, A gentle reminder for posting the review. Kind Regards, Prakash Agrawal On 2016/05/10 ...
7 years, 11 months ago (2016-05-26 09:29:29 UTC) #13
Tommaso Pecorella
On 2016/05/26 09:29:29, Prakash Agrawal wrote: > Hello Sir, > > A gentle reminder for ...
7 years, 11 months ago (2016-05-26 22:50:44 UTC) #14
Tommaso Pecorella
https://codereview.appspot.com/289550043/diff/40001/src/applications/helper/trace-replay-helper.cc File src/applications/helper/trace-replay-helper.cc (right): https://codereview.appspot.com/289550043/diff/40001/src/applications/helper/trace-replay-helper.cc#newcode593 src/applications/helper/trace-replay-helper.cc:593: } My previous comments was about this (skip the ...
7 years, 11 months ago (2016-05-26 22:51:02 UTC) #15
Prakash Agrawal
https://codereview.appspot.com/289550043/diff/40001/src/applications/helper/trace-replay-helper.cc File src/applications/helper/trace-replay-helper.cc (right): https://codereview.appspot.com/289550043/diff/40001/src/applications/helper/trace-replay-helper.cc#newcode593 src/applications/helper/trace-replay-helper.cc:593: } On 2016/05/26 22:51:01, Tommaso Pecorella wrote: > My ...
7 years, 11 months ago (2016-05-27 15:40:02 UTC) #16
Tommaso Pecorella
On 2016/05/27 15:40:02, Prakash Agrawal wrote: > > https://codereview.appspot.com/289550043/diff/40001/src/applications/helper/trace-replay-helper.cc#newcode611 > src/applications/helper/trace-replay-helper.cc:611: double startTime; > Hello ...
7 years, 11 months ago (2016-05-27 17:00:32 UTC) #17
Prakash Agrawal
Hello Sir, Thank you for your comments. I have updated the trace-replay patch. Any suggestions ...
7 years, 11 months ago (2016-05-29 13:50:21 UTC) #18
Tommaso Pecorella
Hi, there are my last ones. I guess that after fixing them this is ready ...
7 years, 11 months ago (2016-05-29 16:12:55 UTC) #19
Prakash Agrawal
Hello Sir, Thank you for your guidance. I have updated the TraceReplay patch incorporating all ...
7 years, 11 months ago (2016-05-29 21:54:15 UTC) #20
Tom Henderson
Hello, here are a set of comments and suggestions; I would like to review again ...
7 years, 10 months ago (2016-06-25 05:29:07 UTC) #21
Prakash Agrawal
Hello Sir, Thank you for comments on the code. I have updated the TraceReplay patch ...
7 years, 10 months ago (2016-06-27 16:05:16 UTC) #22
Tom Henderson
> https://goo.gl/Z4ZW2K > On 2016/06/25 05:29:07, Tom Henderson wrote: > > Please do not include ...
7 years, 10 months ago (2016-06-30 00:51:06 UTC) #23
Tom Henderson
Here is another batch of comments. My high-level comment is that this code appears to ...
7 years, 9 months ago (2016-07-25 13:59:49 UTC) #24
namratha
6 years, 6 months ago (2017-10-24 08:55:57 UTC) #25
https://codereview.appspot.com/289550043/diff/100001/src/applications/helper/...
File src/applications/helper/trace-replay-helper.cc (right):

https://codereview.appspot.com/289550043/diff/100001/src/applications/helper/...
src/applications/helper/trace-replay-helper.cc:639: std::string line =
CheckRegex (infile, std::regex ("^*\t[0-9]+\t*[0-9]+\t[0-9]+[.]?[0-9]*$"));
This line is giving error:terminate called after throwing an instance of
'std::regex_error'
correction to the code is :std::regex
("^.*\t[0-9]+\t.*[0-9]+\t[0-9]+[.]?[0-9]*$")
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b