Re: Bottleneck in httpd. I need help to address capacity issues on max parallel and rate connections

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Claudio Jeker wrote:

I will do an other series of tests in the next few days and be sure of
it before putting my foot in my mouth. But at 10000, I was getting drops
in my test setup.

>> kern.maxproc=2048 # Increase for the process limits.

Yes, I was doing tests using a few clients and pushing the server at
2000 parallel connections to test with. That was in lab test and in real
life, I assume that half should be fine. But I wanted to be safe. So,
place for review on my side.

>> net.bpf.bufsize=524288

Agreed before and was removed after more reading. You are right.

>> net.inet.ip.maxqueue=1278

With smaller queue I was getting slower responses and drop. May be a
need a better way to verify this situation for a fact.

>> net.inet.ip.portfirst=32768

Was removed as well.

>> net.inet.tcp.keepinittime=10

Yes, aggressive I was/am. Keep Alive was/is in use yes. I will have more
to play with in lab and see if I was to aggressive and look like you
would think I am. The default value give me not as good results however.
More tests needed specifically on this and I will do so. May be the
defaults are fine, I will see if I can find a way to be more objective
about these values.

>> net.inet.tcp.mssdflt=1452

I will review and read more on it. I based my changes on results seen
with the setup under heavy load. There is always place for improvements.
This gives me more to consider and will do so.

>> net.inet.tcp.recvspace=65535

Interesting! I will retest with that in mind. Didn't see that
explication in my reading so far. Thanks for this!

You are most helpful and this gives me something to research more and I
sure appreciates your time in passing the informations.

Looks like a few more days of testing needed.

Many thanks!

Daniel

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Bottleneck in httpd. I need help to address capacity iss..., Douglas Allan Tutty, (Wed May 9, 10:52 am)
Re: Bottleneck in httpd. I need help to address capacity iss..., Daniel Ouellet, (Thu May 10, 5:55 am)
Re: Bottleneck in httpd. I need help to address capacity iss..., Douglas Allan Tutty, (Tue May 8, 9:53 pm)