Перейти до

Выбор сетевой карты для Ubillinga


Рекомендованные сообщения

Добрый день, посоветуйте нормальную сетевую для NAS и DHCP,

Что-то начались проблемы с DHCP , вылетаtn ошибка 
 

Failed to send 300 byte long packet over fallback interface.

на этом сервере стоят Broadcom NetXtreme II BCM5708 Gigabit Ethernet Network  на этом насе подключено около 230 абонентов,  не в ней ли проблема.

 

Вот и задались вопросом какие сетевые лучше поставить на доступ.

Ссылка на сообщение
Поделиться на других сайтах


root@local:~ # netstat -m
806/1894/2700 mbufs in use (current/cache/total)
805/1163/1968/251026 mbuf clusters in use (current/cache/total/max)
805/1115 mbuf+clusters out of packet secondary zone in use (current/cache)
0/135/135/125513 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/37189 9k jumbo clusters in use (current/cache/total/max)
0/0/0/20918 16k jumbo clusters in use (current/cache/total/max)
1811K/3339K/5151K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters delayed (4k/9k/16k)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/0/0 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
0 calls to protocol drain routines


root@local:~ # vmstat failures
procs memory page faults cpu
r b w avm fre flt re pi po fr sr in sy cs us sy id
0 0 0 1601M 2324M 24 0 0 0 32 0 758 400 1118 1 10 89


root@local:~ # sysctl kern.ipc.maxmbufmem
kern.ipc.maxmbufmem: 2056407040
root@local:~ # sysctl kern.ipc.nmbufs
kern.ipc.nmbufs: 1606575
root@local:~ # sysctl kern.ipc.nmbclusters
kern.ipc.nmbclusters: 251026
root@local:~ # sysctl kern.ipc.maxsockbuf
kern.ipc.maxsockbuf: 2097152


root@local:~ # vmstat -z
ITEM SIZE LIMIT USED FREE REQ FAIL SLEEP

