Vyuziti CPU a HDD

Phill Phill na jskomplet.com
Středa Květen 26 11:53:13 CEST 2004


Dobry den,
    mam tak trochu problem s vyuzitim CPU pri kopirovani souboru po LANu
pres sambu a FTP. Pokud zacnu neco kopirovat, jede to od 2MB/s do 4MB/s, a
vyuziti cpu je 100%. 

Kopirovani souboru na linuxu na stejnem disku jede cca 5-6MB/s, tzn. 5MB cte
a 5MB zapisuje. Pri kopirovani pomoci mc je vyuziti cpu take skoro 100%.
Nejak se mi nezda to vyuziti, prece ta masina neni az tak slaba.

DMA dle vseho jede, nejak mi dochazeji napady a diagnosticke nastroje. Jeste
jednu vec bych mel zminit, BIOS mi nedokazal tento disk nadetekovat, nicmene
linux si snim poradil a nasel ho.

Mohli byste mi prosim pomoci s odhalenim problemu. Je na vine obycejna eth.
karta? Zda se mi to ale nepravdepodobne. Prikladam nejake informace o
systemu. K routeru nemam az tak snadny fyzicky pristup. 

Lehce se mi nezdal vypis dmesg, ale nevim co si ztoho mam presne odnest.

S pozdravem a diky,
    Filip Jenicek

 
Info:
    Linux Debian woody , kernel 2.4.26 (vlastni, mozna jsem zapomel nejakou
volbu:)
    Samba Version 2.2.3a-13 for Debian
    ProFTPD Version 1.2.10rc1 

HW: 
    PII Celeron 333MHz, 128MB DIMM    
    ide1 - hdc1 Seagate Barracuda 7 120GB, jede na udma2, vic rozhranni na
desce nepodporuje, filesystem Ext3, uplne novy
    eth0: Realtek 8139, fullduplex 100Mbit
    wlan0-2: Zcom626 - hostap master
	
 
===lspci===
00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x]
(rev 01)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo
MVP3/Pro133x AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C586/A/B PCI-to-ISA [Apollo
VP] (rev 41)
00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 02)
00:07.3 Host bridge: VIA Technologies, Inc. VT82C586B ACPI (rev 10)
00:0f.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev
10)
00:10.0 Network controller: Harris Semiconductor: Unknown device 3873 (rev
01)
00:12.0 Network controller: Harris Semiconductor: Unknown device 3873 (rev
01)
00:14.0 Network controller: Harris Semiconductor: Unknown device 3873 (rev
01)
01:00.0 VGA compatible controller: Trident Microsystems Blade 3D PCI/AGP
(rev 3a)

===dmesg |grep hdc===
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }

===dmesg |grep ide===
ide1: Speed warnings UDMA 3/4/5 is not functional.
ide1: reset: success

===more interrupts===
           CPU0
  0:    4205854          XT-PIC  timer
  1:          2          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  5:    3643277          XT-PIC  wlan1
  7:     509727          XT-PIC  wlan2
 10:   31599735          XT-PIC  eth0
 12:    3873408          XT-PIC  wlan0
 14:     312120          XT-PIC  ide0
 15:     717750          XT-PIC  ide1
NMI:          0
LOC:    4205947
ERR:          0
MIS:          0


===hdparm -I /dev/hdc===

non-removable ATA device, with non-removable media
        Model Number:           ST3120026A
        Serial Number:          5JT28VLQ
        Firmware Revision:      3.06
Standards:
        Supported: 1 2 3 4 5 6
        Likely used: 6
Configuration:
        Logical         max     current
        cylinders       16383   65535
        heads           16      1
        sectors/track   63      63
        bytes/track:    0               (obsolete)
        bytes/sector:   0               (obsolete)
        current sector capacity: 4128705
        LBA user addressable sectors = 234441648
Capabilities:
        LBA, IORDY(can be disabled)
        Buffer size: 8192.0kB   ECC bytes: 4    Queue depth: 1
        Standby timer values: spec'd by standard
        r/w multiple sector transfer: Max = 16  Current = 16
        Advanced power management level: 65278
        DMA: mdma0 mdma1 mdma2 udma0 *udma1 udma2 udma3 udma4 udma5
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=240ns  IORDY flow control=120ns
Commands/features:
        Enabled Supported:
           *    READ BUFFER cmd
           *    WRITE BUFFER cmd
           *    Host Protected Area feature set
           *    look-ahead
           *    write cache
           *    Power Management feature set
                Security Mode feature set
           *    SMART feature set
                SET MAX security extension
           *    DOWNLOAD MICROCODE cmd
Security:
                supported
        not     enabled
        not     locked
        not     frozen
        not     expired: security count
        not     supported: enhanced erase
HW reset results:
        CBLID- above Vih
        Device num = 0 determined by the jumper
Checksum: correct


===dmesg===
VP_IDE: IDE controller at PCI slot 00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt82c586b (rev 41) IDE UDMA33 controller on pci00:07.1
    ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:pio, hdd:pio
hda: ST38420A, ATA DISK drive
blk: queue c019e3c0, I/O limit 4095Mb (mask 0xffffffff)
hdc: ST3120026A, ATA DISK drive
hdc: IRQ probe failed (0xfffffff8)
hdd: IRQ probe failed (0xfffffff8)
hdd: IRQ probe failed (0xfffffff8)
blk: queue c019e82c, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: 16841664 sectors (8623 MB) w/512KiB Cache, CHS=1048/255/63, UDMA(33)
hdc: attached ide-disk driver.
hdc: host protected area => 1
hdc: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=14593/255/63,
UDMA(33)
Partition check:
 hda: hda1 hda2 hda3
 hdc: hdc1
ide: late registration of driver.
<snip>
8139too Fast Ethernet driver 0.9.26
PCI: Found IRQ 7 for device 00:0f.0
IRQ routing conflict for 00:0f.0, have irq 10, want irq 7
eth0: RealTek RTL8139 at 0xc8868000, 00:50:fc:e2:b6:cc, IRQ 10
eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
ide1: reset: success



Další informace o konferenci Linux