From owner-freebsd-current Wed Feb 12 2:23:15 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 903CC37B401 for ; Wed, 12 Feb 2003 02:23:12 -0800 (PST) Received: from mail1.luukku.com (ultra45.almamedia.fi [193.209.83.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83CCE43F75 for ; Wed, 12 Feb 2003 02:23:11 -0800 (PST) (envelope-from atte.peltomaki@iki.fi) Received: by mail1.luukku.com (Postfix, from userid 60001) id 9E8021BA38E; Wed, 12 Feb 2003 12:23:10 +0200 (EET) Received: from kameli.org (ip213-185-39-29.laajakaista.mtv3.fi [213.185.39.29]) by mail1.luukku.com (Postfix) with SMTP id DE26C1BA42B for ; Wed, 12 Feb 2003 12:23:09 +0200 (EET) Received: by kameli.org (sSMTP sendmail emulation); Wed, 12 Feb 2003 12:25:23 +0200 Date: Wed, 12 Feb 2003 12:25:23 +0200 From: "Atte Peltomaki" To: freebsd-current@freebsd.org Subject: NFS lagging Message-ID: <20030212102523.GA45290@naama> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm running FreeBSD 5.0-RELEASE on a dual P3 800MHz/512MB/Tekram DC-390 SCSI. Moved all my IDE disks on another 'puter to access via NFS. So I ended up putting up a Debian server, because some of the disks were already in ext2fs. Now I'm experiencing heavy lag on my desktop when I use the NFS intensively, like copy a large file over. I get these 1-3 second pauses in everything, looks like ssh lag but it's local(!). Mouse pointer in X doesn't seem affected, but even console lags if you type in. I'm using NFSv3, tried it over TCP too, but since it's LAN, i dropped back to UDP. Here's dmesg: cam: using minimum scsi_delay (100ms) Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-RELEASE #4: Fri Feb 7 01:39:20 EET 2003 root@naama:/usr/src/sys/i386/compile/NAAMA Preloaded elf kernel "/boot/kernel/kernel" at 0xc04e1000. Preloaded elf module "/boot/kernel/mga.ko" at 0xc04e10a8. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04e1150. module_register: module pci/mga already exists! Module pci/mga failed to register: 17 Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (798.69-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x387fbff real memory = 536805376 (511 MB) avail memory = 516177920 (492 MB) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00178011, at 0xfec00000 Initializing GEOMetry subsystem Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15 Using $PIR table, 8 entries at 0xc00fdbc0 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xd0000000-0xd3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 drm0: mem 0xd7000000-0xd77fffff,0xd6000000-0xd6003fff,0xd4000000-0xd5ffffff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xd0000000 64MB info: [drm] Initialized mga 3.0.2 20010321 on minor 0 isab0: at device 7.0 on pci0 isa0: on isab0 pci0: at device 7.4 (no driver attached) sym0: <895> port 0xdc00-0xdcff mem 0xda000000-0xda000fff,0xda001000-0xda0010ff irq 15 at device 10.0 on pci0 sym0: Tekram NVRAM, ID 7, Fast-40, LVD, parity checking xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xe000-0xe07f mem 0xda002000-0xda00207f irq 15 at device 11.0 on pci0 xl0: Ethernet address: 00:50:da:df:09:7b miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: port 0xe400-0xe41f irq 10 at device 12.0 on pci0 speaker0 port 0x61 on acpi0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 orm0: