Hardware: ALIX Board from PC Engines

FreeBSD:

dmesg:
Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Geode(TM) Integrated Processor by AMD PCS (498.05-MHz 586-class CPU)
 Origin = "AuthenticAMD"  Id = 0x5a2  Stepping = 2
 Features=0x88a93d<FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CLFLUSH,MMX>
 AMD Features=0xc0400000<MMX+,3DNow+,3DNow>
real memory  = 259719168 (247 MB)
avail memory = 244609024 (233 MB)
kbd1 at kbdmux0
K6-family MTRR support enabled (2 registers)
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <AMDGX3 AWRDACPI> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x9c10-0x9c13 on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_acad0: <AC Adapter> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <display, VGA> at device 1.1 (no driver attached)
pci0: <encrypt/decrypt, entertainment crypto> at device 1.2 (no driver attached) vr0: <VIA VT6105M Rhine III 10/100BaseTX> port 0xfc00-0xfcff mem 0xeffff000-0xeffff0ff irq 11 at device 13.0 on pci0
miibus0: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:0d:b9:0c:e4:5c
isab0: <PCI-ISA bridge> port 0x6000-0x6007,0x6100-0x61ff,0x6200-0x623f,0x9d00-0x9d7f,0x9c00-0x9c3f at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <GENERIC ATA controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 15.2 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <multimedia, audio> at device 15.3 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xefffe000-0xefffefff irq 5 at device 15.4 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: <Standard parallel printer port> port 0x378-0x37f,0x778-0x77b irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xef000-0xeffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 498053347 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 1983MB <Turbo Industrial CF Card YUAN1026> at ata0-master UDMA33
Trying to mount root from ufs:/dev/ad0s1a
vr0: link state changed to UP

mount:
/dev/ad0s1a             /               ufs     rw              1       1

atacontrol:
# atacontrol info ata0
Master:  ad0 <Turbo Industrial CF Card/YUAN1026> ATA/ATAPI revision 0
Slave:       no device present

# atacontrol mode ad0
current mode = UDMA33

OpenBSD:

dmesg:
OpenBSD 4.1 (SeppOS) #6: Sat Oct 13 10:56:13 CEST 2007
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/SeppOS
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 499 MHz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX
real mem  = 259284992 (253208K)
avail mem = 222580736 (217364K)
using 3195 buffers containing 13086720 bytes (12780K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 08/21/07, BIOS32 rev. 0 @ 0xfa960
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdfb4
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf40/112 (5 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI BIOS has 5 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xef000/0x1000!
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x31
vga1 at pci0 dev 1 function 1 "AMD Geode LX Video" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES
vr0 at pci0 dev 13 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, address 00:0d:b9:0c:e4:5c ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034
pcib0 at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03
pciide0 at pci0 dev 15 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <Turbo Industrial CF Card>
wd0: 1-sector PIO, LBA, 1983MB, 4062240 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
"AMD CS5536 Audio" rev 0x01 at pci0 dev 15 function 3 not configured
ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 5, version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: AMD OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83627HF
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
biomask f765 netmask ff65 ttymask ffe7
pctr: user-level cycle counter enabled
mtrr: K6-family MTRR support (2 registers)
rd0: fixed, 18000 blocks
Kernelized RAIDframe activated
dkcsum: wd0 matches BIOS drive 0x80
root on rd0a
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02

mount:
/dev/wd0a    /var/firmware   ffs rw          1 1

atactl:
atactl wd0 identify
Model: Turbo Industrial CF Card, Rev: YUAN1026, Serial #: F0300000000000000134
Device type: ATA, fixed
Cylinders: 4030, heads: 16, sec/track: 63, total sectors: 4062240
Device capabilities:
       IORDY operation
       IORDY disabling


On both systems, newfs was used without special parameters.


----- Original Message ----- From: "Jan Stary" <[EMAIL PROTECTED]>
To: "Stefan Klein" <[EMAIL PROTECTED]>
Sent: Wednesday, October 24, 2007 12:26 PM
Subject: Re: Performance problem with CF card on AMD CS5536 IDE


On Oct 24 11:26:52, Stefan Klein wrote:
As I mentioned in my first mail, it appears to be an OpenBSD
- specific problem. On the exact same hardware, I can measure
a throuphput of about 10 MB/second when using FreeBSD.
This matches more or less the CF specifications (PQI industrial Turbo
Compact Flash Card). UDMA33 is used under FreeBSD

Do you use the best possible ATA mode in both systems?
Do you use async/noatime/softdep/softupdates/whatever?

Any ideas?

Yes, send a dmesg and the exact mount command used in both scenarios,
the verbose output of atactl/atacontrol, the filesystem you use
(if you use one) and how it was created, etc.

Jan

Sent: Monday, October 22, 2007 5:12 PM
Subject: Re: Performance problem with CF card on AMD CS5536 IDE


>>pciide0 at pci0 dev 15 function 2 "AMD CS5536 IDE" rev 0x01: DMA, >>channel
>>0
>>wired to compatibility, channel 1 wired to compatibility
>>
>>wd0 at pciide0 channel 0 drive 0: <Turbo Industrial CF Card>
>>wd0: 1-sector PIO, LBA, 1983MB, 4062240 sectors
>>wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
>>pciide0: channel 1 ignored (disabled)
>
>This looks normal.  I've yet to find a CF-IDE Adpater combination that
>makes it into full Ultra-DMA mode 4.
>
>CF Media is generally slower than modern high perf. disks, depending a >lot
>on the manufactuer quality.
>
>For my bsd-appliance project, I use CF media strictly for booting a >MD/RD
>kernel image.  If you're doing a full-install on the CF card, you've got
>the wrong approach.  You're going to nuke your CF media with all of that
>atime update and IO cache flush overhead.
>
>There's no progress(1) in OpenBSD yea, so I'm not sure about the exact
>speed, but I'm able to un-pax(1) a 20->60 meg kernel image into MFS /usr
>in about 10 seconds.  ARInfotek AMD-Geode 800 SBC (500MHz)  ~BAS
>
>
>
>IMPORTANT: This message contains confidential information and is >intended
>only for the individual named. If the reader of this message is not an
>intended recipient (or the individual responsible for the delivery of >this
>message to an intended recipient), please be advised that any re-use,
>dissemination, distribution or copying of this message is prohibited.
>Please notify the sender immediately by e-mail if you have received this
>e-mail by mistake and delete this e-mail from your system.

Reply via email to