• No results found

Performance Analysis and Comparison of Different DNS64 Implementations for Linux, OpenBSD and FreeBSD

N/A
N/A
Protected

Academic year: 2021

Share "Performance Analysis and Comparison of Different DNS64 Implementations for Linux, OpenBSD and FreeBSD"

Copied!
19
0
0

Loading.... (view fulltext now)

Full text

(1)

Performance Analysis and Comparison

of Different DNS64 Implementations

for Linux, OpenBSD and FreeBSD

Gábor Lencse and Sándor Répás Széchenyi István University

(2)

IPv4 Address Exhaustion

• The new clients will not be able to get IPv4 addresses

• The majority of the Internet sites still uses IPv4 protocol (and will do so for a long time) • Different IPv6 transition solutions exist for

different problems

(3)

Related Work

• Other researchers:

– Analyze the common performance of a given DNS64 implementation + a given NAT64

implementation

• Our view:

– DNS64 and NAT64 are two independent services – Their performance should be analyzed separately – This paper: DNS64 (NAT64: in a separate paper)

(4)

Operation of DNS64

• DNS64 is an extension of the DNS service • If the symbolic name has an AAAA record

then it is returned

• If it has an A record only

then an IPv4 Embedded IPv6 Address

– containing the IPv4 address in its last 32 bits –

(5)

DNS64 Implementations

• BIND 9.8 (Berkeley Internet Name Daemon)

– As a recursor – As a forwarder

• TOTD (Trick or Treat Demon)

– As a forwarder

• Operating Systems

– Linux

– OpenBSD – FreeBSD

(6)

DNS64 Test Network

• Tested software

– DNS64 implementations

running on a low performance computer (Pentium III, 800MHz)

• Other devices

– 8 Clients (providing requests) – Authoritative DNS Server

8+1 high performance computers (Dell Precision 490 Workstations) – 3Com Baseline Switch

(2948-SFP Plus) Dell Precision 490 8x Dell Precision 490 192.168.100.106/24 193.225.151.75/28 2001:738:2c01:8001::1/64 2001:738:2c01:8001::111/64 2001:738:2c01:8001::118/64 Intel PIII 800MHz . . . 192.168.100.105/24 DNS64 server Authoritative DNS server teacherb.tilb.sze.hu client computers for all the tests

3com Baseline Switch 2948-SFP Plus

(7)

DNS64 tests

• done by using the host Unix command

• resolving systematically generated symbolic names:

10-{0..10}-{0..255}-{0..255}.zonat.tilb.sze.hu

• mapped to the 10.0.0.0 – 10.10.255.255 IPv4 addresses by DNS and to the

2001:738:2c01:8001:ffff:ffff:0a00:0000 – 2001:738:2c01:8001:ffff:ffff:0a0a:ffff

(8)

Script for an experiment

• An experiment contained the execution of 256 name resolutions using the host command

file: dns-st-c.sh #!/bin/bash

for c in {0..252..4} # that is 64 iterations do

host 10-$1-$2-$c.zonat.tilb.sze.hu &

host 10-$1-$2-$((c+1)).zonat.tilb.sze.hu & host 10-$1-$2-$((c+2)).zonat.tilb.sze.hu & host 10-$1-$2-$((c+3)).zonat.tilb.sze.hu done

(9)

Script for a client

• Each client performed 256 experiments

#!/bin/bash i=`cat /etc/hostname|grep -o .$` # i: {1..7} rm dns64-$i.txt do for b in {0..255} do

/usr/bin/time -f "%E" -o dns64-$i.txt \ –a ./dns-st-c.sh $i $b

done done

(10)

Measurements

• To simulate different measures of load, the number of clients were: 1, 2, 4 and 8

• Measured values:

– Execution time of a single experiment (256 host commands)

– CPU utilisation of the test computer

– Memory consumption of the given DNS64

implementation (measured by the change of the amount of the free memory – not exact!!!)

(11)

DNS64 Performance Results:

BIND, Linux, Recursor

1 Number of clients 1 2 4 8

2 Average exec. time of

