From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 7 15:07:19 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 036F91065675 for ; Fri, 7 Mar 2008 15:07:19 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id D6E168FC1E for ; Fri, 7 Mar 2008 15:07:18 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id 5501C5C34; Fri, 7 Mar 2008 09:55:02 -0500 (EST) Date: Fri, 7 Mar 2008 09:55:02 -0500 From: Wesley Shields To: freebsd-hackers@freebsd.org Message-ID: <20080307145502.GC97539@atarininja.org> References: <20080306212044.GA72211@marinos.ceid.upatras.gr> <47D06C70.50400@moneybookers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47D06C70.50400@moneybookers.com> User-Agent: Mutt/1.5.17 (2007-11-01) Subject: Re: Network Throughput between jail and base system X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2008 15:07:19 -0000 On Fri, Mar 07, 2008 at 12:13:04AM +0200, Stefan Lambrev wrote: > Greetings, > > > Ilias Marinos wrote: > > Hello all, > > I have a jail to my FreeBSD-STABLE, in which I run some > > > uname -a will be more helpful then "FreeBSD-STABLE". > > services.I have configured and setup this jail using ezjail-admin. > > marinosi@marinos:~$ jls > > JID IP Address Hostname Path > > 1 192.168.1.100 ws /usr/jails/ws > > /usr/jails/ws > > > > #Jails > > ezjail_enable="YES" > > ifconfig_lo1="192.168.1.100 netmask 0xffffffff" # Jail iface > > > > I use lo1 as jail interface and I nat internet traffic to it with pf: > > nat on $ext_if from $ws to any -> ($ext_if) > > > > Today I 've tried to scp a big directory inside the jail and > > I've noticed that I was secure copying with 2-3MB/s .That sounds too > > weird for me and I would like to hear some opinions , for what it may be > > the problem. > > > > > You should investigate where the bottle-neck is. It's probably not in > the network protocol. > Most probably it is limitation of your CPU or your HDD(s). > I think (not sure) jail have default limit to % of the CPU resources, so > if you encrypt the stream > most probably the limitation is in the CPU. > You can check http://wiki.freebsd.org/JailResourceLimits for more > information. Based upon that wiki page I'm led to believe that this is not in any branch of FreeBSD yet. That is, it's not in CVS. -- WXS