From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1McRb9-0001I9-UV for garchives@archives.gentoo.org; Sat, 15 Aug 2009 22:19:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC298E0464; Sat, 15 Aug 2009 22:19:38 +0000 (UTC) Received: from mail-ew0-f210.google.com (mail-ew0-f210.google.com [209.85.219.210]) by pigeon.gentoo.org (Postfix) with ESMTP id B1522E0464 for ; Sat, 15 Aug 2009 22:19:38 +0000 (UTC) Received: by ewy6 with SMTP id 6so416577ewy.34 for ; Sat, 15 Aug 2009 15:19:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=wf6CuGV4cRKaRVoF7wREV+QHTYq5tqp1n7v/6deG4jg=; b=xQ39WYCZxWe1ju6Ky5cUj4RZhVams6Be8jD3vbh5LEc5DeLRPlityYS/N+rJSfH8XA Wn8ZOlXdpm4IhSFD1OpqrjKHxniqCJjcCblvv4RE3UfyPSiHtZHi5RBVcCxfdA9j2ABX lBaJIpEKgBc+w5nlL6lxdblsB/69jdOxp6Cpw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=k4MoHSJdGx7LMn8QQQOQG/LCOcPHSBP2rksHBSBCnieqh5Ud2uaognAPh9xtyBFehu RMuXVxU15QFs7K0HaC6/0fYwvpnjjW9U/mIgiU5STssTIAWuiLxijSzrHeyjOW88vFjf uPaNE4C+HfM4gXhpWVgQWQsBe3qbBSwN1BlCY= Received: by 10.216.85.195 with SMTP id u45mr719192wee.14.1250374777996; Sat, 15 Aug 2009 15:19:37 -0700 (PDT) Received: from energy.localnet (energy.heim10.tu-clausthal.de [139.174.197.94]) by mx.google.com with ESMTPS id x6sm9326428gvf.24.2009.08.15.15.19.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 15 Aug 2009 15:19:36 -0700 (PDT) From: Volker Armin Hemmann To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: [OT] fast recursive local copy Date: Sun, 16 Aug 2009 00:19:34 +0200 User-Agent: KMail/1.12.0 (Linux/2.6.30.4r4; KDE/4.3.0; x86_64; ; ) References: <20090814024724.GA6759@solfire> <4a85cd72.QfZcpHnNyIPM7wHm%Joerg.Schilling@fokus.fraunhofer.de> <200908151727.01690.dirk.heinrichs@online.de> In-Reply-To: <200908151727.01690.dirk.heinrichs@online.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200908160019.34848.volkerarmin@googlemail.com> X-Archives-Salt: bb702998-ef9e-4b3e-af89-87dc41cc8024 X-Archives-Hash: 90d4407c4b67e0d910bf521da2146bfb On Samstag 15 August 2009, Dirk Heinrichs wrote: > Am Freitag 14 August 2009 22:47:46 schrieb Joerg Schilling: > > Dirk Heinrichs wrote: > > > Am Freitag 14 August 2009 10:50:45 schrieb Joerg Schilling: > > > > Note that on Linux you may need to add "-no-fsync" because file I/O > > > > is slow on Linux. On Solaris, not using -no-fsync slows things down > > > > by aprox. 10% but allows star to grant that everything was really > > > > copied to stable storage. On Linux, ot using -no-fsync slows things > > > > down by aprox. 400%, this is why I recommend to add "-no-fsync". > > > > > > This is also quite interesting. Do you have some (links to) recent > > > benchmarks which would second that? Could this even be depending on the > > > filesystem used on Linux? > > > > I did this test aprox. 3-4 years ago. You may try to do an own test and > > report. > > > > I did just rerun a test on a recent ubuntu in a VirtualBox environment > > and the speedup factor with -no-fsync was 8x. > > OK, here's mine, then. Please note that the test happened on an encrypted > logical volume containing an XFS filesystem. Source and destination > directory are on the same LV. > > # time star -copy -p -xdot -acl -sparse -C /gentoo/overlays/portage . > /gentoo/build/portage > star: 0 blocks + 447532544 bytes (total of 447532544 bytes = 437043.50k). > star -copy -p -xdot -acl -sparse -C /gentoo/overlays/portage . 16,57s > user 60,22s system 11% cpu 11:23,63 total > > # time star -copy -p -xdot -acl -sparse -no-fsync -C > /gentoo/overlays/portage . /gentoo/build/portage > star: 0 blocks + 447532544 bytes (total of 447532544 bytes = 437043.50k). > star -copy -p -xdot -acl -sparse -no-fsync -C /gentoo/overlays/portage . > 12,33s user 35,39s system 10% cpu 7:44,13 total > > Unfortunately, I can't compare with OSol :( > > Bye... > > Dirk and you dropped caches in between?