From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 5 20:51:01 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 809D516A4CE for ; Mon, 5 Jul 2004 20:51:01 +0000 (GMT) Received: from web53307.mail.yahoo.com (web53307.mail.yahoo.com [206.190.39.236]) by mx1.FreeBSD.org (Postfix) with SMTP id 2027643D31 for ; Mon, 5 Jul 2004 20:51:01 +0000 (GMT) (envelope-from non_secure@yahoo.com) Message-ID: <20040705205100.88989.qmail@web53307.mail.yahoo.com> Received: from [24.94.23.114] by web53307.mail.yahoo.com via HTTP; Mon, 05 Jul 2004 13:51:00 PDT Date: Mon, 5 Jul 2004 13:51:00 -0700 (PDT) From: Joe Schmoe To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Tue, 06 Jul 2004 12:09:19 +0000 Subject: concurrent scp transfers (and a testing methodology ?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2004 20:51:01 -0000 I have read several documents on the number of concurrent https sessions a FreeBSD system is capable of. However, I wonder how well this relates to how many ssh sessions (scp file transfers, specifically) that a FreeBSD server can handle. Can anyone throw out some basic numbers for this ? Assuming a 1ghz p3 and 2gigs of RAM, and assuming that everyone is transferring a totally different file. (so there is no amount of cache hits - everything comes straight off the drives) I would think the major bottleneck would be disk - you would start chugging the disks far before you used up all the CPU on a 1ghz p3 ... but what is the second bottleneck ? Is it cpu, or is it ram (or mbufs, etc.) Would it be a reasonable test to just start up scp sessions from the machine to itself and then divide the number of sessions you can acceptably create by the number 2 ? Or is this somehow a flawed test ? Any additional comments (kernel tunes, settings, war stories) are greatly appreciated. (like, does SMP help a lot here, or just a little ?) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com