if_bce tx / rx tick limits
Hi, i wonder about the bce driver's tx / rx tick limits (ticks and ticks_int are limited to 100; otherwise default value (80) gets used) (if_bce.c line 921 / 933 .. ) On DragonFly BSD the values can be set much higher (such as 1000 ..) which would be great in a high-traffic setup. (On linux there's no limit too as far as i remember) Is there any reason why its limited down to 100? Thanks Florian P.S. I'm sorry if this was the wrong mailing list for it; i don't know whats the right list for this (probably net or driver ?) ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
PF NAT issue with 9.0-BETA3 and RELENG_9 'head'
Hello, i recently switched a router in our test-environment to FreeBSD 9.0-Beta3 (and after things didnt worked ... checked out the current RELENG_9 and recompiled kernel world .. ) Problem: After 5 - 15 minutes NAT stops working (normal routing still works.) Network Utilization: about 40 MByte/second, which gets routed only a few kbit/s are getting natted (NTP Syncs and such ... ) When i took a look on the nat rules (via pfctl -vv -s nat) the rules gets evaluated; but nothing matches anymore... State Table helds about 9500 Entrys, Source Tracking Table about 300 Software / Configuration: pf, carp pf.conf: set limit src-nodes 55 set limit frags 32000 set timeout { adaptive.start 53 adaptive.end 54 } set timeout src.track 600 set timeout frag 30 set skip on lo0 set skip on igb2 set skip on igb3 set skip on bce0 set skip on bce1 set skip on pfsync0 #set skip on internal #set skip on carp3internal nat on public from 10.5.0.0/16 to any - { public } carp device holding the internal gateway ips (10.5.0.253 .. ), currently master - no slave /etc/sysctl.conf: net.inet.tcp.blackhole=2 net.inet.udp.blackhole=1 net.inet.ip.forwarding=1 net.inet.ip.fastforwarding=1 net.inet.icmp.icmplim_output=0 net.inet.icmp.icmplim=0 net.route.netisr_maxqlen=8192 kern.random.sys.harvest.interrupt=0 kern.random.sys.harvest.ethernet=0 kern.random.sys.harvest.point_to_point=0 net.inet.carp.preempt=1 /boot/loader.conf: net.isr.maxthreads=2 net.isr.defaultqlimit=4096 net.isr.maxqlimit=81920 net.isr.direct=1 net.isr.bindthreads=1 hw.igb.num_queues=2 hw.igb.enable_aim=1 hw.igb.txd=2048 hw.igb.rxd=2048 hw.igb.max_interrupt_rate=8000 hw.intr_storm_threshold=1 kern.ipc.nmbclusters=262144 kern.hz=1000 # sysctl -a hw.igb hw.igb.rx_process_limit: 100 hw.igb.num_queues: 2 hw.igb.header_split: 0 hw.igb.max_interrupt_rate: 8000 hw.igb.enable_msix: 1 hw.igb.enable_aim: 1 hw.igb.txd: 2048 hw.igb.rxd: 2048 # sysctl -a dev.igb dev.igb.0.%desc: Intel(R) PRO/1000 Network Connection version - 2.2.5 dev.igb.0.%driver: igb dev.igb.0.%location: slot=0 function=0 dev.igb.0.%pnpinfo: vendor=0x8086 device=0x10e8 subvendor=0x8086 subdevice=0xa02c class=0x02 dev.igb.0.%parent: pci5 dev.igb.0.nvm: -1 dev.igb.0.enable_aim: 1 dev.igb.0.fc: 65536003 dev.igb.0.rx_processing_limit: 100 dev.igb.0.link_irq: 2 dev.igb.0.dropped: 0 dev.igb.0.tx_dma_fail: 0 dev.igb.0.rx_overruns: 0 dev.igb.0.watchdog_timeouts: 0 dev.igb.0.device_control: 1086325313 dev.igb.0.rx_control: 67141634 dev.igb.0.interrupt_mask: 4 dev.igb.0.extended_int_mask: 2147483655 dev.igb.0.tx_buf_alloc: 0 dev.igb.0.rx_buf_alloc: 0 dev.igb.0.fc_high_water: 58976 dev.igb.0.fc_low_water: 58960 dev.igb.0.queue0.no_desc_avail: 0 dev.igb.0.queue0.tx_packets: 28167655 dev.igb.0.queue0.rx_packets: 942710 dev.igb.0.queue0.rx_bytes: 84905673 dev.igb.0.queue0.lro_queued: 0 dev.igb.0.queue0.lro_flushed: 0 dev.igb.0.queue1.no_desc_avail: 0 dev.igb.0.queue1.tx_packets: 27659961 dev.igb.0.queue1.rx_packets: 219218 dev.igb.0.queue1.rx_bytes: 34229378 dev.igb.0.queue1.lro_queued: 0 dev.igb.0.queue1.lro_flushed: 0 dev.igb.0.mac_stats.excess_coll: 0 dev.igb.0.mac_stats.single_coll: 0 dev.igb.0.mac_stats.multiple_coll: 0 dev.igb.0.mac_stats.late_coll: 0 dev.igb.0.mac_stats.collision_count: 0 dev.igb.0.mac_stats.symbol_errors: 0 dev.igb.0.mac_stats.sequence_errors: 0 dev.igb.0.mac_stats.defer_count: 0 dev.igb.0.mac_stats.missed_packets: 0 dev.igb.0.mac_stats.recv_no_buff: 0 dev.igb.0.mac_stats.recv_undersize: 0 dev.igb.0.mac_stats.recv_fragmented: 0 dev.igb.0.mac_stats.recv_oversize: 0 dev.igb.0.mac_stats.recv_jabber: 0 dev.igb.0.mac_stats.recv_errs: 0 dev.igb.0.mac_stats.crc_errs: 0 dev.igb.0.mac_stats.alignment_errs: 0 dev.igb.0.mac_stats.coll_ext_errs: 0 dev.igb.0.mac_stats.xon_recvd: 0 dev.igb.0.mac_stats.xon_txd: 0 dev.igb.0.mac_stats.xoff_recvd: 0 dev.igb.0.mac_stats.xoff_txd: 0 dev.igb.0.mac_stats.total_pkts_recvd: 1277070 dev.igb.0.mac_stats.good_pkts_recvd: 1161923 dev.igb.0.mac_stats.bcast_pkts_recvd: 101354 dev.igb.0.mac_stats.mcast_pkts_recvd: 714 dev.igb.0.mac_stats.rx_frames_64: 102154 dev.igb.0.mac_stats.rx_frames_65_127: 1015473 dev.igb.0.mac_stats.rx_frames_128_255: 6736 dev.igb.0.mac_stats.rx_frames_256_511: 10919 dev.igb.0.mac_stats.rx_frames_512_1023: 1719 dev.igb.0.mac_stats.rx_frames_1024_1522: 24922 dev.igb.0.mac_stats.good_octets_recvd: 123782443 dev.igb.0.mac_stats.good_octets_txd: 55500343847 dev.igb.0.mac_stats.total_pkts_txd: 55828073 dev.igb.0.mac_stats.good_pkts_txd: 55828073 dev.igb.0.mac_stats.bcast_pkts_txd: 5 dev.igb.0.mac_stats.mcast_pkts_txd: 1 dev.igb.0.mac_stats.tx_frames_64: 10267735
Re: PF NAT issue with 9.0-BETA3 and RELENG_9 'head'
On Tue, Oct 18, 2011 at 6:16 PM, Bjoern A. Zeeb bzeeb-li...@lists.zabbadoz.net wrote: On 18. Oct 2011, at 15:38 , Florian Wilkemeyer wrote: Hello, i recently switched a router in our test-environment to FreeBSD 9.0-Beta3 (and after things didnt worked ... checked out the current RELENG_9 and recompiled kernel world .. ) freebsd-pf archives might be a good start and the better list ... Okay, thanks i'll post it there.. i missed that there's also a pf-related list, sorry Has anything changed from 8.2 to 9.0 that i missed to consider in configuration? Yes, the implementation was updated ... -- Bjoern A. Zeeb You have to have visions! Stop bit received. Insert coin for new address family. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org