Re: Limits on jumbo mbuf cluster allocation

2013-03-10 Thread Rick Macklem
Andre Oppermann wrote: > On 09.03.2013 01:47, Rick Macklem wrote: > > Garrett Wollman wrote: > >> < >> said: > >> > >>> [stuff I wrote deleted] > >>> You have an amd64 kernel running HEAD or 9.x? > >> > >> Yes, these are 9.1 with some patches to reduce mutex contention on > >> the > >> NFS server'

Re: Limits on jumbo mbuf cluster allocation

2013-03-10 Thread Rick Macklem
Andre Oppermann wrote: > On 10.03.2013 07:04, Garrett Wollman wrote: > > < > > said: > > > >> Yes, in the past the code was in this form, it should work fine > >> Garrett, > >> just make sure > >> the 4K pool is large enough. > > > > [Andre Oppermann's patch:] > >>> if (adapter->max_frame_size <= 2

Re: Limits on jumbo mbuf cluster allocation

2013-03-10 Thread Rick Macklem
Andre Oppermann wrote: > On 10.03.2013 03:22, Rick Macklem wrote: > > Garett Wollman wrote: > >> Also, it occurs to me that this strategy is subject to livelock. To > >> put backpressure on the clients, it is far better to get them to > >> stop > >> sending (by advertising a small receive window) t

Re: Limits on jumbo mbuf cluster allocation

2013-03-10 Thread Andre Oppermann
On 10.03.2013 03:22, Rick Macklem wrote: Garett Wollman wrote: Also, it occurs to me that this strategy is subject to livelock. To put backpressure on the clients, it is far better to get them to stop sending (by advertising a small receive window) than to accept their traffic but queue it for a

Re: Limits on jumbo mbuf cluster allocation

2013-03-10 Thread Andre Oppermann
On 10.03.2013 07:04, Garrett Wollman wrote: < said: Yes, in the past the code was in this form, it should work fine Garrett, just make sure the 4K pool is large enough. [Andre Oppermann's patch:] if (adapter->max_frame_size <= 2048) adapter-> rx_mbuf_sz = MCLBYTES; - else if (adapter

Re: Limits on jumbo mbuf cluster allocation

2013-03-10 Thread Andre Oppermann
On 09.03.2013 01:47, Rick Macklem wrote: Garrett Wollman wrote: < said: [stuff I wrote deleted] You have an amd64 kernel running HEAD or 9.x? Yes, these are 9.1 with some patches to reduce mutex contention on the NFS server's replay "cache". The cached replies are copies of the mbuf list d

Multipath TCP for FreeBSD v0.1

2013-03-10 Thread Lawrence Stewart
Hi all, The CAIA MPTCP team is pleased to announce the initial release of our multipath TCP implementation for FreeBSD 10-CURRENT which is available from [1]. This release contains wire-related protocol code and a lot of core stack infrastructure. It is capable of running regular TCP flows and sin