RE: RE: question about fopen fd limit

2016-12-23 Thread Hongjiang Zhang via freebsd-net
fds by yourself including open/close. In my eyes: 1. is the quick method, and there is no modifications in your logic. 2. Needs you to maintain the reserved consecutive fields for fd by yourself, which increased the complexity of your logic. Thanks Hongjiang Zhang From: 盛慧华 [mailto:hhsh

RE: question about fopen fd limit

2016-12-22 Thread Hongjiang Zhang via freebsd-net
Why do you need to map TCP fd to FILE? It is difficult to modify FILE structure. If it is possible, let us figure out some new designs to meet your requirement. -Original Message- From: owner-freebsd-...@freebsd.org [mailto:owner-freebsd-...@freebsd.org] On Behalf Of ??? Sent: Thursday

RE: ixgbe: Network performance tuning (#TCP connections)

2016-02-04 Thread Hongjiang Zhang
Please check whether LRO is enabled on your FreeBSD server with "ifconfig". Linux default enables GRO (see the output of 'ethtool -k eth0'), which covers LRO optimization. Thanks Hongjiang Zhang -Original Message- From: owner-freebsd-...@freebsd.org [

RE: ixgbe: Network performance tuning (#TCP connections)

2016-02-04 Thread Hongjiang Zhang
Did you enable LRO on FreeBSD side (check 'ifconfig' output)? Linux default enables GRO (see the output of 'ethtool -k eth0'). Thanks Hongjiang Zhang -Original Message- From: owner-freebsd-...@freebsd.org [mailto:owner-freebsd-...@freebsd.org] On Behalf Of

RE: Is there any plan to support GRO

2016-01-11 Thread Hongjiang Zhang
you please share the plan for LRO improvement? Thanks. -Original Message- From: hiren panchasara [mailto:hi...@strugglingcoder.info] Sent: 2016年1月11日 23:43 To: Hongjiang Zhang Cc: freebsd-net@freebsd.org Subject: Re: Is there any plan to support GRO On 01/11/16 at 11:19P, Hongjiang

Is there any plan to support GRO

2016-01-11 Thread Hongjiang Zhang
Hi all, LRO has been enabled since FreeBSD 7.1. Is there any plan to support GRO (Generic Receive Offloading)? I also found Linux disabled LRO and enabled GRO by default. It looks like GRO is better than LRO. ___ freebsd-net@freebsd.org mailing list h

RE: mbuf statistics

2015-12-01 Thread Hongjiang Zhang
I can observe the same phenomena on FreeBSD 10.2: current+cache==total==USED+FREE. There must be some relationship between them. $ netstat -mb|grep "mbuf clusters" 0/766/766/126146 mbuf clusters in use (current/cache/total/max) $ vmstat -z|egrep "mbuf_cluster|ITEM"|column -t ITEM SIZE

RE: Is it allowed to copy hyper-v drivers from FreeBSD 10 and packed it into FreeBSD 9.2

2015-11-23 Thread Hongjiang Zhang
[mailto:adrian.ch...@gmail.com] Sent: 2015年11月23日 23:31 To: Hongjiang Zhang Cc: freebsd-net@freebsd.org Subject: Re: Is it allowed to copy hyper-v drivers from FreeBSD 10 and packed it into FreeBSD 9.2 On 22 November 2015 at 21:58, Hongjiang Zhang wrote: > Hi, > > Some people, who used FreeBSD 9.2

Is it allowed to copy hyper-v drivers from FreeBSD 10 and packed it into FreeBSD 9.2

2015-11-22 Thread Hongjiang Zhang
Hi, Some people, who used FreeBSD 9.2 and back-port network driver for Hyper-v from FreeBSD 10, encountered a network issue. They installed 2 VM (FreeBSD 9.2 with the customized FreeBSD kernel) on Azure. Network went offline very soon when the big file (~320M byte) is copied from one VM to anth