1 / 14

Trace collection in the UNC-CH DiRT lab

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL. Trace collection in the UNC-CH DiRT lab. Outline. Monitoring location and UNC network Setup specs - infrastructure Process sequence overview Live demo Post-processing Our experimental infrastructure and its capabilities.

genera
Download Presentation

Trace collection in the UNC-CH DiRT lab

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The UNIVERSITY of NORTH CAROLINAat CHAPEL HILL Trace collection in the UNC-CH DiRT lab

  2. Outline • Monitoring location and UNC network • Setup specs - infrastructure • Process sequence overview • Live demo • Post-processing • Our experimental infrastructure and its capabilities

  3. Trace collection point UNC-CH network Internet & Internet2 Monitor w/ DAG card

  4. Infrastructure • Monitor specs: P4 1.8 GHz CPU, 1.4 GB RAM, 5*32GB hard drives, FreeBSD 4.7. • DAG 4.3GE dual interface 1000Base-SX Gigabit Ethernet 133MHz PCI-X card.

  5. Process sequence overview convert to tcpdump format using dagconvert packet capture using dagsnap anonymize using tcpdpriv create connection vectors in tmix run (100s of) tmix experiments in the lab analyze and present results

  6. Demo • /usr/local/bin/dagsnap -d /dev/dag0 -s 300 -v -o test.dag • dagconvert -Terf:pcap -i ../test.dag -f b > test.b.tcpdump • dagconvert -Terf:pcap -i ../test.dag -f a > test.a.tcpdump • /usr/dirt/src/tcpdpriv-1.1.10/tcpdpriv -P99 -A60 -M20 -t mapping_file -r test.a.tcpdump -w test.a.anon.tcpdump • /usr/dirt/bin/4.x/tcpdump-hiperf -I -S -n -tt -r test.a.anon.tcpdump tcp > test.a.anon.tcpdump.txt(-I  Print IP header fields (ttl, id and length))

  7. Packet capture • Usage: dagsnap [options] • -d <device> DAG device name • -h display help (this page) • -j Maximize disk write performance - will only write in chunks • -m <mebibytes> Maximum amount of data to write per call in MiB (default 4) • -o <filename> output file name (default is stdout) • -s <seconds> runtime in seconds • -v increase verbosity • With -v three columns are printed per second. • 1. The cumulative total of data written out. • 2. The buffer occupancy. Small values indicate no packet loss. • 3. The rate at which data is currently being written.

  8. Convert dag to tcpdump • dagconvert: DAG file conversion utility: Usage: dagconvert [options] • -d <device> DAG device name • -h display help (this page) • -v increase verbosity • -i <filename> input file • -o <filename> output file • -r N[k|m|g] change output file after N Bytes. • k, m, g suffixes for kilobytes, megabytes, gigabytes. • -s <snaplen> output snap length • -t <seconds> capture period in seconds • -T <in_type:out_type> input and output types (see list of types below) • -f <list> comma separated list of filters (see list of filters below)

  9. anonymize • usage: /usr/dirt/src/tcpdpriv-1.1.10/tcpdpriv • P99 – pass TCP port numbers through unchanged • A60 – map address using mapping file • M20 – option for multicast addresses

  10. Example plot – throughput (Mbps) • A 10-min trace collected at low-usage time (2:30am)

  11. Example plot – throughput (Kpps)

  12. Analysis • Simple statistics like throughput plots over time • Loss rates • RTT (round trip time) calculations • Running tmix experiments with the data • analyze results • create various possible scenarios and test (e.g. what does doubling the traffic throughput do to end user response times?)

  13. … Access router & control station NFS servers arp proxy Network Topology Monitors Ethernet Switch Ethernet Switch Router Router End systems End systems

  14. Tmix discussion • Replay trace on the network in a controlled environment • Throughput can be varied up or down • Induce losses and delays per flow • Replaying a-b-t sequences

More Related