UMA Kegs: 208, 0, 90, 12, 90, 0, 0
UMA Zones: 896, 0, 90, 2, 90, 0, 0
UMA Slabs: 568, 0, 13210, 6, 22056, 0, 0
UMA RCntSlabs: 568, 0, 1119, 1, 1119, 0, 0
UMA Hash: 256, 0, 1, 14, 4, 0, 0
16 Bucket: 152, 0, 158, 17, 158, 0, 0
32 Bucket: 280, 0, 168, 0, 168, 0, 0
64 Bucket: 536, 0, 108, 4, 108, 61, 0
128 Bucket: 1048, 0, 5854, 2, 5854,1177, 0
VM OBJECT: 232, 0, 56367, 1009, 7174685, 0, 0
MAP: 240, 0, 8, 24, 8, 0, 0
KMAP ENTRY: 128, 274775, 644, 1009, 3903614, 0, 0
MAP ENTRY: 128, 0, 4548, 14302,20532323, 0, 0
fakepg: 120, 0, 0, 0, 0, 0, 0
mt_zone: 4112, 0, 331, 12, 331, 0, 0
16: 16, 0, 2908, 788,43090919, 0, 0
32: 32, 0, 3211, 829, 5954971, 0, 0
64: 64, 0, 5991, 1681,14897700, 0, 0
128: 128, 0, 58464, 649136,371267077, 0, 0
256: 256, 0, 2473, 3377,22069193278, 0, 0
512: 512, 0, 1293, 1906,1375430956, 0, 0
1024: 1024, 0, 49, 191, 2642143, 0, 0
2048: 2048, 0, 169, 157, 3659610, 0, 0
4096: 4096, 0, 440, 325, 293377, 0, 0
Files: 80, 0, 243, 477,31454250, 0, 0
rl_entry: 40, 0, 188, 232, 188, 0, 0
TURNSTILE: 136, 0, 424, 96, 424, 0, 0
umtx pi: 96, 0, 0, 0, 0, 0, 0
MAC labels: 40, 0, 0, 0, 0, 0, 0
PROC: 1192, 0, 61, 149, 192047, 0, 0
THREAD: 1160, 0, 262, 161, 926099, 0, 0
SLEEPQUEUE: 80, 0, 424, 98, 424, 0, 0
VMSPACE: 400, 0, 40, 122, 192017, 0, 0
cpuset: 72, 0, 50, 50, 50, 0, 0
audit_record: 960, 0, 0, 0, 0, 0, 0
mbuf_packet: 256, 1606575, 778, 1142,22138082479, 0, 0
mbuf: 256, 1606575, 1, 779,13816851093, 0, 0
mbuf_cluster: 2048, 251026, 1920, 48, 1920, 0, 0
mbuf_jumbo_page: 4096, 125513, 0, 135, 222886, 0, 0
mbuf_jumbo_9k: 9216, 37189, 0, 0, 0, 0, 0
mbuf_jumbo_16k: 16384, 20918, 0, 0, 0, 0, 0
mbuf_ext_refcnt: 4, 0, 0, 0, 0, 0, 0
ttyoutq: 256, 0, 95, 100, 495, 0, 0
g_bio: 248, 0, 0, 6255,29204171, 0, 0
ttyinq: 160, 0, 180, 180, 945, 0, 0
ata_request: 328, 0, 0, 180, 793750, 0, 0
ata_composite: 336, 0, 0, 0, 0, 0, 0
vtnet_tx_hdr: 24, 0, 0, 0, 0, 0, 0
FPU_save_area: 512, 0, 0, 0, 0, 0, 0
VNODE: 504, 0, 91428, 332,11870715, 0, 0
VNODEPOLL: 112, 0, 0, 0, 0, 0, 0
S VFS Cache: 108, 0, 97353, 624,11837730, 0, 0
STS VFS Cache: 148, 0, 0, 0, 0, 0, 0
L VFS Cache: 328, 0, 1505, 1483, 184657, 0, 0
LTS VFS Cache: 368, 0, 0, 0, 0, 0, 0
NAMEI: 1024, 0, 0, 96,60423972, 0, 0
NCLNODE: 568, 0, 0, 0, 0, 0, 0
DIRHASH: 1024, 0, 987, 37, 987, 0, 0
Mountpoints: 824, 0, 2, 6, 2, 0, 0
pipe: 728, 0, 2, 103, 105928, 0, 0
ksiginfo: 112, 0, 202, 854, 581387, 0, 0
itimer: 344, 0, 0, 0, 0, 0, 0
KNOTE: 128, 0, 21, 356, 7728402, 0, 0
socket: 680, 130338, 27, 237, 6004248, 0, 0
unpcb: 240, 130336, 10, 246, 2202697, 0, 0
ipq: 56, 7875, 0, 252, 29, 0, 0
udp_inpcb: 392, 130340, 7, 123, 3731542, 0, 0
udpcb: 16, 130368, 7, 833, 3731542, 0, 0
tcp_inpcb: 392, 130340, 9, 171, 66779, 0, 0
tcpcb: 976, 130336, 9, 135, 66779, 0, 0
tcptw: 72, 26100, 0, 300, 1035, 0, 0
syncache: 152, 15375, 0, 150, 36073, 0, 0
hostcache: 136, 15372, 4, 136, 802, 0, 0
tcpreass: 40, 15708, 0, 420, 519, 0, 0
sackhole: 32, 0, 0, 505, 205, 0, 0
sctp_ep: 1384, 130334, 0, 0, 0, 0, 0
sctp_asoc: 2296, 40000, 0, 0, 0, 0, 0
sctp_laddr: 48, 80064, 0, 360, 9, 0, 0
sctp_raddr: 704, 80000, 0, 0, 0, 0, 0
sctp_chunk: 136, 400008, 0, 0, 0, 0, 0
sctp_readq: 104, 400032, 0, 0, 0, 0, 0
sctp_stream_msg_out: 104, 400032, 0, 0, 0, 0, 0
sctp_asconf: 40, 400008, 0, 0, 0, 0, 0
sctp_asconf_ack: 48, 400032, 0, 0, 0, 0, 0
ripcb: 392, 130340, 1, 69, 2824, 0, 0
rtentry: 200, 0, 30, 65, 30, 0, 0
IPFW dynamic rule: 120, 4123, 0, 0, 0, 0, 0
selfd: 56, 0, 286, 722,42936510, 0, 0
SWAPMETA: 288, 502060, 0, 0, 0, 0, 0
FFS inode: 168, 0, 91397, 189,11870216, 0, 0
FFS1 dinode: 128, 0, 0, 0, 0, 0, 0
FFS2 dinode: 256, 0, 91397, 223,11870216, 0, 0


root@local:~ # netstat -s
tcp:
543696 packets sent
351221 data packets (224283157 bytes)
5417 data packets (3484847 bytes) retransmitted
38 data packets unnecessarily retransmitted
0 resends initiated by MTU discovery
160074 ack-only packets (92143 delayed)
0 URG only packets
0 window probe packets
137 window update packets
26840 control packets
579304 packets received
317476 acks (for 223330622 bytes)
23652 duplicate acks
0 acks for unsent data
306240 packets (48291629 bytes) received in-sequence
1046 completely duplicate packets (97508 bytes)
4 old duplicate packets
2 packets with some dup. data (84 bytes duped)
519 out-of-order packets (114149 bytes)
0 packets (0 bytes) of data after window
0 window probes
229 window update packets
345 packets received after close
4 discarded for bad checksums
0 discarded for bad header offset fields
0 discarded because packet too short
0 discarded due to memory problems
3090 connection requests
34824 connection accepts
1 bad connection attempt
0 listen queue overflows
646 ignored RSTs in the windows
37751 connections established (including accepts)
66770 connections closed (including 15835 drops)
34211 connections updated cached RTT on close
34336 connections updated cached RTT variance on close
25083 connections updated cached ssthresh on close
60 embryonic connections dropped
290417 segments updated rtt (of 260142 attempts)
6209 retransmit timeouts
66 connections dropped by rexmit timeout
0 persist timeouts
0 connections dropped by persist timeout
0 Connections (fin_wait_2) dropped because of timeout
64 keepalive timeouts
56 keepalive probes sent
8 connections dropped by keepalive
65304 correct ACK header predictions
163833 correct data packet header predictions
36045 syncache entries added
1016 retransmitted
279 dupsyn
28 dropped
34824 completed
0 bucket overflow
0 cache overflow
990 reset
239 stale
0 aborted
0 badack
7 unreach
0 zone failures
36073 cookies sent
15 cookies received
802 hostcache entries added
0 bucket overflow
27 SACK recovery episodes
128 segment rexmits in SACK recovery episodes
184662 byte rexmits in SACK recovery episodes
917 SACK options (SACK blocks) received
131 SACK options (SACK blocks) sent
0 SACK scoreboard overflow
0 packets with ECN CE bit set
0 packets with ECN ECT(0) bit set
0 packets with ECN ECT(1) bit set
0 successful ECN handshakes
0 times ECN reduced the congestion window
udp:
41143892 datagrams received
0 with incomplete header
0 with bad data length field
39 with bad checksum
3263 with no checksum
297100 dropped due to no socket
3075231 broadcast/multicast datagrams undelivered
176050 dropped due to full socket buffers
0 not for hashed pcb
37595472 delivered
37023386 datagrams output
0 times multicast source filter matched
sctp:
0 input packets
0 datagrams
0 packets that had data
0 input SACK chunks
0 input DATA chunks
0 duplicate DATA chunks
0 input HB chunks
0 HB-ACK chunks
0 input ECNE chunks
0 input AUTH chunks
0 chunks missing AUTH
0 invalid HMAC ids received
0 invalid secret ids received
0 auth failed
0 fast path receives all one chunk
0 fast path multi-part data
0 output packets
0 output SACKs
0 output DATA chunks
0 retransmitted DATA chunks
0 fast retransmitted DATA chunks
0 FR's that happened more than once to same chunk
0 output HB chunks
0 output ECNE chunks
0 output AUTH chunks
0 ip_output error counter
Packet drop statistics:
0 from middle box
0 from end host
0 with data
0 non-data, non-endhost
0 non-endhost, bandwidth rep only
0 not enough for chunk header
0 not enough data to confirm
0 where process_chunk_drop said break
0 failed to find TSN
0 attempt reverse TSN lookup
0 e-host confirms zero-rwnd
0 midbox confirms no space
0 data did not match TSN
0 TSN's marked for Fast Retran
Timeouts:
0 iterator timers fired
0 T3 data time outs
0 window probe (T3) timers fired
0 INIT timers fired
0 sack timers fired
0 shutdown timers fired
0 heartbeat timers fired
0 a cookie timeout fired
0 an endpoint changed its cookiesecret
0 PMTU timers fired
0 shutdown ack timers fired
0 shutdown guard timers fired
0 stream reset timers fired
0 early FR timers fired
0 an asconf timer fired
0 auto close timer fired
0 asoc free timers expired
0 inp free timers expired
0 packet shorter than header
0 checksum error
0 no endpoint for port
0 bad v-tag
0 bad SID
0 no memory
0 number of multiple FR in a RTT window
0 RFC813 allowed sending
0 RFC813 does not allow sending
0 times max burst prohibited sending
0 look ahead tells us no memory in interface
0 numbers of window probes sent
0 times an output error to clamp down on next user send
0 times sctp_senderrors were caused from a user
0 number of in data drops due to chunk limit reached
0 number of in data drops due to rwnd limit reached
0 times a ECN reduced the cwnd
0 used express lookup via vtag
0 collision in express lookup
0 times the sender ran dry of user data on primary
0 same for above
0 sacks the slow way
0 window update only sacks sent
0 sends with sinfo_flags !=0
0 unordered sends
0 sends with EOF flag set
0 sends with ABORT flag set
0 times protocol drain called
0 times we did a protocol drain
0 times recv was called with peek
0 cached chunks used
0 cached stream oq's used
0 unread messages abandonded by close
0 send burst avoidance, already max burst inflight to net
0 send cwnd full avoidance, already max burst inflight to net
0 number of map array over-runs via fwd-tsn's
ip:
22139259398 total packets received
78 bad header checksums
0 with size smaller than minimum
49 with data size < data length
0 with ip length > max ip packet size
0 with header length < data size
0 with data length < header length
0 with bad options
0 with incorrect version number
58 fragments received
0 fragments dropped (dup or out of space)
0 fragments dropped after timeout
29 packets reassembled ok
41914774 packets for this host
759826 packets for unknown/unsupported protocol
21949709644 packets forwarded (8281308596 packets fast forwarded)
90347518 packets not forwardable
0 packets received for unknown multicast group
10735 redirects sent
38034683 packets sent from this host
0 packets sent with fabricated ip header
7582 output packets dropped due to no bufs, etc.
37 output packets discarded due to no route
0 output datagrams fragmented
0 fragments created
0 datagrams that can't be fragmented
0 tunneling packets that can't find gif
0 datagrams with bad address in header
icmp:
480954 calls to icmp_error
54674 errors not generated in response to an icmp message
Output histogram:
echo reply: 14050
destination unreachable: 297075
routing redirect: 10735
time exceeded: 129205
0 messages with bad code fields
0 messages less than the minimum length
0 messages with bad checksum
0 messages with bad length
0 multicast echo requests ignored
0 multicast timestamp requests ignored
Input histogram:
echo reply: 17
destination unreachable: 2500
echo: 187800
time exceeded: 91
14050 message responses generated
0 invalid return addresses
0 no return routes
ICMP address mask responses are disabled
igmp:
759827 messages received
0 messages received with too few bytes
1 message received with wrong TTL
0 messages received with bad checksum
0 V1/V2 membership queries received
0 V3 membership queries received
0 membership queries received with invalid field(s)
0 general queries received
0 group queries received
0 group-source queries received
0 group-source queries dropped
357296 membership reports received
0 membership reports received with invalid field(s)
3 membership reports received for groups to which we belong
309 V3 reports received without Router Alert
0 membership reports sent
arp:
33466 ARP requests sent
1589228 ARP replies sent
40467806 ARP requests received
16296 ARP replies received
40490256 ARP packets received
42375 total packets dropped due to no ARP entry
18567 ARP entrys timed out
7 Duplicate IPs seen
ip6:
0 total packets received
0 with size smaller than minimum
0 with data size < data length
0 with bad options
0 with incorrect version number
0 fragments received
0 fragments dropped (dup or out of space)
0 fragments dropped after timeout
0 fragments that exceeded limit
0 packets reassembled ok
0 packets for this host
0 packets forwarded
0 packets not forwardable
0 redirects sent
14 packets sent from this host
0 packets sent with fabricated ip header
0 output packets dropped due to no bufs, etc.
13 output packets discarded due to no route
0 output datagrams fragmented
0 fragments created
0 datagrams that can't be fragmented
0 packets that violated scope rules
0 multicast packets which we don't join
Mbuf statistics:
0 one mbuf
3239906 one ext mbuf
0 two or more ext mbuf
0 packets whose headers are not contiguous
0 tunneling packets that can't find gif
0 packets discarded because of too many headers
0 failures of source address selection
Source addresses selection rule applied:
icmp6:
0 calls to icmp6_error
0 errors not generated in response to an icmp6 message
0 errors not generated because of rate limitation
Output histogram:
neighbor solicitation: 3
0 messages with bad code fields
0 messages < minimum length
0 bad checksums
0 messages with bad length
Histogram of error messages to be generated:
0 no route
0 administratively prohibited
0 beyond scope
0 address unreachable
0 port unreachable
0 packet too big
0 time exceed transit
0 time exceed reassembly
0 erroneous header field
0 unrecognized next header
0 unrecognized option
0 redirect
0 unknown
0 message responses generated
0 messages with too many ND options
0 messages with bad ND options
0 bad neighbor solicitation messages
0 bad neighbor advertisement messages
0 bad router solicitation messages
0 bad router advertisement messages
0 bad redirect messages
0 path MTU changes
rip6:
0 messages received
0 checksum calculations on inbound
0 messages with bad checksum
0 messages dropped due to no socket
0 multicast messages dropped due to no socket
0 messages dropped due to full socket buffers
0 delivered
0 datagrams output


