From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 6 22:13:09 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 B33801065673 for ; Thu, 6 Mar 2008 22:13:09 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 6C2CA8FC24 for ; Thu, 6 Mar 2008 22:13:09 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id D06891B10EBB; Thu, 6 Mar 2008 23:13:07 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from [10.1.1.2] (unknown [192.168.25.10]) by blah.sun-fish.com (Postfix) with ESMTP id 4D4571B10E4E for ; Thu, 6 Mar 2008 23:13:05 +0100 (CET) Message-ID: <47D06C70.50400@moneybookers.com> Date: Fri, 07 Mar 2008 00:13:04 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <20080306212044.GA72211@marinos.ceid.upatras.gr> In-Reply-To: <20080306212044.GA72211@marinos.ceid.upatras.gr> Content-Type: text/plain; charset=Big5 Content-Transfer-Encoding: 7bit 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: Thu, 06 Mar 2008 22:13:09 -0000 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. > Thanks a lot, > Ilias Marinos > > > -- > echo "Sysadmin know better bash than english." | sed s/min/mins/ \ > | sed 's/better bash/bash better/' > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >