Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261691AbTILGyk (ORCPT ); Fri, 12 Sep 2003 02:54:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261699AbTILGyk (ORCPT ); Fri, 12 Sep 2003 02:54:40 -0400 Received: from mail3.ithnet.com ([217.64.64.7]:8108 "HELO heather-ng.ithnet.com") by vger.kernel.org with SMTP id S261691AbTILGyi (ORCPT ); Fri, 12 Sep 2003 02:54:38 -0400 X-Sender-Authentication: net64 Date: Fri, 12 Sep 2003 08:54:35 +0200 From: Stephan von Krawczynski To: Neil Brown Cc: linux-kernel@vger.kernel.org Subject: Re: experiences beyond 4 GB RAM with 2.4.22 Message-Id: <20030912085435.6a26fec4.skraw@ithnet.com> In-Reply-To: <16225.13206.910616.386713@notabene.cse.unsw.edu.au> References: <20030909110112.4d634896.skraw@ithnet.com> <16225.13206.910616.386713@notabene.cse.unsw.edu.au> Organization: ith Kommunikationstechnik GmbH X-Mailer: Sylpheed version 0.9.5 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2312 Lines: 59 On Fri, 12 Sep 2003 12:46:46 +1000 Neil Brown wrote: > > Both are 2.4.22. 192.168.1.1 is the testbox. I saw those with 2GB, but > > could fix it through more nfs-daemons and > > > > echo 2097152 >/proc/sys/net/core/rmem_max > > echo 2097152 >/proc/sys/net/core/wmem_max > > > > Are these values too small for 6 GB? > > No. The values are proportional to the number of server threads, not > the amount of RAM... and they should be un-necessary after 2.4.20 > anyway as nfsd in the kernel makes the appropriate settings. Oh. That's interesting. Then everything should be the same if I deleted those... > > 2) Box is very slow, kswapd looks very active during tar of a local > > harddisk. Interactivity is really bad. Seems vm has a high time looking for > > free or usable pages. Compared to 2 GB the behaviour is unbelievably bad. > > > > 3) Network performance has a remarkable dropdown during above tar. In fact > > doing simple pings every few minutes shows that quite a lot of them are > > simply dropped, never make it over the ethernet. > > My only guess is that it is doing a lot of copying into low memory > because your devices can only DMA into/outof low memory. I forgot to mention: Both network card and controller are 64 bit cards. Network card is (vendor 3com): Ethernet controller: Broadcom Corporation NetXtreme BCM5701 Gigabit Ethernet (rev 15) (tg3-driver) Controller is: RAID bus controller: 3ware Inc 3ware 7000-series ATA-RAID (rev 01) I have "CONFIG_HIGHIO=y" > Have you tried 2.6 ?? No, not yet. I have not dared :-) > How about CONFIG_HIGHMEM4G ? > It won't use all the RAM, but it would be interesting if it were > faster. I already thought about that and tried. In fact it is as fast and fine as 2 GB setup. It runs really smooth. The really simple test for the problem is running "updatedb" (find over the whole filesystem). The box comes to a crawl while this is running, network is absolutely bad, interactivity is rather dead, very often not even a ssh login works. Regards, Stephan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/