root@hartum:~ # netstat -Q
Configuration:
Setting Current Limit
Thread count 1 1
Default queue limit 256 10240
Dispatch policy direct n/a
Threads bound to CPUs disabled n/a

Protocols:
Name Proto QLimit Policy Dispatch Flags
ip 1 256 flow default ---
igmp 2 256 source default ---
rtsock 3 256 source default ---
arp 7 256 source default ---
ether 9 256 source direct ---
ip6 10 256 flow default ---

Workstreams:
WSID CPU Name Len WMark Disp'd HDisp'd QDrops Queued Handled
0 0 ip 0 88 12487078452 0 0 33154641 12520207365
0 0 igmp 0 0 0 0 0 0 0
0 0 rtsock 0 2 0 0 0 1799 1799
0 0 arp 0 0 12589406 0 0 0 12589406
0 0 ether 0 0 12588773392 0 0 0 12588773392
0 0 ip6 0 0 69423 0 0 0 69423

Ссылка на сообщение
Поделиться на других сайтах

http://wiki.ubilling.net.ua/doku.php?id=faq

Q: Какие сетевые посоветуете на NAS?
A: Intel 82576 либо Intel i350 (igb) работают вполне себе отлично, если мама денег столько не дает - сойдет что-то типа Intel 82574L (em) хотя прерываниями он отжирает значительно больше. И нет - эти ваши rl/bge/vr/ed/nfe/ale/re и прочие - это не сетевые, это что-то другое. Ими можно, например, топить печку зимой играя на балалайке своему медведю.
Ссылка на сообщение
Поделиться на других сайтах

Создайте аккаунт или войдите в него для комментирования

Вы должны быть пользователем, чтобы оставить комментарий

Создать аккаунт

Зарегистрируйтесь для получения аккаунта. Это просто!

Зарегистрировать аккаунт

Вхід

Уже зарегистрированы? Войдите здесь.

Войти сейчас
  • Зараз на сторінці   0 користувачів

    Немає користувачів, що переглядають цю сторінку.

×
×
  • Створити нове...