Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2002 16:00:56 +0100
From:      "Maxlor" <mail@maxlor.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Low HD Transfer Speeds
Message-ID:  <NDBBKGBBKDPDNFIFCJEJOENLCNAA.mail@maxlor.com>

next in thread | raw e-mail | index | archive | help
Hi,

This old box of mine (Pentium 90, 32MB RAM) is running FreeBSD-4.5RC. I use
it as fileserver, however, I am not satisfied with its performance.

My LAN here runs on 100Mbit and shows a performance of above 6MB/sec with
modern computers, however when transferring files to or from that old P90, i
get speeds between 1.3 and 1.8MB/sec. I.e., when connecting to proftpd, I
get an average and pretty constant speed of 1.3MB/sec (at which point CPU
Usage is at almost 100%; top shows that only about 10% are spent on
interrupts), when using the much more lightweight standard ftpd, i get
1.8MB/sec, and samba is somewhere in between.

This performance didn't surprise me much, when the HD was running in PIO4
mode; Now, I recently switched HDs and FreeBSD now reports that the HD is
running in WDMA2 mode (see dmesg output below). However, the performance has
stayed on the same level - still the same 1.3MB/sec from proftpd. The only
thing that i noticed is that the amount spent on interrupts (again,
according to top) was very high before, above 40%.

The thing that confuses me a bit is that the BIOS only gives me PIO1-PIO4 as
modes in which to run the HD. I suppose though that FreeBSD knows what it's
doing when it's saying it runs it in WDMA2 mode.

So, do you guys have some ideas on how to improve transfer speeds? Technical
Details below.

Have a lot of fun, Maxlor

Details about the machine:
CPU Is a Pentium 90 as mentioned, it has 16MB EDO RAM and 16MB FP RAM (seems
to work fine together), and the NICs are PCI cards; there are no ISA cards.
dc0 is the card looking at the LAN, ed0 is connected to the net and not
involved in the file transfers in question. The mainboard... no clue,
really. The HD is a 20GB Maxtor 740DX which is capable of UDMA133 and
reaches a transfer rate of 17MB/sec according to some tests i read recently.

uname output:

FreeBSD Atlantis 4.5-RC FreeBSD 4.5-RC #0: Mon Jan 14 01:06:16 CET 2002
root@Atlantis:/usr/obj/usr/src/sys/ATLANTIS  i386

dmesg output:

Copyright (c) 1992-2002 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 4.5-RC #0: Mon Jan 14 01:06:16 CET 2002
    root@Atlantis:/usr/obj/usr/src/sys/ATLANTIS
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P54C (90.00-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x525  Stepping = 5
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 33554432 (32768K bytes)
avail memory = 30072832 (29368K bytes)
Preloaded elf kernel "kernel" at 0xc02b5000.
Intel Pentium detected, installing workaround for F00F bug
VESA: v1.2, 2048k memory, flags:0x0, mode table:0xc00c5186 (c0005186)
VESA: ARK LOGIC, INC. ARK1000PV
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <SiS 85c503 PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <SiS 5591 ATA33 controller> port
0x4000-0x400f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 1.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <ARK Logic 1000PV SVGA controller> at 16.0
ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0xff80-0xff9f irq 11 at
device 17.0 on pci0
ed0: address 00:60:52:0b:58:73, type NE2000 (16 bit)
dc0: <Davicom DM9102A 10/100BaseTX> port 0xfc00-0xfcff mem
0xffbdff00-0xffbdffff irq 10 at device 18.0 on pci0
dc0: Ethernet address: 00:80:ad:0b:37:27
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
fdc0: <NEC 765 or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
BRIDGE 011031, have 2 interfaces
-- index 1  type 6 phy 0 addrl 6 addr 00.60.52.0b.58.73
-- index 2  type 6 phy 0 addrl 6 addr 00.80.ad.0b.37.27
IP packet filtering initialized, divert enabled, rule-based forwarding
enabled, default to accept, logging limited to 100 packets/entry by default
DUMMYNET initialized (011031)
IP Filter: v3.4.20 initialized.  Default = pass all, Logging = enabled
ad0: 19595MB <MAXTOR 6L020J1> [39813/16/63] at ata0-master WDMA2
Mounting root from ufs:/dev/ad0s1a


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBKGBBKDPDNFIFCJEJOENLCNAA.mail>