256 host commands (s) 1.242 1.862 3.748 7.541 3 standard deviation 0.018 0.050 0.076 0.282 4 maximum value 1.550 2.260 3.970 12.690 5 CPU utilization (%) 67.66 96.63 100.00 100.00 6 standard deviation 1.2 2.3 0.0 0.0 7 DNS64 memory consumption (MB) 36 49 52 50 8 Number of requests

(12)

DNS64 Performance Results:

BIND, OpenBSD, Recursor

1 Number of clients 1 2 4 8

2 Average exec. time of

256 host commands (s) 1.259 2.013 4.194 7.626 3 standard deviation 0.009 0.051 3.564 7.305 4 maximum value 1.300 2.180 23.340 52.690 5 CPU utilization (%) 72.94 96.90 97.02 98.12 6 standard deviation 1.8 2.2 5.5 5.6 7 DNS64 memory consumption (MB) 35 45 45 45 8 Number of requests served (request/s) 203 254 244 269

(13)

DNS64 Performance Results:

BIND, FreeBSD, Recursor

1 Number of clients 1 2 4 8

2 Average exec. time of

256 host commands (s) 1.815 2.979 5.900 11.923 3 standard deviation 0.018 0.034 0.075 0.090 4 maximum value 2.000 3.070 6.380 12.140 5 CPU utilization (%) 78.58 97.51 100.00 100.00 6 standard deviation 1.8 1.6 0.0 0.0 7 DNS64 memory consumption (MB) 30 36 42 53 8 Number of requests

(14)

Comparison of the exec. time of 256

(15)

DNS64 Performance Results:

TOTD, Linux, Forwarder

1 Number of clients 1 2 4 8

2 Average exec. time of

256 host commands (s) 0.791 1.310 2.158 4.348 3 standard deviation 0.038 3.863 3.754 5.301 4 maximum value 1.370 64.950 63.730 68.540 5 CPU utilization (%) 38.00 58.05 80.16 84.79 6 standard deviation 2.4 27.1 27.5 29.2 7 DNS64 memory consumption (MB) 1.0 1.1 1.6 0.8 8 Number of requests

(16)

Conclusions/Recommendations – 1

• BIND9 running under Linux showed the best overall performance characteristics from

among the tested DNS64 solutions. • It was stable under serious overload

conditions and its memory requirement was found moderate.

• BIND9 running under Linux is our number one recommendation for a DNS64 solution in a

(17)

Conclusions/Recommendations – 2

• BIND9 running under FreeBSD was very stable but showed less good performance than

under Linux, due to running in jail.

• It can also be a choice if FreeBSD platform is preferred for security reasons.

(18)

Conclusions/Recommendations – 3

• The memory usage of TOTD running under all the

three operating systems was very low thus it can be a good DNS64 solution for small embedded systems but it needs an external tool for load limitation otherwise it may lose its stability. • Due to its average performance, TOTD would

deserve a thorough code review and bug fix.

• It is also a good candidate for a client side DNS64 solution.

(19)

Thank you for your attention!

References

Related documents

 U/B 1.3 “Definitions: Control Subfield” and U/A “Control Subfields: Definition and Scope of Subfields” (page 87 of U/A 3rd Edition): “A subfield, defined similarly in

A549, human lung adenocarcinoma cells; Ag-NPs, Silver nanoparticles; Caco2, human epithelial colorectal adenocarcinoma cells; FSF1, Normal diploid human facial skin fibroblasts;

Companies like Conceptos Plásticos, with its product besides being friendly with the environment, it generates a high social impact, Mola Sasa, with own designs that allow

This equation illustrates the two key factors governing the tradeoff for an increased threshold: the loading factor l , which determines the benefits, and the additional profit risk

The following inclusion criteria were employed: Studies i) with adult population with a diagnosis of schizophrenia / psychotic symptoms/ experiences or individuals who had contact

NMD also targets non-mutant transcripts, and its regulation of normal gene expression impacts a wide range of physiological processes including cell differen- tiation, response

The objective of this study was to char- acterize particulate emissions for unloading systems from cotton gins across the cotton belt based on particle size distribution analysis

Research Question #2: Do the Vietnamese students and the Mexican students articulate differing perceptions of what teachers expect of their academic