From owner-freebsd-questions@FreeBSD.ORG Wed Dec 31 08:16:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39567106566B for ; Wed, 31 Dec 2008 08:16:15 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id B3DE08FC08 for ; Wed, 31 Dec 2008 08:16:14 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by ug-out-1314.google.com with SMTP id 30so1033992ugs.39 for ; Wed, 31 Dec 2008 00:16:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=eCJtqb6HpJJwHRtgGLFjADtAxJAwK8dK/e6pLHvpCE0=; b=irZJd3STL3mO2xGJ6vQEQj8hntbUKutunOTbmIv5dnfZ8n9bDqzvILqIKafflzpQur /wuLFEMhx9wnS5IpwfyLhuzl2tsFkoJTD5VptMHffCny0ZUVihpEmOs0CpAa1dIUiRAc aNzFDQidxKMioWhZScoXYONUPAfccReeHbUTk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=o6HChRoln/IutEOkUtnw8+u7HCA/R0D2QhH9JltwA2rwLYVdWFhtQaIQ+pRZESJ/gI W7kw9fgJXaIJQF7mgStm+5Ul8PhQpf1DIazmeUP4YX1Rv7txBmZiqSmFD1v2iWEPnSzm VFzkwu8qyv7Gm6/185ijqqzu3C4TX5V6Pmvnw= Received: by 10.67.29.4 with SMTP id g4mr10535877ugj.73.1230711373343; Wed, 31 Dec 2008 00:16:13 -0800 (PST) Received: from atlantis.dyndns.org (athedsl-13416.home.otenet.gr [87.202.52.208]) by mx.google.com with ESMTPS id b39sm39652907ugf.38.2008.12.31.00.16.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 31 Dec 2008 00:16:12 -0800 (PST) Message-ID: <495B2A4B.8010002@gmail.com> Date: Wed, 31 Dec 2008 10:16:11 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.17 (X11/20081011) MIME-Version: 1.0 To: Bernard Dugas References: <20081216094719.EDCEE1065675@hub.freebsd.org> <495930E4.1030501@dugas-family.org> <20081229230115.F68805@wojtek.tensor.gdynia.pl> <4959DFEF.5090407@dugas-family.org> <20081230150507.U87347@wojtek.tensor.gdynia.pl> <495A3957.9050002@dugas-family.org> <495A3C72.5070802@unsane.co.uk> <20081230201351.L12391@wojtek.tensor.gdynia.pl> <495A9595.6080201@dugas-family.org> <20081231002557.D45571@wojtek.tensor.gdynia.pl> <495B2516.4020904@dugas-family.org> In-Reply-To: <495B2516.4020904@dugas-family.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: Optimising NFS for system files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2008 08:16:15 -0000 Bernard Dugas wrote: > Wojciech Puchar wrote: > >>> nfsserver# time tar -cf - clientusr-amd64 > /dev/null >>> 5.001u 12.147s 1:23.92 20.4% 69+1369k 163345+0io 0pf+0w >>> >>> client9# time tar -cf - /usr > /dev/null >>> tar: Removing leading '/' from member names >>> 3.985u 19.779s 4:32.47 8.7% 74+1457k 0+0io 0pf+0w >>> >>> Note : clientusr-amd64 is around 1.3GB and is the same directory >>> exported to client9 /usr with nfs. >>> >> it's FAST. what's wrong? > > First thing that may be wrong is the understanding of the time > figures. The documentation is not clear about them and the -h option > is not working : > > client6# time -h tar -cf - /usr > /dev/null > -h: Command not found. > 0.000u 0.000s 0:00.00 0.0% 0+0k 0+0io 0pf+0w Just a sidenote, you are probably getting a version of time integrated to your shell. The -h option works fine in /usr/bin/time, so run like this: client6# /usr/bin/time -h tar -cf - /usr > /dev/null