On Thursday, August 08, 2013 03:14:19 pm sundar wrote:
> Thanks Martin. Yes, I use ssh channel.
It seems to fail when talking to gerrit at times, not sure
if it is the mina sshd server or openssh client (some
versions are a bit better) that is buggy, but the combo
seems to be unreliable. We don't use it. :(
> Let me re-configure the server to use a DB poollimit of
> 32+8.
> Btw, what's the recommended HW requirement for 32
> or 64 sshd connections for best performance ?
Depends on your repos sizes. Internally we have found that
clones tend to be the most problematic use case. If you
have large repos, they can cause massive java gcs with long
pauses. I can tell you that 32 simultaneous clones of one
of our large repos will bring our server to its knees.
That's with a 40GB heap. Not sure what it would take to
actually prevent that, and thus have a setup that can handle
more threads. We generally deal with the problem by adding
more slaves and load balancing between them. But it does
mean that our slaves are generally not being pushed very
hard and yet we sometimes run out of threads when slow
connections chew them up for long periods of time. :(
Perhaps if you use jgit's bitmaps the server will no longer
be brought to its knees by clones so you could likely then
safely bump the thread count?
-Martin
--
The Qualcomm Innovation Center, Inc. is a member of Code
Aurora Forum, hosted by The Linux Foundation