Thứ Tư, 3 tháng 4, 2013

Chạy framework p2p_traffic_localization_v2

1. Di chuyển đến thư mục chứa file chạy:
cd /home/hiephv/workspace/p2p_localization_frw_v2/Debug


2. Chạy lệnh
- interface_name: tên card Ethernet muốn nghe: ví dụ: eth0
3. Sau khi chạy dữ liệu sẽ được capture trên các measurement hosts bằng Wireshark
4. Chạy các file script PHP để generate dữ liệu từ các file CSV ở trên

./p2p_localization_v2 interface_name application_id method_id mode

- application_id: 0 --> PPStream,        1 --> PPTV,              2 --> Sopcast
- method_id:      0 --> Delay insertion,  1 --> packet loss,     2 --> bandwidth limitation
- mode:             0 --> bi direction,        1 --> download only, 2 --> upload only

- Để generate dữ liệu throughput --> Chọn chức năng Export to Files của Wireshark --> Lưu dữ liệu dưới dạng file CSV
- Để generate dữ liệu download data by region --> Chọn Statistic/EndPoints/ 
+ Chọn giao thức UDP (vì dữ liệu video gửi bằng udp protocol)
+ Chọn Copy và paste vào file text mới, để định dạng CSV

- make_throughput_report.php: generate dữ liệu throughput theo AS4713 và các countries
- make_data_ratio_report.php: generate dữ liệu downloaded data distributions by countries
- make_as_data_ratio_report.php: generate dữ liệu downloaded data distributions by ASes

Không có nhận xét nào:

Đăng nhận xét