Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  | Правила  

Компьютерный форум OSzone.net » Linux и FreeBSD » Общий по FreeBSD » FreeBSD - Очень медленная скорость чтения/записи на HDD

Ответить
Настройки темы
FreeBSD - Очень медленная скорость чтения/записи на HDD

Аватара для DeadLamer

Новый участник


Сообщения: 3
Благодарности: 0


Конфигурация

Профиль | Сайт | Отправить PM | Цитировать


Здравствуйте, помогите разобраться с проблемой - очень низкая скорость записи/чтения на диски.
конфиг:
Код: Выделить весь код
root@mx2:~> uname -a
FreeBSD  6.2-RELEASE-p9 FreeBSD 6.2-RELEASE-p9 #3:
Код: Выделить весь код
root@mx2:~> 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-p9 #3: Mon Jan  7 20:55:09 EET 2008
ACPI APIC Table: <GBT    AWRDACPI>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz (1312.95-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x4400<CNTX-ID,<b14>>
  Logical CPUs per core: 2
real memory  = 1073676288 (1023 MB)
avail memory = 1046446080 (997 MB)
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <GBT AWRDACPI> on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff,0x4000-0x40bf on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82845G host to AGP bridge> mem 0xe0000000-0xe7ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pci2: <display, VGA> at device 2.0 (no driver attached)
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x9000-0x907f mem 0xea008000-0xea00807f irq 21 at device 5.0 on pci2
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:10:5a:bb:49:57
atapci0: <Promise PDC20276 UDMA133 controller> port 0x9800-0x9807,0x9c00-0x9c03,0xa000-0xa007,0xa400-0xa403,0xa800-0xa80f mem 0xea000000-0xea003fff irq 18 at device 12.0 on pci2
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH4 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xcc00-0xcc0f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1
ichsmb0: <Intel 82801DC (ICH4) SMBus controller> port 0x5000-0x501f irq 17 at device 31.3 on pci0
ichsmb0: [GIANT-LOCKED]
smbus0: <System Management Bus> on ichsmb0
smb0: <SMBus generic I/O> on smbus0
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 irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xd07ff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
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 1312945324 Hz quality 800
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default
ad0: 238475MB <WDC WD2500JB-00GVA0 08.02D08> at ata0-master UDMA100
ad4: 76319MB <Seagate ST3802110A 3.AAJ> at ata2-master UDMA100
ad7: 57276MB <SAMSUNG SV6003H QQ100-12> at ata3-slave UDMA100
ar0: 57220MB <Promise Fasttrak RAID1> status: READY
ar0: disk0 READY (master) using ad4 at ata2-master
ar0: disk1 READY (mirror) using ad7 at ata3-slave
Код: Выделить весь код
root@mx2:~> mount
/dev/ar0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ar0s1e on /tmp (ufs, local, soft-updates)
/dev/ar0s1f on /usr (ufs, local, soft-updates)
/dev/ar0s1d on /var (ufs, local, soft-updates)
/dev/ar0s1g on /usr/home (ufs, local, soft-updates)
/dev/ad0s1d on /u/ad0 (ufs, local)
devfs on /var/named/dev (devfs, local)

Код: Выделить весь код
root@mx2:/usr/home/diez> atacontrol list
ATA channel 0:
    Master:  ad0 <WDC WD2500JB-00GVA0/08.02D08> ATA/ATAPI revision 6
    Slave:       no device present
ATA channel 1:
    Master:      no device present
    Slave:       no device present
ATA channel 2:
    Master:  ad4 <ST3802110A/3.AAJ> ATA/ATAPI revision 7
    Slave:       no device present
ATA channel 3:
    Master:      no device present
    Slave:   ad7 <SAMSUNG SV6003H/QQ100-12> ATA/ATAPI revision 6
Вот что выдает по тестам :

Код: Выделить весь код
root@mx2:~> diskinfo -ctv ar0
ar0
        512             # sectorsize
        60000000000     # mediasize in bytes (56G)
        117187500       # mediasize in sectors
        7294            # Cylinders according to firmware.
        255             # Heads according to firmware.
        63              # Sectors according to firmware.

I/O command overhead:
        time to read 10MB block      1.993881 sec       =    0.097 msec/sector
        time to read 20480 sectors  96.562379 sec       =    4.715 msec/sector
        calculated command overhead                     =    4.618 msec/sector

Seek times:
        Full stroke:      250 iter in   2.295744 sec =    9.183 msec
        Half stroke:      250 iter in   3.133692 sec =   12.535 msec
        Quarter stroke:   500 iter in   4.506984 sec =    9.014 msec
        Short forward:    400 iter in   3.645145 sec =    9.113 msec
        Short backward:   400 iter in   4.194780 sec =   10.487 msec
        Seq outer:       2048 iter in   8.804519 sec =    4.299 msec
        Seq inner:       2048 iter in   8.342073 sec =    4.073 msec
Transfer rates:
        outside:       102400 kbytes in   8.985351 sec =    11396 kbytes/sec
        middle:        102400 kbytes in   8.634593 sec =    11859 kbytes/sec
        inside:        102400 kbytes in   9.601395 sec =    10665 kbytes/sec

root@mx2:~> diskinfo -ctv ad0
ad0
        512             # sectorsize
        250059350016    # mediasize in bytes (233G)
        488397168       # mediasize in sectors
        7752336         # Cylinders according to firmware.
        1               # Heads according to firmware.
        63              # Sectors according to firmware.

I/O command overhead:
        time to read 10MB block      1.442247 sec       =    0.070 msec/sector
        time to read 20480 sectors 138.643173 sec       =    6.770 msec/sector
        calculated command overhead                     =    6.699 msec/sector

Seek times:
        Full stroke:      250 iter in   7.346665 sec =   29.387 msec
        Half stroke:      250 iter in   5.098060 sec =   20.392 msec
        Quarter stroke:   500 iter in   9.358831 sec =   18.718 msec
        Short forward:    400 iter in   4.257812 sec =   10.645 msec
        Short backward:   400 iter in   4.663155 sec =   11.658 msec
        Seq outer:       2048 iter in  12.885937 sec =    6.292 msec
        Seq inner:       2048 iter in  11.611683 sec =    5.670 msec
Transfer rates:
        outside:       102400 kbytes in  12.511676 sec =     8184 kbytes/sec
        middle:        102400 kbytes in  10.214857 sec =    10025 kbytes/sec
        inside:        102400 kbytes in   8.921412 sec =    11478 kbytes/sec


запись ar0:/usr/bin/time -h dd if=/dev/zero of=testfile bs=4k count=26214
26214+0 records in
26214+0 records out
107372544 bytes transferred in 179.705255 secs (597493 bytes/sec)
        3m1,21s real            0,33s user              26,35s sys
чтение ar0: /usr/bin/time -h dd if=testfile of=/dev/null bs=4k count=26214
26214+0 records in
26214+0 records out
107372544 bytes transferred in 56.485784 secs (1900877 bytes/sec)
        56,60s real             0,32s user              9,03s sys


запись ad0:/usr/bin/time -h dd if=/dev/zero of=testfile bs=4k count=26214
26214+0 records in
26214+0 records out
107372544 bytes transferred in 187.508678 secs (572627 bytes/sec)
        3m10,82s real           0,34s user              27,22s sys
чтение ad0: /usr/bin/time -h dd if=testfile of=/dev/null bs=4k count=26214
26214+0 records in
26214+0 records out
107372544 bytes transferred in 47.072251 secs (2281016 bytes/sec)
        47,21s real             0,27s user              7,68s sys
Не могу понять в чем причина, если бы в Рейде, то тогда бы небыло такого с ad0 который висит на матери.

Отправлено: 11:54, 01-03-2012

 


Компьютерный форум OSzone.net » Linux и FreeBSD » Общий по FreeBSD » FreeBSD - Очень медленная скорость чтения/записи на HDD

Участник сейчас на форуме Участник сейчас на форуме Участник вне форума Участник вне форума Автор темы Автор темы Шапка темы Сообщение прикреплено

Похожие темы
Название темы Автор Информация о форуме Ответов Последнее сообщение
HDD - [решено] Очень медленная скорость жёсткого диска. Нужна помощь Lordest Накопители (SSD, HDD, USB Flash) 15 11-04-2014 05:42
HDD - [решено] Низкая скорость чтения/записи HDD ivg Накопители (SSD, HDD, USB Flash) 1 17-09-2011 14:50
Очень медленная запись на HDD Antrix Материнские платы и память 1 15-05-2010 22:05
Драйвер - Очень медленная скорость работы с USB оборудованием Bombardo Microsoft Windows 2000/XP 1 29-10-2009 01:39




 
Переход