Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: Author: fhanik Date: Wed Oct 25 15:11:10 2006 New Revision: 467787 URL: http://svn.apache.org/viewvc?view=revrev=467787 Log: Documented socket properties Added in the ability to cache bytebuffers based on number of channels or number of bytes Added in nonGC poller

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Filip Hanik - Dev Lists
Remy Maucherat wrote: [EMAIL PROTECTED] wrote: Author: fhanik Date: Wed Oct 25 15:11:10 2006 New Revision: 467787 URL: http://svn.apache.org/viewvc?view=revrev=467787 Log: Documented socket properties Added in the ability to cache bytebuffers based on number of channels or number of bytes

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Remy Maucherat
Filip Hanik - Dev Lists wrote: thanks for the feedback, I'm testing with larger files now, 100k+ and also see APR-JIO-NIO NIO has a very funny CPU telemetry graph, it fluctuates way to much, so I have to find where in the code it would do this, so there is still some work to do. I'd like to

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Rainer Jung
Hi Filip, the fluctuation reminds me of something: depending on the client behaviour connections will end up in TIME_WAIT state. Usually you run into trouble (throughput stalls) once you have around 30K of them. They will be cleaned up every now and then by the kernel (talking about the

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Filip Hanik - Dev Lists
That's some very good info, it looks like my system never does go over 30k and cleaning it up seems to be working really well. btw. do you know where I change the cleanup intervals for linux 2.6 kernel? I figured out what the problem was: Somewhere I have a lock/wait problem for example, this

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Peter Rossbach
Hi Filip and Rainer, I found the following info to reduce the TIME_WAIT at windows: === The TIME_WAIT problem is a very common one for Windows NT systems. Unlike most Unix systems, Windows NT does not have a generic setting for the TIME_WAIT interval modification. To modify

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Peter Rossbach
Hi, for other server os's I found: = For AIX: To see the current TCP_TIMEWAIT value, run the following command: /usr/sbin/no a | grep tcp_timewait To set the TCP_TIMEWAIT values to 15 seconds, run the following command: /usr/sbin/no o tcp_timewait =1 The tcp_timewait option is

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Rainer Jung
Hi Filip, that's one of the not so nice things with linux. As far as I know it's not configurable with standard linux. There exist kernel patches for this and there is an ip filter module that lets you do that, but some say that module is very bad for IP performance (and high performance would be

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Rainer Jung
Sorry: Solaris VALUE_IN_SECONDS - VALUE_IN_MILLISECONDS Rainer Jung schrieb: Hi Filip, that's one of the not so nice things with linux. As far as I know it's not configurable with standard linux. There exist kernel patches for this and there is an ip filter module that lets you do that, but

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Filip Hanik - Dev Lists
Rainer Jung wrote: Concerning the one request 1 connection case: I often realized strange behaviour (unclean shutdown) of ab concerning the last request in a connection. I never analysed it though. If you can easily reproduce the one request over one connection is slow problem without high load,

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Jean-frederic Clere
Peter Rossbach wrote: Hi, for other server os's I found: = For AIX: To see the current TCP_TIMEWAIT value, run the following command: /usr/sbin/no a | grep tcp_timewait To set the TCP_TIMEWAIT values to 15 seconds, run the following command: /usr/sbin/no o tcp_timewait =1 The

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Rainer Jung
Jean-frederic Clere schrieb: Peter Rossbach wrote: For Linux: Set the timeout_timewait paramater using the following command: /sbin/sysctl -w net.ipv4.vs.timeout_timewait=30 This will set TME_WAIT for 30 seconds. No... My machine (debian 2.6.13) says: +++ [EMAIL PROTECTED]:~$ sudo

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Filip Hanik - Dev Lists
Remy Maucherat wrote: [EMAIL PROTECTED] wrote: Author: fhanik Date: Wed Oct 25 15:11:10 2006 New Revision: 467787 URL: http://svn.apache.org/viewvc?view=revrev=467787 Log: Documented socket properties Added in the ability to cache bytebuffers based on number of channels or number of bytes

svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-25 Thread fhanik
Author: fhanik Date: Wed Oct 25 15:11:10 2006 New Revision: 467787 URL: http://svn.apache.org/viewvc?view=revrev=467787 Log: Documented socket properties Added in the ability to cache bytebuffers based on number of channels or number of bytes Added in nonGC poller events to lower CPU usage