FreeBSD TCP tuning and performance
Sam Fourman Jr.
sfourman at gmail.com
Thu Dec 10 21:00:04 UTC 2009
On Thu, Dec 10, 2009 at 9:05 AM, Steven Hartland
<killing at multiplay.co.uk> wrote:
> What are your iperf command lines?
using FreeBSD RELENG_8 amd64 on a low traffic dell 5224 switch I was
able to see these results, and I don't see a problem
wile running iperf I brought up top -P on my desktop machine here is
what it said
last pid: 27659; load averages: 0.62, 0.34, 0.22
up 1+20:29:22 14:28:43
166 processes: 3 running, 163 sleeping
CPU 0: 0.0% user, 0.0% nice, 91.6% system, 0.0% interrupt, 8.4% idle
CPU 1: 3.8% user, 0.0% nice, 9.6% system, 0.0% interrupt, 86.5% idle
CPU 2: 7.7% user, 0.0% nice, 18.7% system, 0.6% interrupt, 72.9% idle
CPU 3: 1.3% user, 0.0% nice, 26.5% system, 0.6% interrupt, 71.6% idle
Mem: 587M Active, 706M Inact, 376M Wired, 6556K Cache, 271M Buf, 2241M Free
Swap: 3072M Total, 168K Used, 3072M Free
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
24268 sfourman 1 46 0 368M 43060K CPU2 1 87:54 2.29%
npviewer.bin
24263 sfourman 10 44 0 357M 186M ucond 1 25:21 1.07% firefox-bin
1396 sfourman 1 44 0 3245M 98416K select 1 47:19 0.00% Xorg
24271 sfourman 1 44 0 368M 43060K futex 1 15:35 0.00%
npviewer.bin
24272 sfourman 1 44 0 368M 43060K futex 2 12:26 0.00%
npviewer.bin
24273 sfourman 1 44 0 368M 43060K futex 3 8:14 0.00%
npviewer.bin
24284 sfourman 1 44 0 368M 43060K pcmwrv 2 1:07 0.00%
npviewer.bin
22460 sfourman 1 44 0 33336K 25280K select 0 1:02 0.00% wowmatrix
1657 sfourman 2 51 0 112M 18880K piperd 1 0:52 0.00%
gnome-terminal
1368 root 1 44 0 12536K 1688K select 1 0:50 0.00%
hald-addon-storage
1366 root 1 44 0 12536K 1684K select 1 0:50 0.00%
hald-addon-storage
1412 sfourman 3 44 0 212M 19304K ucond 1 0:40 0.00%
gnome-settings-daem
705 root 1 44 0 8036K 1184K select 3 0:37 0.00% moused
1437 sfourman 2 44 0 198M 41172K ucond 1 0:32 0.00% nautilus
1329 root 1 44 0 12536K 1628K select 3 0:19 0.00%
hald-addon-storage
18652 sfourman 2 56 0 112M 18736K piperd 2 0:18 0.00%
gnome-terminal
1321 haldaemon 1 44 0 24380K 4920K select 2 0:18 0.00% hald
1435 sfourman 2 44 0 164M 29048K ucond 2 0:17 0.00% gnome-panel
1434 sfourman 1 44 0 110M 16348K select 1 0:15 0.00% metacity
17410 sfourman 1 44 0 13000K 2336K select 3 0:15 0.00% gam_server
1506 sfourman 2 44 0 172M 22000K ucond 2 0:14 0.00%
clock-applet
1469 sfourman 2 44 0 98440K 14148K ucond 3 0:12 0.00%
gnome-screensaver
1476 sfourman 1 44 0 135M 18960K select 3 0:10 0.00% wnck-applet
1482 sfourman 2 44 0 25104K 4200K ucond 1 0:10 0.00% gvfsd-trash
1488 sfourman 3 47 0 28204K 4628K piperd 0 0:10 0.00%
gvfs-hal-volume-mon
1407 sfourman 1 44 0 26764K 7252K select 1 0:10 0.00% gconfd-2
27653 root 3 44 0 15588K 4512K ucond 1 0:07 0.00% iperf
19711 sfourman 2 44 0 113M 20304K piperd 3 0:07 0.00% Thunar
1546 root 1 44 0 13000K 2116K select 3 0:06 0.00% gam_server
24852 sfourman 10 44 0 249M 51160K select 0 0:03 0.00% vlc
22153 sfourman 1 60 16 66140K 13548K select 2 0:03 0.00% trackerd
25373 sfourman 10 44 0 251M 54412K select 1 0:02 0.00% vlc
1450 sfourman 1 44 0 126M 17076K select 2 0:02 0.00%
gnome-power-manager
FreeBSD Sam.PuffyBSD.Com 8.0-STABLE FreeBSD 8.0-STABLE #1: Mon Nov 30
21:25:50 CST 2009
sfourman at Sam.PuffyBSD.Com:/usr/obj/usr/src/sys/GENERIC amd64
nfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
ether 00:23:54:96:dd:8d
inet 192.168.12.117 netmask 0xffffff00 broadcast 192.168.12.255
media: Ethernet autoselect (1000baseT <full-duplex,flag2>)
status: active
Sam# iperf -i 1 -t 60 -c 192.168.12.188 -w 2.5M -l 2.5M
------------------------------------------------------------
Client connecting to 192.168.12.188, TCP port 5001
TCP window size: 32.5 KByte (WARNING: requested 2.50 MByte)
------------------------------------------------------------
[ 3] local 192.168.12.117 port 46609 connected with 192.168.12.188 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 110 MBytes 923 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 1.0- 2.0 sec 110 MBytes 923 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 2.0- 3.0 sec 112 MBytes 944 Mbits/sec
[ ID] Interval Transfer Bandwidth
More information about the freebsd-performance
mailing list