Код: Выделить всё
netstat -w 1
input (Total) output
packets errs idrops bytes packets errs bytes colls
10 0 0 644 4 0 648 0
52 0 0 9546 74 0 7720 0
38 0 0 5916 70 0 9982 0
16 0 0 2924 2 0 340 0
8 0 0 544 2 0 340 0
Код: Выделить всё
6 0 0 424 2 0 340 0
6 0 0 672 4 0 600 0
14 0 0 1376 12 0 1262 0
129802 0 0 196153052 135265 0 7455096 0
142068 0 0 214487604 147908 0 8149204 0
24382 0 0 36773692 25723 0 1416592 0
30 0 0 1800 2 0 340 0
16 0 0 960 2 0 340 0
40122 0 0 60666340 41979 0 2313892 0
142536 0 0 215178540 148539 0 8183512 0
104382 0 0 157555928 109082 0 6007006 0
12 0 0 720 2 0 340 0
16 0 0 1026 8 0 774 0
24 0 0 1440 2 0 340 0
141290 0 0 213506648 147387 0 8123143 0
input (Total) output
packets errs idrops bytes packets errs bytes colls
140032 0 0 211432424 145889 0 8036464 0
4704 0 0 7095686 4986 0 275102 0
12 0 0 1366 4 0 588 0
8 0 0 1336 2 0 340 0
86021 0 0 129857744 89833 0 4950214 0
142412 0 0 215005776 148650 0 8190004 0
55466 0 0 83777378 58281 0 3205724 0
34 0 0 2052 4 0 568 0
42118 0 0 63649524 44035 0 2430976 0
143860 0 0 217507444 149977 0 8262730 0
97354 0 0 146926072 101546 0 5592718 0
30 0 0 1800 2 0 340 0
20 0 0 2234 10 0 1526 0
26 0 0 1560 2 0 340 0
95354 0 0 144037144 99712 0 5495698 0
145906 0 0 220630208 152998 0 8428756 0
47572 0 0 71847192 50116 0 2758228 0
18 0 0 1080 4 0 480 0
40760 0 0 61594320 42603 0 2350510 0
135956 0 0 205581428 141786 0 7811074 0
89674 0 0 135587004 93617 0 5157724 0
input (Total) output
packets errs idrops bytes packets errs bytes colls
46 0 0 5100 68 0 9230 0
4 0 0 240 4 0 776 0
2 0 0 120 2 0 340 0
6 0 0 360 2 0 340 0
Код: Выделить всё
/boot/loader.conf
zfs_load="YES"
vfs.root.mountfrom="zfs:zroot"
vm.kmem_size_max="4096M"
vm.kmem_size="4096M"
vfs.zfs.arc_max="400M"
aio_load="YES"
Код: Выделить всё
cat /etc/sysctl.conf
# $FreeBSD: src/etc/sysctl.conf,v 1.8.34.1 2009/08/03 08:13:06 kensmith Exp $
#
# This file is read when going to multi-user and its contents piped thru
# ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details.
#
# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
kern.ipc.maxsockbuf=16777216
kern.ipc.nmbclusters=32768
kern.ipc.somaxconn=32768
kern.maxfiles=65536
kern.maxfilesperproc=32768
kern.maxvnodes=800000
net.inet.tcp.delayed_ack=0
net.inet.tcp.inflight.enable=0
net.inet.tcp.path_mtu_discovery=0
net.inet.tcp.recvbuf_auto=1
net.inet.tcp.recvbuf_inc=524288
net.inet.tcp.recvbuf_max=16777216
net.inet.tcp.recvspace=65536
net.inet.tcp.rfc1323=1
net.inet.tcp.sendbuf_auto=1
net.inet.tcp.sendbuf_inc=524288
net.inet.tcp.sendspace=65536
net.inet.udp.maxdgram=57344
net.inet.udp.recvspace=65536
net.local.stream.recvspace=65536
net.inet.tcp.sendbuf_max=16777216
net.inet.tcp.mssdflt=1460
Код: Выделить всё
SMP KERNELL +
device lagg
options DEVICE_POLLING
options HZ=1000
# ---- PostgreSQL -------------
options SHMMAXPGS=65536
options SEMMNI=40
options SEMMNS=240
options SEMUME=40
options SEMMNU=120
Код: Выделить всё
ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
ether 00:15:17:db:7e:88
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
ether 00:15:17:db:7e:88
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
ether 6c:f0:49:50:f4:1d
media: Ethernet autoselect (10baseT/UTP <half-duplex>)
status: no carrier
re1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
ether 6c:f0:49:50:f4:1f
media: Ethernet autoselect (10baseT/UTP <half-duplex>)
status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
ether 00:15:17:db:7e:88
inet 192.168.1.141 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect
status: active
laggproto lacp
laggport: em1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
laggport: em0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>