Re: auto tuning tcp

2012-11-13 Thread Michael Tuexen
On Nov 13, 2012, at 1:43 PM, Andre Oppermann wrote: > On 13.11.2012 09:41, Alfred Perlstein wrote: >> On 11/13/12 12:25 AM, Andre Oppermann wrote: >>> On 13.11.2012 09:18, Alfred Perlstein wrote: On 11/13/12 12:06 AM, Andre Oppermann wrote: > On 13.11.2012 07:45, Alfred Perlstein wrote:

Re: auto tuning tcp

2012-11-13 Thread Andre Oppermann
On 13.11.2012 09:41, Alfred Perlstein wrote: On 11/13/12 12:25 AM, Andre Oppermann wrote: On 13.11.2012 09:18, Alfred Perlstein wrote: On 11/13/12 12:06 AM, Andre Oppermann wrote: On 13.11.2012 07:45, Alfred Perlstein wrote: If you are concerned about the space/time tradeoff I'm pretty happy

Re: auto tuning tcp

2012-11-13 Thread Alfred Perlstein
On 11/13/12 12:25 AM, Andre Oppermann wrote: On 13.11.2012 09:18, Alfred Perlstein wrote: On 11/13/12 12:06 AM, Andre Oppermann wrote: On 13.11.2012 07:45, Alfred Perlstein wrote: If you are concerned about the space/time tradeoff I'm pretty happy with making it 1/2, 1/4th, 1/8th the size of

Re: auto tuning tcp

2012-11-13 Thread Andre Oppermann
On 13.11.2012 09:18, Alfred Perlstein wrote: On 11/13/12 12:06 AM, Andre Oppermann wrote: On 13.11.2012 07:45, Alfred Perlstein wrote: If you are concerned about the space/time tradeoff I'm pretty happy with making it 1/2, 1/4th, 1/8th the size of maxsockets. (smaller?) Would that work bette

Re: auto tuning tcp

2012-11-13 Thread Alfred Perlstein
On 11/13/12 12:06 AM, Andre Oppermann wrote: On 13.11.2012 07:45, Alfred Perlstein wrote: On 11/12/12 10:23 PM, Peter Wemm wrote: On Mon, Nov 12, 2012 at 10:11 PM, Alfred Perlstein wrote: On 11/12/12 10:04 PM, Alfred Perlstein wrote: On 11/12/12 10:48 AM, Alfred Perlstein wrote: On 11/12/12

Re: auto tuning tcp

2012-11-13 Thread Andre Oppermann
On 13.11.2012 07:45, Alfred Perlstein wrote: On 11/12/12 10:23 PM, Peter Wemm wrote: On Mon, Nov 12, 2012 at 10:11 PM, Alfred Perlstein wrote: On 11/12/12 10:04 PM, Alfred Perlstein wrote: On 11/12/12 10:48 AM, Alfred Perlstein wrote: On 11/12/12 10:01 AM, Andre Oppermann wrote: I've alrea

Re: auto tuning tcp

2012-11-12 Thread Alfred Perlstein
On 11/12/12 10:23 PM, Peter Wemm wrote: On Mon, Nov 12, 2012 at 10:11 PM, Alfred Perlstein wrote: On 11/12/12 10:04 PM, Alfred Perlstein wrote: On 11/12/12 10:48 AM, Alfred Perlstein wrote: On 11/12/12 10:01 AM, Andre Oppermann wrote: I've already added the tunable "kern.maxmbufmem" which i

Re: auto tuning tcp

2012-11-12 Thread Peter Wemm
On Mon, Nov 12, 2012 at 10:11 PM, Alfred Perlstein wrote: > On 11/12/12 10:04 PM, Alfred Perlstein wrote: >> >> On 11/12/12 10:48 AM, Alfred Perlstein wrote: >>> >>> On 11/12/12 10:01 AM, Andre Oppermann wrote: I've already added the tunable "kern.maxmbufmem" which is in pages.

Re: auto tuning tcp

2012-11-12 Thread Alfred Perlstein
On 11/12/12 10:04 PM, Alfred Perlstein wrote: On 11/12/12 10:48 AM, Alfred Perlstein wrote: On 11/12/12 10:01 AM, Andre Oppermann wrote: I've already added the tunable "kern.maxmbufmem" which is in pages. That's probably not very convenient to work with. I can change it to a percentage of phy

Re: auto tuning tcp

2012-11-12 Thread Alfred Perlstein
On 11/12/12 10:48 AM, Alfred Perlstein wrote: On 11/12/12 10:01 AM, Andre Oppermann wrote: I've already added the tunable "kern.maxmbufmem" which is in pages. That's probably not very convenient to work with. I can change it to a percentage of phymem/kva. Would that make you happy? It real

Re: auto tuning tcp

2012-11-12 Thread Alfred Perlstein
On 11/12/12 10:01 AM, Andre Oppermann wrote: On 12.11.2012 18:43, Alfred Perlstein wrote: On Nov 12, 2012, at 1:27 AM, Andre Oppermann wrote: On 12.11.2012 09:52, Alfred Perlstein wrote: On 11/11/12 11:28 PM, Andre Oppermann wrote: On 12.11.2012 08:10, Alfred Perlstein wrote: I noticed

Re: auto tuning tcp

2012-11-12 Thread Andre Oppermann
On 12.11.2012 18:43, Alfred Perlstein wrote: On Nov 12, 2012, at 1:27 AM, Andre Oppermann wrote: On 12.11.2012 09:52, Alfred Perlstein wrote: On 11/11/12 11:28 PM, Andre Oppermann wrote: On 12.11.2012 08:10, Alfred Perlstein wrote: I noticed that TCBHASHSIZE does not autotune. What do yo

Re: auto tuning tcp

2012-11-12 Thread Alfred Perlstein
On Nov 12, 2012, at 1:27 AM, Andre Oppermann wrote: > On 12.11.2012 09:52, Alfred Perlstein wrote: >> On 11/11/12 11:28 PM, Andre Oppermann wrote: >>> On 12.11.2012 08:10, Alfred Perlstein wrote: I noticed that TCBHASHSIZE does not autotune. What do you think of the following al

Re: auto tuning tcp

2012-11-12 Thread Andre Oppermann
On 12.11.2012 09:52, Alfred Perlstein wrote: On 11/11/12 11:28 PM, Andre Oppermann wrote: On 12.11.2012 08:10, Alfred Perlstein wrote: I noticed that TCBHASHSIZE does not autotune. What do you think of the following algorithm? Basically round down to next power of two based on nmbclusters / 6

Re: auto tuning tcp

2012-11-12 Thread Alfred Perlstein
On 11/11/12 11:28 PM, Andre Oppermann wrote: On 12.11.2012 08:10, Alfred Perlstein wrote: I noticed that TCBHASHSIZE does not autotune. What do you think of the following algorithm? Basically round down to next power of two based on nmbclusters / 64. Please wait out for a real fix of the var

Re: auto tuning tcp

2012-11-11 Thread Andre Oppermann
On 12.11.2012 08:10, Alfred Perlstein wrote: I noticed that TCBHASHSIZE does not autotune. What do you think of the following algorithm? Basically round down to next power of two based on nmbclusters / 64. Please wait out for a real fix of the various mbuf-whatever tuning issue I'll propose s