Niska pr

Wszystko związane z jądrem systemowym, sterownikami, sprzętem itp.
aque
Posty: 29
Rejestracja: 19 kwietnia 2009, 16:19

Niska prędkość kopiowania plików na dysku

Post autor: aque »

Witam.

Mam problem z prędkością kopiowania plików na dysku. Jest ona po prostu niska.
Zaraz po starcie systemu wynosi ona ok. 2000kilobajtów/s (kopiowanie przez sambę) - w miarę okej, lecz po pewnym czasie spada ona drastycznie do 500 kb/s, żadne logi nic nie pokazuję dlaczego tak się stało. Wygląda to tak jak by dysk przestawał działać w trybie dma (takie są moje przypuszczenia).

Podaje wynik:

Kod: Zaznacz cały

hdparm -tT
gdy transfer wynosi około 500kb/s

Kod: Zaznacz cały

debian:/dysk/download/test# hdparm -tT /dev/hdb6

/dev/hdb6:
 Timing cached reads:    56 MB in  2.03 seconds =  27.65 MB/sec
 Timing buffered disk reads:   16 MB in  3.12 seconds =   5.12 MB/sec
Wynik dmesg:

Kod: Zaznacz cały

[    0.243896] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.246828] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.247261] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.247493] TCP: Hash tables configured (established 4096 bind 4096)
[    0.247533] TCP reno registered
[    0.248792] NET: Registered protocol family 1
[    0.250315] checking if image is initramfs... it is
[    8.687865] Freeing initrd memory: 6027k freed
[    8.698312] audit: initializing netlink socket (disabled)
[    8.698455] type=2000 audit(1266677118.696:1): initialized
[    8.700003] Total HugeTLB memory allocated, 0
[    8.702705] VFS: Disk quotas dquot_6.5.1
[    8.703103] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    8.703745] msgmni has been set to 243
[    8.705839] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    8.705903] io scheduler noop registered
[    8.705939] io scheduler anticipatory registered
[    8.705976] io scheduler deadline registered
[    8.706145] io scheduler cfq registered (default)
[    8.706600] pci 0000:00:12.4: Boot video device
[    8.714433] isapnp: Scanning for PnP cards...
[    9.084920] isapnp: No Plug & Play device found
[    9.159282] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[    9.160721] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    9.161936] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[    9.169031] 00:0e: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    9.171707] 00:12: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[    9.211965] brd: module loaded
[    9.214485] PNP: PS/2 Controller [PNP0303] at 0x60,0x64 irq 1
[    9.214544] PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[    9.217399] serio: i8042 KBD port at 0x60,0x64 irq 1
[    9.220804] mice: PS/2 mouse device common for all mice
[    9.223335] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
[    9.223472] rtc0: alarms up to one day
[    9.226448] EISA: Probing bus 0 at eisa.0
[    9.226660] EISA: Detected 0 cards.
[    9.226701] cpuidle: using governor ladder
[    9.226738] cpuidle: using governor menu
[    9.226820] No iBFT detected.
[    9.233342] TCP cubic registered
[    9.233398] NET: Registered protocol family 17
[    9.233492] Using IPI Shortcut mode
[    9.236788] registered taskstats version 1
[    9.238198] rtc_cmos 00:03: setting system clock to 2010-02-20 14:45:19 UTC (1266677119)
[    9.242540] Freeing unused kernel memory: 320k freed
[   11.167702] thermal: Unknown symbol acpi_processor_set_thermal_limit
[   18.490502] 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[   18.490785] 8139cp 0000:00:0f.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
[   18.495836] 8139cp 0000:00:0f.0: Try the "8139too" driver instead.
[   18.829769] SCSI subsystem initialized
[   19.235059] 8139too Fast Ethernet driver 0.9.28
[   19.235344] PCI: setting IRQ 12 as level-triggered
[   19.235397] PCI: Found IRQ 12 for device 0000:00:0f.0
[   19.239373] eth0: RealTek RTL8139 at 0xe000, 00:e0:c5:68:dc:f6, IRQ 10
[   19.239430] eth0:  Identified 8139 chip type 'RTL-8139C'
[   20.101927] usbcore: registered new interface driver usbfs
[   20.102454] usbcore: registered new interface driver hub
[   20.103294] usbcore: registered new device driver usb
[   20.139640] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
[   20.139883] PCI: setting IRQ 15 as level-triggered
[   20.140009] PCI: Found IRQ 15 for device 0000:00:07.0
[   20.140267] ohci_hcd 0000:00:07.0: OHCI Host Controller
[   20.141439] ohci_hcd 0000:00:07.0: new USB bus registered, assigned bus number 1
[   20.141623] ohci_hcd 0000:00:07.0: irq 11, io mem 0xd8000000
[   20.228586] usb usb1: configuration #1 chosen from 1 choice
[   20.229453] hub 1-0:1.0: USB hub found
[   20.229635] hub 1-0:1.0: 3 ports detected
[   20.332654] FDC 0 is a National Semiconductor PC87306
[   20.335529] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[   20.335596] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   20.335642] usb usb1: Product: OHCI Host Controller
[   20.335681] usb usb1: Manufacturer: Linux 2.6.26-1-486 ohci_hcd
[   20.335722] usb usb1: SerialNumber: 0000:00:07.0
[   20.336453] PCI: Found IRQ 12 for device 0000:00:07.1
[   20.336724] ohci_hcd 0000:00:07.1: OHCI Host Controller
[   20.337605] ohci_hcd 0000:00:07.1: new USB bus registered, assigned bus number 2
[   20.337808] ohci_hcd 0000:00:07.1: irq 10, io mem 0xd8001000
[   20.424535] usb usb2: configuration #1 chosen from 1 choice
[   20.425395] hub 2-0:1.0: USB hub found
[   20.425585] hub 2-0:1.0: 2 ports detected
[   20.534802] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[   20.534867] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   20.534913] usb usb2: Product: OHCI Host Controller
[   20.534952] usb usb2: Manufacturer: Linux 2.6.26-1-486 ohci_hcd
[   20.534992] usb usb2: SerialNumber: 0000:00:07.1
[   20.633446] PCI: setting IRQ 10 as level-triggered
[   20.633499] PCI: Found IRQ 10 for device 0000:00:07.2
[   20.633748] ehci_hcd 0000:00:07.2: EHCI Host Controller
[   20.634330] ehci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 3
[   20.657336] ehci_hcd 0000:00:07.2: irq 12, io mem 0xd8002000
[   20.665252] usb 1-2: new full speed USB device using ohci_hcd and address 2
[   20.677282] ehci_hcd 0000:00:07.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[   20.678369] usb usb3: configuration #1 chosen from 1 choice
[   20.678951] hub 3-0:1.0: USB hub found
[   20.679222] hub 3-0:1.0: 5 ports detected
[   20.733322] hub 1-0:1.0: unable to enumerate USB device on port 2
[   20.783714] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[   20.783781] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   20.783827] usb usb3: Product: EHCI Host Controller
[   20.783865] usb usb3: Manufacturer: Linux 2.6.26-1-486 ehci_hcd
[   20.783905] usb usb3: SerialNumber: 0000:00:07.2
[   20.784525] PCI: setting IRQ 11 as level-triggered
[   20.784579] PCI: Found IRQ 11 for device 0000:00:13.0
[   20.784839] ohci_hcd 0000:00:13.0: OHCI Host Controller
[   20.784961] ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 4
[   20.784961] ohci_hcd 0000:00:13.0: irq 15, io mem 0xd8007000
[   20.840321] usb usb4: configuration #1 chosen from 1 choice
[   20.840923] hub 4-0:1.0: USB hub found
[   20.841376] hub 4-0:1.0: 2 ports detected
[   20.946882] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[   20.946948] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   20.946994] usb usb4: Product: OHCI Host Controller
[   20.947033] usb usb4: Manufacturer: Linux 2.6.26-1-486 ohci_hcd
[   20.947074] usb usb4: SerialNumber: 0000:00:13.0
[   21.593412] usb 3-2: new high speed USB device using ehci_hcd and address 2
[   21.731426] usb 3-2: configuration #1 chosen from 1 choice
[   21.736339] usb 3-2: New USB device found, idVendor=0204, idProduct=6025
[   21.736415] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   21.736466] usb 3-2: Product: Flash Disk
[   21.736505] usb 3-2: Manufacturer: CBM
[   21.736548] usb 3-2: SerialNumber: 032047007D9E2402
[   22.517346] usb 1-2: new full speed USB device using ohci_hcd and address 3
[   22.730903] usb 1-2: configuration #1 chosen from 1 choice
[   22.739830] usb 1-2: New USB device found, idVendor=067b, idProduct=2303
[   22.739894] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   22.739941] usb 1-2: Product: USB-Serial Controller
[   22.739981] usb 1-2: Manufacturer: Prolific Technology Inc.
[   23.041421] usb 1-3: new full speed USB device using ohci_hcd and address 4
[   23.185685] libata version 3.00 loaded.
[   23.267068] usb 1-3: configuration #1 chosen from 1 choice
[   23.276307] usb 1-3: New USB device found, idVendor=067b, idProduct=2303
[   23.276373] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   23.276421] usb 1-3: Product: USB-Serial Controller
[   23.276461] usb 1-3: Manufacturer: Prolific Technology Inc.
[   23.945634] Uniform Multi-Platform E-IDE driver
[   23.945713] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[   24.181553] Initializing USB Mass Storage driver...
[   24.333923] scsi0 : SCSI emulation for USB Mass Storage devices
[   24.338913] usbcore: registered new interface driver usb-storage
[   24.338993] USB Mass Storage support registered.
[   24.348484] usb-storage: device found at 2
[   24.348532] usb-storage: waiting for device to settle before scanning
[   24.943850] CS5530: IDE controller (0x1078:0x0102 rev 0x00) at  PCI slot 0000:00:12.2
[   24.944047] CS5530: not 100% native mode: will probe irqs later
[   24.944162] PCI: Setting latency timer of device 0000:00:12.0 to 64
[   24.944299]     ide0: BM-DMA at 0xf000-0xf007
[   24.944430]     ide1: BM-DMA at 0xf008-0xf00f
[   24.944512] Probing IDE interface ide0...
[   25.530925] hdb: SAMSUNG SP0411N, ATA DISK drive
[   25.581202] hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[   25.581348] hdb: UDMA/33 mode selected
[   25.581446] Probing IDE interface ide1...
[   26.006072] Clocksource tsc unstable (delta = -62818253 ns)
[   26.082946] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[   26.083267] ide1 at 0x170-0x177,0x376 on irq 15 (serialized with ide0)
[   26.435698] hdb: max request size: 512KiB
[   26.445838] hdb: 78242976 sectors (40060 MB) w/2048KiB Cache, CHS=16383/255/63
[   26.446461] hdb: cache flushes supported
[   26.446972]  hdb: hdb1 hdb2 < hdb5 hdb6 >
[   27.926745] EXT3-fs: INFO: recovery required on readonly filesystem.
[   27.926807] EXT3-fs: write access will be enabled during recovery.
[   29.226418] usb-storage: device scan complete
[   29.233585] scsi 0:0:0:0: Direct-Access     CBM      Flash Disk       5.00 PQ: 0 ANSI: 2
[   29.551096] kjournald starting.  Commit interval 5 seconds
[   29.551243] EXT3-fs: hdb1: orphan cleanup on readonly fs
[   29.551354] ext3_orphan_cleanup: deleting unreferenced inode 25460
[   29.551720] EXT3-fs: hdb1: 1 orphan inode deleted
[   29.551767] EXT3-fs: recovery complete.
[   29.586639] EXT3-fs: mounted filesystem with ordered data mode.
[   29.684933] Driver 'sd' needs updating - please use bus_type methods
[   29.723273] sd 0:0:0:0: [sda] 4012032 512-byte hardware sectors (2054 MB)
[   29.725931] sd 0:0:0:0: [sda] Write Protect is off
[   29.726010] sd 0:0:0:0: [sda] Mode Sense: 0b 00 00 08
[   29.726051] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   29.740550] sd 0:0:0:0: [sda] 4012032 512-byte hardware sectors (2054 MB)
[   29.744383] sd 0:0:0:0: [sda] Write Protect is off
[   29.744460] sd 0:0:0:0: [sda] Mode Sense: 0b 00 00 08
[   29.744501] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   29.754328]  sda: sda1
[   29.758345] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   35.743146] udevd version 125 started
[   54.718156] input: PC Speaker as /class/input/input0
[   63.693073] usbcore: registered new interface driver usbserial
[   63.693379] usbserial: USB Serial support registered for generic
[   63.693940] usbcore: registered new interface driver usbserial_generic
[   63.694001] usbserial: USB Serial Driver core
[   63.789462] usbserial: USB Serial support registered for pl2303
[   63.789727] pl2303 1-2:1.0: pl2303 converter detected
[   64.117358] usb 1-2: pl2303 converter now attached to ttyUSB0
[   64.117535] pl2303 1-3:1.0: pl2303 converter detected
[   64.162002] usb 1-3: pl2303 converter now attached to ttyUSB1
[   64.162320] usbcore: registered new interface driver pl2303
[   64.162376] pl2303: Prolific PL2303 USB to serial adaptor driver
[   66.828124] Cyrix Kahlua VSA1 XpressAudio support (c) Copyright 2003 Red Hat Inc
[   66.828377] kahlua: XpressAudio at 0x220
[   66.828690] kahlua: MPU at 0x330
[   66.828889] kahlua: XpressAudio on IRQ 5, DMA 1, 5
[   66.829227] SB 4.12 detected OK (220)
[   69.229921] Error: Driver 'pcspkr' is already registered, aborting...
[   71.070279] parport_pc 00:10: reported by Plug and Play BIOS
[   71.070457] parport0: PC-style at 0x378, irq 7 [PCSPP]
[   71.751006] gameport: NS558 PnP Gameport is pnp00:14/gameport0, io 0x200, speed 387kHz
[   79.693579] Adding 136512k swap on /dev/hdb5.  Priority:-1 extents:1 across:136512k
[   80.170176] EXT3 FS on hdb1, internal journal
[   82.621952] loop: module loaded
[   88.391862] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[   96.104210] NET: Registered protocol family 10
[   96.110730] lo: Disabled Privacy Extensions
[  110.505323] lp0: using parport0 (interrupt-driven).
[  110.649864] ppdev: user-space parallel port driver
[  118.622488] ip_tables: (C) 2000-2006 Netfilter Core Team
[  119.623121] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[  123.565226] warning: `proftpd' uses 32-bit capabilities (legacy support in use)
[  135.379287] tun: Universal TUN/TAP device driver, 1.6
[  135.379372] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
hdparm /dev/hdb6

Kod: Zaznacz cały

debian:/dysk/download/test# hdparm /dev/hdb6

/dev/hdb6:
 multcount     =  0 (off)
 IO_support    =  0 (default)
 unmaskirq     =  0 (off)
 using_dma     =  1 (on)
 keepsettings  =  0 (off)
 readonly      =  0 (off)
 readahead     = 256 (on)
 geometry      = 16383/255/63, sectors = 73657962, start = 4578588

Kod: Zaznacz cały

debian:/dysk/download/test# hdparm -i /dev/hdb

/dev/hdb:

 Model=SAMSUNG SP0411N, FwRev=TW100-11, SerialNo=S01JJ40Y307390
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=34902, SectSize=554, ECCbytes=4
 BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=off
 CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=78242976
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 *udma2 udma3 udma4 udma5
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: ATA/ATAPI-7 T13 1532D revision 0:  ATA/ATAPI-1,2,3,4,5,6,7

 * signifies the current active mode
PS. Płyta obsługuje maksymalnie DMA33
wobo
Posty: 97
Rejestracja: 19 kwietnia 2008, 14:10
Lokalizacja: W-wa

Post autor: wobo »

No u mnie jest tyle:

Kod: Zaznacz cały

# hdparm -tT /dev/sda5

/dev/sda5:
 Timing cached reads:   3802 MB in  2.00 seconds = 1903.19 MB/sec
 Timing buffered disk reads:  174 MB in  3.03 seconds =  57.44 MB/sec
Mam dysk sata2 7200 partycję ext4

Dane dla porównania.

Kod: Zaznacz cały

# hdparm  /dev/sda5

/dev/sda5:
 multcount     = 16 (on)
 IO_support    =  0 (default)
 readonly      =  0 (off)
 readahead     = 256 (on)
 geometry      = 60801/255/63, sectors = 39070017, start = 454029093

Kod: Zaznacz cały

# hdparm -i /dev/sda5

/dev/sda5:

 Model=ST9500420ASG, FwRev=0002SDM1, SerialNo=5VJ0R8VT
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=unknown, BuffSize=16384kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=976773168
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
 AdvancedPM=yes: unknown setting WriteCache=enabled
 Drive conforms to: unknown:  ATA/ATAPI-4,5,6,7

 * signifies the current active mode
aque
Posty: 29
Rejestracja: 19 kwietnia 2009, 16:19

Post autor: aque »

Zbyt wielu różnic w konfiguracji chyba nie ma, poza tym że Ty masz dysk SATA, a ja ATA.
Rzuciło mi się w oczy jedynie to, że ta:

Kod: Zaznacz cały

AdvancedPM
opcja jest u mnie na "no" a u Ciebie na "yes".
wobo
Posty: 97
Rejestracja: 19 kwietnia 2008, 14:10
Lokalizacja: W-wa

Post autor: wobo »

aque pisze: Rzuciło mi się w oczy jedynie to, że ta:

Kod: Zaznacz cały

AdvancedPM
opcja jest u mnie na "no" a u Ciebie na "yes".
To jest power management. Oszczędzanie energii
The interesting bit - AdvancedPM=yes means that this disk comes with Advanced Powermanagement. Repeat this command for all your disks you want to enable power saving on, and write down that answer with yes. If all your disks come up with AdvancedPM=no, I'm sorry but you can stop reading the guide.

Ale co do ATA to i tak zdecydowanie za wolno działa Ci.

pozdrowienia wobo
Awatar użytkownika
ryba84
Beginner
Posty: 340
Rejestracja: 08 lipca 2007, 14:55
Lokalizacja: LDZ

Post autor: ryba84 »

To tak ode mnie dla porównania:

Kod: Zaznacz cały

hdparm -Tt /dev/sda

/dev/sda:
 Timing cached reads:   766 MB in  2.00 seconds = 382.46 MB/sec
 Timing buffered disk reads:  134 MB in  3.03 seconds =  44.18 MB/sec

Kod: Zaznacz cały

hdparm /dev/sda

/dev/sda:
 multcount     = 16 (on)
 IO_support    =  1 (32-bit)
 readonly      =  0 (off)
 readahead     = 256 (on)
 geometry      = 9729/255/63, sectors = 156301488, start = 0

Kod: Zaznacz cały

hdparm -i /dev/sda

/dev/sda:

 Model=WDC, FwRev=01.04A01, SerialNo=WD-WXE208LV0408
 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=50
 BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156301488
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio3 pio4 
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 
 AdvancedPM=yes: unknown setting WriteCache=enabled
 Drive conforms to: Unspecified:  ATA/ATAPI-1,2,3,4,5,6,7

 * signifies the current active mode
To dysk ATA (nie SATA, sda dla tego bo korzystam ze sterownika libata) w laptopie, więc wydajność nie najwyższa. Jak byś zauważył u mnie dysk pracuje w udma5 a u Ciebie w udma2. Spróbuj tak (przy czym robisz to na własną odpowiedzialność):

Kod: Zaznacz cały

hdparm -X udma5 -d1 -u1 -m16 -a16 -c1 -k1 /dev/hda
i dopiero później sprawdź prędkość

Kod: Zaznacz cały

hdparm -tT /dev/hda
aque
Posty: 29
Rejestracja: 19 kwietnia 2009, 16:19

Post autor: aque »

W zmianę na udma5 nie ma sensu się bawić, ponieważ ta płyta obsługuje maksymalnie DMA33.
Dziwi mnie tylko jedno, dlaczego zaraz po uruchomieniu komputera transfer przez sambę jest na poziomie ~2000kB/s, a po jakimś czasie spada do 500kB/s. Przeglądałem logi lecz nie znalazłem żadnej przyczyny tego problemu.
Awatar użytkownika
ryba84
Beginner
Posty: 340
Rejestracja: 08 lipca 2007, 14:55
Lokalizacja: LDZ

Post autor: ryba84 »

Ja nie doczytałem, że chodzi o sambę. Ja też tak mam ale nie znalazłem rozwiązania. Jak coś znajdziesz to napisz tu. Chętnie skorzystam.
Jeśli ta płyta nie obsługuje więcej niż udma33 to nie ma sensu zmieniać na udma5. Resztę możesz zmienić, a nóż podbije Ci prędkość dysku.

Ps. Na sambę nie szukaj rozwiązania w dysku i zmień ten tytuł bo wprowadza w błąd.
aque
Posty: 29
Rejestracja: 19 kwietnia 2009, 16:19

Post autor: aque »

No, ale to jest chyba w jakiś sposób ze sobą powiązane, ponieważ teraz zrobiłem restart komputera i o to wynik:

Kod: Zaznacz cały

/dev/hdb:
 Timing cached reads:    68 MB in  2.01 seconds =  33.88 MB/sec
 Timing buffered disk reads:   34 MB in  3.14 seconds =  10.84 MB/sec
Prędkość odczytu z dysku jest dwa razy większa, i transfer przy kopiowaniu przez sambę oscyluje w granicach 2300kB/s
Awatar użytkownika
ryba84
Beginner
Posty: 340
Rejestracja: 08 lipca 2007, 14:55
Lokalizacja: LDZ

Post autor: ryba84 »

Tu masz coś na temat wolnego transferu po sambie. Ja bym sprawdził jak u Ciebie z transferem po FTP. Byś wiedział chociaż czy to nie wąskie gardło w sieci.
aque
Posty: 29
Rejestracja: 19 kwietnia 2009, 16:19

Post autor: aque »

Już przeszukałem chyba całe google w poszukiwaniu odpowiedzi (z problemem walczę już kilka miesięcy), no ale niestety nie znalazłem odpowiedzi. Samba chyba nie jest tutaj wąskim gardłem, ponieważ sprawdzałem prędkości przez http i jest to samo.
Również przy kopiowaniu plików na dysku, komendą cp jest spora różnica w czasie kopiowania, pomiędzy świeżo uruchomionym systemem, a tym który chodzi kilka/kilkanaście godziny.
ODPOWIEDZ