Date: Tue, 21 Mar 2000 15:27:44 +0100 From: Thierry Herbelot <thierry.herbelot@telspace.alcatel.fr> To: net@freebsd.org Subject: [long] test report for 4.0 and dc(4) Message-ID: <38D786E0.15EC21BC@telspace.alcatel.fr>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hello,
I have a "SmartBits" test equipment on lease and I've played a little
with it and a Compaq PC with a 4-port 100Mbit NIC (DLINK DFE-570)
The result is quite interesting : I've been able to route 4 full duplex
50 Mbps flows with large frames (1500 bytes) with a negligible trafic
loss (see enclosed test_600x4.csv - comma-separated values)
The first test bombed (this was with the GENERIC kernel), but everything
went fine with an "adapted" kernel config.
the second test was a bit more difficult : the SmartBits was only
sending one flow of small Ethernet frames (64 bytes) at up to 36 Mbps
for the Compaq to route them from one port to another (the IP addresses
were fixed and the same for all frames)
In this test, there is an interesting pattern :
- for less than 28 Mbps, the packet loss is acceptable (12 out of 386892
for example),
- for 28,30 and 32 Mbps, the packet loss is very high (up to 80 % loss,
for example)
- for 34 and 36, the loss is back to normal (16 packets lost over 25
secs)
(full results in test_25Mx64x1.csv, enclosed)
when routing high numbers of small frames, the interrupt processing time
ends up taking all available ressource (according to systat -vmstat 1)
All of the tests have been run without any "ipfw" processing.
In fact, my test was to know wether a "normal" PC could do
some traffic shaping on a full 100 Mbps link. It seems the
answer is "maybe", but not with a standard PC (let's go
to PCI 64bits - 66MHz and a fast FSB ?)
TfH
here is the dmesg :
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights
reserved.
FreeBSD 4.0-20000314-CURRENT #0: Mon Mar 20 18:22:33 CET 2000
herbelot@pc-bsd28.val9900.telspace.alcatel.fr:/usr/src/sys/compile/P6-dc
Timecounter "i8254" frequency 1193182 Hz
Timecounter "TSC" frequency 448054389 Hz
CPU: Pentium III/Pentium III Xeon (448.05-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x673 Stepping = 3
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,PSE36,MMX,FXSR,XMM>
real memory = 67108864 (65536K bytes)
config> q
avail memory = 62193664 (60736K bytes)
Preloaded elf kernel "kernel" at 0xc02bd000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc02bd09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on
pci0
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on
pci0
pci1: <PCI bus> on pcib1
pci1: <Matrox MGA G200 AGP graphics accelerator> at 0.0 irq 11
xl0: <3Com 3c900B-TPO Etherlink XL> port 0x2000-0x207f mem
0x42000000-0x4200007f
irq 11 at device 14.0 on pci0
xl0: Ethernet address: 00:50:04:3f:09:0b
xl0: selecting 10baseT transceiver, half duplex
pcib2: <DEC 21152 PCI-PCI bridge> at device 15.0 on pci0
pci2: <PCI bus> on pcib2
dc0: <Intel 21143 10/100BaseTX> port 0x1000-0x107f mem
0x40000000-0x400003ff irq
11 at device 4.0 on pci2
dc0: Ethernet address: 00:80:c8:c9:88:bc
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
... other dc ports
isab0: <Intel 82371AB PCI to ISA bridge> at device 20.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x20a0-0x20af at device
20.1 on pci
0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 20.2 irq 11
chip1: <Intel 82371AB Power management controller> port 0xfc00-0xfc0f at
device
20.3 on pci0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppi0: <Parallel I/O> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
plip0: <PLIP network interface> on ppbus0
ata1-slave: ata_command: timeout waiting for intr
ata1-slave: identify failed
ad0: 6149MB <Maxtor 90650U2> [13328/15/63] at ata0-master using UDMA33
acd0: CDROM <Compaq CRD-8322B> at ata1-master using PIO4
Mounting root from ufs:/dev/ad0s2a
dc1: TX underrun -- increasing TX threshold
dc0: TX underrun -- increasing TX threshold
dc2: TX underrun -- increasing TX threshold
dc3: TX underrun -- increasing TX threshold
dc2: TX underrun -- increasing TX threshold
dc3: TX underrun -- increasing TX threshold
dc0: TX underrun -- increasing TX threshold
dc1: TX underrun -- increasing TX threshold
--
Thierry Herbelot <thierry.herbelot@telspace.alcatel.fr>
(+33) 1 46 52 47 23 <thierry.herbelot@alcatel.fr>
[-- Attachment #2 --]
Name,Load (%),Sent,Received,Lost,Out Of Sequence,Min Latency (uSecs),Avg Latency (uSecs),Max Latency (uSecs),Standard Deviation (uSecs),,,,,,,,,,,,,,,,
Total,10.0000,80644,80636,8,4,79.5,146.0,262.9,57.4,,,,,,,,,,,,,,,,
100-101,10.0000,20161,20159,2,1,80.8,148.3,237.6,75.5,,,,,,,,,,,,,,,,
101-100,10.0000,20161,20159,2,1,89.4,135.4,213.1,64.3,,,,,,,,,,,,,,,,
102-103,10.0000,20161,20159,2,1,80.1,145.6,209.7,50.5,,,,,,,,,,,,,,,,
103-102,10.0000,20161,20159,2,1,79.5,154.7,262.9,21.5,,,,,,,,,,,,,,,,
Total,20.0000,161288,161280,8,4,79.8,150.2,247.9,52.3,,,,,,,,,,,,,,,,
100-101,20.0000,40322,40320,2,1,80.5,167.7,247.9,46.6,,,,,,,,,,,,,,,,
101-100,20.0000,40322,40320,2,1,84.4,135.0,245.8,68.1,,,,,,,,,,,,,,,,
102-103,20.0000,40322,40320,2,1,79.8,143.2,236.5,59.4,,,,,,,,,,,,,,,,
103-102,20.0000,40322,40320,2,1,81.1,154.8,238.1,20.0,,,,,,,,,,,,,,,,
Total,30.0000,241932,241924,8,4,78.0,155.0,301.4,55.3,,,,,,,,,,,,,,,,
100-101,30.0000,60483,60481,2,1,79.5,169.7,257.7,52.0,,,,,,,,,,,,,,,,
101-100,30.0000,60483,60481,2,1,85.1,144.8,301.4,40.6,,,,,,,,,,,,,,,,
102-103,30.0000,60483,60481,2,1,82.8,155.6,275.6,71.7,,,,,,,,,,,,,,,,
103-102,30.0000,60483,60481,2,1,78.0,149.9,237.8,51.2,,,,,,,,,,,,,,,,
Total,40.0000,322580,262858,59722,36784,80.1,3255.6,1009108.8,4624.1,,,,,,,,,,,,,,,,
100-101,40.0000,80645,60358,20287,10134,89.2,5588.3,1006815.7,6628.4,,,,,,,,,,,,,,,,
101-100,40.0000,80645,74191,6454,5347,80.1,1296.5,14835.0,1513.9,,,,,,,,,,,,,,,,
102-103,40.0000,80645,71319,9326,8620,86.2,1288.6,13565.8,1525.0,,,,,,,,,,,,,,,,
103-102,40.0000,80645,56990,23655,12683,88.1,5797.2,1009108.8,6768.1,,,,,,,,,,,,,,,,
Total,50.0000,403224,196038,207186,108456,107.5,2669.0,4171.6,196.4,,,,,,,,,,,,,,,,
100-101,50.0000,100806,54718,46088,28043,107.5,2707.6,4133.9,185.7,,,,,,,,,,,,,,,,
101-100,50.0000,100806,55877,44929,26247,112.0,2675.8,4171.6,184.4,,,,,,,,,,,,,,,,
102-103,50.0000,100806,50542,50264,30380,131.6,2685.4,4085.6,193.3,,,,,,,,,,,,,,,,
103-102,50.0000,100806,34901,65905,23786,127.0,2574.0,4081.0,232.4,,,,,,,,,,,,,,,,
Total,60.0000,483868,483852,16,8,124.2,258.8,416.6,0.0,,,,,,,,,,,,,,,,
100-101,60.0000,120967,120963,4,2,124.2,262.8,416.6,0.0,,,,,,,,,,,,,,,,
101-100,60.0000,120967,120963,4,2,165.0,252.3,405.8,0.0,,,,,,,,,,,,,,,,
102-103,60.0000,120967,120963,4,2,160.5,263.9,404.5,0.0,,,,,,,,,,,,,,,,
103-102,60.0000,120967,120963,4,2,160.4,256.2,405.3,0.0,,,,,,,,,,,,,,,,
Total,70.0000,564516,284595,279921,11,156.7,17643.6,9903113.4,4758.8,,,,,,,,,,,,,,,,
100-101,70.0000,141129,1512,139617,3,195.0,1574941.5,9903113.4,34077.0,,,,,,,,,,,,,,,,
101-100,70.0000,141129,1518,139611,2,235.6,1659928.5,9901494.9,34666.7,,,,,,,,,,,,,,,,
102-103,70.0000,141129,140788,341,3,167.7,444.1,34735.1,1945.7,,,,,,,,,,,,,,,,
103-102,70.0000,141129,140777,352,3,156.7,409.7,33307.4,1870.9,,,,,,,,,,,,,,,,
Total,80.0000,645160,132205,512955,3782,189.0,69165.0,9968836.3,6182.7,,,,,,,,,,,,,,,,
100-101,80.0000,161290,129792,31498,3775,323.7,12649.3,52164.3,2248.5,,,,,,,,,,,,,,,,
101-100,80.0000,161290,814,160476,2,189.0,3113073.0,9968836.3,41681.5,,,,,,,,,,,,,,,,
102-103,80.0000,161290,808,160482,3,207.2,3012159.2,9966495.1,41247.7,,,,,,,,,,,,,,,,
103-102,80.0000,161290,791,160499,2,233.0,3203932.0,9966518.3,41617.0,,,,,,,,,,,,,,,,
Total,90.0000,725804,1769,724035,0,176.9,9966.8,21887.4,12545.5,,,,,,,,,,,,,,,,
100-101,90.0000,181451,436,181015,0,176.9,10035.1,21669.1,12605.4,,,,,,,,,,,,,,,,
101-100,90.0000,181451,439,181012,0,235.3,9917.0,21737.2,12507.2,,,,,,,,,,,,,,,,
102-103,90.0000,181451,443,181008,0,271.9,10133.1,21887.4,12545.1,,,,,,,,,,,,,,,,
103-102,90.0000,181451,451,181000,0,350.5,9786.0,21384.6,12508.8,,,,,,,,,,,,,,,,
Total,100.0000,806448,0,806448,0,0.0,0.0,0.0,0.0,,,,,,,,,,,,,,,,
100-101,100.0000,201612,0,201612,0,0.0,0.0,0.0,0.0,,,,,,,,,,,,,,,,
101-100,100.0000,201612,0,201612,0,0.0,0.0,0.0,0.0,,,,,,,,,,,,,,,,
102-103,100.0000,201612,0,201612,0,0.0,0.0,0.0,0.0,,,,,,,,,,,,,,,,
103-102,100.0000,201612,0,201612,0,0.0,0.0,0.0,0.0,,,,,,,,,,,,,,,,
[-- Attachment #3 --]
Name,Load (%),Sent,Received,Lost,Out Of Sequence,Min Latency (uSecs),Avg Latency (uSecs),Max Latency (uSecs),Standard Deviation (uSecs),,,,,,,,,,,,,,,,
Total,10.0000,148809,148803,6,3,29.1,65.4,121.5,62.1,,,,,,,,,,,,,,,,
100-101,10.0000,148809,148803,6,3,29.1,65.4,121.5,62.1,,,,,,,,,,,,,,,,
Total,12.0000,178571,178565,6,3,28.8,66.3,118.4,56.7,,,,,,,,,,,,,,,,
100-101,12.0000,178571,178565,6,3,28.8,66.3,118.4,56.7,,,,,,,,,,,,,,,,
Total,14.0000,208333,208327,6,3,28.7,66.8,126.6,55.5,,,,,,,,,,,,,,,,
100-101,14.0000,208333,208327,6,3,28.7,66.8,126.6,55.5,,,,,,,,,,,,,,,,
Total,16.0000,238095,238087,8,4,28.7,65.6,257.4,50.9,,,,,,,,,,,,,,,,
100-101,16.0000,238095,238087,8,4,28.7,65.6,257.4,50.9,,,,,,,,,,,,,,,,
Total,18.0000,267857,267849,8,4,29.9,63.2,274.1,16.8,,,,,,,,,,,,,,,,
100-101,18.0000,267857,267849,8,4,29.9,63.2,274.1,16.8,,,,,,,,,,,,,,,,
Total,20.0000,297619,297609,10,5,29.3,64.1,257.3,15.5,,,,,,,,,,,,,,,,
100-101,20.0000,297619,297609,10,5,29.3,64.1,257.3,15.5,,,,,,,,,,,,,,,,
Total,22.0000,327380,327370,10,5,30.4,65.0,204.5,14.6,,,,,,,,,,,,,,,,
100-101,22.0000,327380,327370,10,5,30.4,65.0,204.5,14.6,,,,,,,,,,,,,,,,
Total,24.0000,357142,357130,12,6,30.1,63.2,198.0,24.1,,,,,,,,,,,,,,,,
100-101,24.0000,357142,357130,12,6,30.1,63.2,198.0,24.1,,,,,,,,,,,,,,,,
Total,26.0000,386904,386892,12,6,30.7,69.6,266.1,50.7,,,,,,,,,,,,,,,,
100-101,26.0000,386904,386892,12,6,30.7,69.6,266.1,50.7,,,,,,,,,,,,,,,,
Total,28.0000,416666,279924,136742,87559,34.5,1845.9,2244.1,108.9,,,,,,,,,,,,,,,,
100-101,28.0000,416666,279924,136742,87559,34.5,1845.9,2244.1,108.9,,,,,,,,,,,,,,,,
Total,30.0000,446428,169677,276751,89515,32.3,3012.8,3779.2,378.4,,,,,,,,,,,,,,,,
100-101,30.0000,446428,169677,276751,89515,32.3,3012.8,3779.2,378.4,,,,,,,,,,,,,,,,
Total,32.0000,476190,67769,408421,60022,31.6,7457.6,9467.2,1478.6,,,,,,,,,,,,,,,,
100-101,32.0000,476190,67769,408421,60022,31.6,7457.6,9467.2,1478.6,,,,,,,,,,,,,,,,
Total,34.0000,505952,505936,16,8,32.0,68.7,138.6,50.5,,,,,,,,,,,,,,,,
100-101,34.0000,505952,505936,16,8,32.0,68.7,138.6,50.5,,,,,,,,,,,,,,,,
Total,36.0000,535714,535698,16,8,31.8,67.5,139.7,42.9,,,,,,,,,,,,,,,,
100-101,36.0000,535714,535698,16,8,31.8,67.5,139.7,42.9,,,,,,,,,,,,,,,,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38D786E0.15EC21BC>
