From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ggdfu-0005xR-Mc for garchives@archives.gentoo.org; Sun, 05 Nov 2006 08:48:19 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kA58kKde000442; Sun, 5 Nov 2006 08:46:20 GMT Received: from smtp2.nildram.co.uk (smtp2.nildram.co.uk [195.112.4.54] (may be forged)) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kA58kJRt027107 for ; Sun, 5 Nov 2006 08:46:20 GMT Received: from wstn.prhnet (prh.gotadsl.co.uk [81.6.251.123]) by smtp2.nildram.co.uk (Postfix) with ESMTP id 2F1F02B7B1D; Sun, 5 Nov 2006 08:45:48 +0000 (GMT) From: Peter Humphrey To: gentoo-amd64@lists.gentoo.org Subject: [gentoo-amd64] Unexpected side effect of GCC 4 Date: Sun, 5 Nov 2006 08:45:42 +0000 User-Agent: KMail/1.9.5 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611050845.42865.prh@gotadsl.co.uk> X-Archives-Salt: 86944556-0986-46c0-a690-854021318384 X-Archives-Hash: 6008af8c81632415d3529a734acf72e9 I have a firewall between my ADSL modem and my local network (running Gentoo, naturally), and I use it as an rsync server for portage on the network. Specifically, the firewall runs emerge --sync in a cron job every morning before I get up, then I synchronise my laptop and desktop systems from that at my convenience. The rsync phase of update over the local network has been extremely slow; I couldn't get traffic flowing faster than about 30 - 40 kBps on average, and the hub showed tremendous numbers of collisions. I did manage to speed it up a bit by changing the /usr/portage partition on the server to reiserfs, but that improvement seemed to go away again. Meanwhile, other traffic over the network went at full speed, about 270 kBps, with only the occasional collision. Now that I've finally managed to build a full system using GCC 4.1.1 on the workstation, I find its rsync traffic has leapt to full speed with no collisions to speak of. I'm not complaining, mind, but this is a puzzle. As far as I know I haven't changed anything else - certainly the firewall box has been running continuously throughout. The speeds I mention are as shown by gkrellm (a very useful utility). The network drivers are a module on the workstation (tg3) and built-in on the firewall (8139too). The CFLAGS are "-O2 -march=k8 -pipe" on the firewall and the set offered by Duncan recently on the workstation. Any ideas, anyone? -- Rgds Peter -- gentoo-amd64@gentoo.org mailing list