Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2013 10:39:25 +0600
From:      =?koi8-r?B?59XM0cXXIOfP28E=?= <gosha-necr@yandex.ru>
To:        freebsd-hardware@freebsd.org
Subject:   Strange performance problems with I/O subsystem
Message-ID:  <261461361939965@web1e.yandex.ru>

next in thread | raw e-mail | index | archive | help
   Good day!

   I have a laptop with FreeBSD 10-Current AMD64 installed.

   And when I have some intensive I/O tasks (csup -g /root/mysupfile, or
   portsnap fetch update, or rm -rf /usr/obj, when system working
   sequentialy with many files in general) my system begins periodically
   freezes. If I see gstat it shows me 100% I\O on disk.

   But this is not normal, because that tasks not gives such results ever
   on very old PC, but this my laptop is Core I5 + 4Gb RAM, and all what I
   do for system begins to be slow is portsnap fetch update.

   If needs some additional info, I will provide it.

   Thank you!

   There is my dmesg:

   Copyright (c) 1992-2013 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 10.0-CURRENT #0: Wed Jan 30 14:21:19 YEKT 2013
   goshanecr@MYBSD:/usr/obj/usr/src/sys/MYBSD amd64
   CPU: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz (2494.39-MHz K8-class
   CPU)
   Origin = "GenuineIntel" Id = 0x306a9 Family = 0x6 Model = 0x3a Stepping
   = 9
   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG
   E,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0x7fbae3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3
   ,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSX
   SAVE,AVX,F16C,RDRAND>
   AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
   AMD Features2=0x1<LAHF>
   Standard Extended Features=0x281<GSFSBASE,SMEP,ENHMOVSB>
   TSC: P-state invariant, performance statistics
   real memory = 4294967296 (4096 MB)
   avail memory = 3995693056 (3810 MB)
   Event timer "LAPIC" quality 600
   ACPI APIC Table: <ALASKA A M I>
   FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
   FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
   cpu0 (BSP): APIC ID: 0
   cpu1 (AP): APIC ID: 1
   cpu2 (AP): APIC ID: 2
   cpu3 (AP): APIC ID: 3
   ioapic0 <Version 2.0> irqs 0-23 on motherboard
   Cuse4BSD v0.1.26 @ /dev/cuse
   kbd1 at kbdmux0
   ctl: CAM Target Layer loaded
   acpi0: <ALASKA A M I> on motherboard
   acpi0: Power Button (fixed)
   cpu0: <ACPI CPU> on acpi0
   cpu1: <ACPI CPU> on acpi0
   cpu2: <ACPI CPU> on acpi0
   cpu3: <ACPI CPU> on acpi0
   hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on
   acpi0
   Timecounter "HPET" frequency 14318180 Hz quality 950
   Event timer "HPET" frequency 14318180 Hz quality 550
   Event timer "HPET1" frequency 14318180 Hz quality 440
   Event timer "HPET2" frequency 14318180 Hz quality 440
   Event timer "HPET3" frequency 14318180 Hz quality 440
   Event timer "HPET4" frequency 14318180 Hz quality 440
   atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
   atrtc0: Warning: Couldn't map I/O.
   Event timer "RTC" frequency 32768 Hz quality 0
   attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
   Timecounter "i8254" frequency 1193182 Hz quality 0
   Event timer "i8254" frequency 1193182 Hz quality 100
   Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
   acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
   acpi_ec0: <Embedded Controller: GPE 0x17> port 0x62,0x66 on acpi0
   pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
   pci0: <ACPI PCI bus> on pcib0
   pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
   pci1: <ACPI PCI bus> on pcib1
   vgapci0: <VGA-compatible display> port 0xe000-0xe07f mem
   0xf6000000-0xf6ffffff,0xe0000000-0xefffffff,0xf0000000-0xf1ffffff irq
   16 at device 0.0 on pci1
   pcib2: <ACPI PCI-PCI bridge> irq 16 at device 1.1 on pci0
   pci2: <ACPI PCI bus> on pcib2
   vgapci1: <VGA-compatible display> port 0xf000-0xf03f mem
   0xf7400000-0xf77fffff,0xd0000000-0xdfffffff irq 16 at device 2.0 on
   pci0
   xhci0: <Intel Panther Point USB 3.0 controller> mem
   0xf7a00000-0xf7a0ffff irq 16 at device 20.0 on pci0
   xhci0: 32 byte context size.
   usbus0 on xhci0
   pci0: <simple comms> at device 22.0 (no driver attached)
   ehci0: <Intel Panther Point USB 2.0 controller> mem
   0xf7a18000-0xf7a183ff irq 16 at device 26.0 on pci0
   usbus1: EHCI version 1.0
   usbus1 on ehci0
   hdac0: <Intel Panther Point HDA Controller> mem 0xf7a10000-0xf7a13fff
   irq 22 at device 27.0 on pci0
   pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
   pci3: <ACPI PCI bus> on pcib3
   pcib4: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
   pci4: <ACPI PCI bus> on pcib4
   pci4: <network> at device 0.0 (no driver attached)
   pcib5: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
   pci5: <ACPI PCI bus> on pcib5
   pci5: <unknown> at device 0.0 (no driver attached)
   re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F PCIe Gigabit Ethernet> port
   0xc000-0xc0ff mem 0xf2104000-0xf2104fff,0xf2100000-0xf2103fff irq 19 at
   device 0.2 on pci5
   re0: Using 1 MSI-X message
   re0: turning off MSI enable bit.
   re0: ASPM disabled
   re0: Chip rev. 0x48800000
   re0: MAC rev. 0x00000000
   miibus0: <MII bus> on re0
   rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on
   miibus0
   rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX,
   100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master,
   1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
   re0: Ethernet address: 00:90:f5:d0:a5:c4
   ehci1: <Intel Panther Point USB 2.0 controller> mem
   0xf7a17000-0xf7a173ff irq 23 at device 29.0 on pci0
   usbus2: EHCI version 1.0
   usbus2 on ehci1
   isab0: <PCI-ISA bridge> at device 31.0 on pci0
   isa0: <ISA bus> on isab0
   ahci0: <Intel Panther Point AHCI SATA controller> port
   0xf0b0-0xf0b7,0xf0a0-0xf0a3,0xf090-0xf097,0xf080-0xf083,0xf060-0xf07f
   mem 0xf7a16000-0xf7a167ff irq 19 at device 31.2 on pci0
   ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported
   ahcich0: <AHCI channel> at channel 0 on ahci0
   ahcich2: <AHCI channel> at channel 2 on ahci0
   ahcich4: <AHCI channel> at channel 4 on ahci0
   ahciem0: <AHCI enclosure management bridge> on ahci0
   pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
   acpi_button0: <Power Button> on acpi0
   acpi_button1: <Sleep Button> on acpi0
   acpi_lid0: <Control Method Lid Switch> on acpi0
   acpi_acad0: <AC Adapter> on acpi0
   battery0: <ACPI Control Method Battery> on acpi0
   acpi_tz0: <Thermal Zone> on acpi0
   atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
   atkbd0: <AT Keyboard> irq 1 on atkbdc0
   kbd0 at atkbd0
   atkbd0: [GIANT-LOCKED]
   psm0: <PS/2 Mouse> irq 12 on atkbdc0
   psm0: [GIANT-LOCKED]
   psm0: model Generic PS/2 mouse, device ID 0
   orm0: <ISA Option ROM> at iomem 0xcf000-0xcffff 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
   coretemp0: <CPU On-Die Thermal Sensors> on cpu0
   est0: <Enhanced SpeedStep Frequency Control> on cpu0
   p4tcc0: <CPU Frequency Thermal Control> on cpu0
   coretemp1: <CPU On-Die Thermal Sensors> on cpu1
   est1: <Enhanced SpeedStep Frequency Control> on cpu1
   p4tcc1: <CPU Frequency Thermal Control> on cpu1
   coretemp2: <CPU On-Die Thermal Sensors> on cpu2
   est2: <Enhanced SpeedStep Frequency Control> on cpu2
   p4tcc2: <CPU Frequency Thermal Control> on cpu2
   coretemp3: <CPU On-Die Thermal Sensors> on cpu3
   est3: <Enhanced SpeedStep Frequency Control> on cpu3
   p4tcc3: <CPU Frequency Thermal Control> on cpu3
   fuse-freebsd: version 0.4.4, FUSE ABI 7.8
   Timecounters tick every 1.000 msec
   hdacc0: <VIA VT1802_1 HDA CODEC> at cad 0 on hdac0
   hdaa0: <VIA VT1802_1 Audio Function Group> at nid 1 on hdacc0
   pcm0: <VIA VT1802_1 (Analog 2.0+HP/2.0)> at nid 36,37 and 41 on hdaa0
   pcm1: <VIA VT1802_1 (Rear Analog Mic)> at nid 43 on hdaa0
   hdacc1: <Intel Panther Point HDA CODEC> at cad 3 on hdac0
   hdaa1: <Intel Panther Point Audio Function Group> at nid 1 on hdacc1
   pcm2: <Intel Panther Point (HDMI/DP 8ch)> at nid 6 on hdaa1
   usbus0: 5.0Gbps Super Speed USB v3.0
   usbus1: 480Mbps High Speed USB v2.0
   usbus2: 480Mbps High Speed USB v2.0
   ugen0.1: <0x8086> at usbus0
   uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on
   usbus0
   ugen1.1: <Intel> at usbus1
   uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on
   usbus1
   ugen2.1: <Intel> at usbus2
   uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on
   usbus2
   ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
   ada0: <Hitachi HTS545050A7E380 GG2OA7A0> ATA-8 SATA 2.x device
   ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
   ada0: Command Queueing enabled
   ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
   ada0: Previously was known as ad4
   pass2 at ahciem0 bus 0 scbus3 target 0 lun 0
   pass2: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device
   SMP: AP CPU #1 Launched!
   SMP: AP CPU #3 Launched!
   SMP: AP CPU #2 Launched!
   cd0 at ahcich2 bus 0 scbus1 target 0 lun 0
   cd0: <Slimtype DVD A DS8A8SH KX12> Removable CD-ROM SCSI-0 device
   cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO
   8192bytes)
   cd0: Attempt to query device size failed: NOT READY, Medium not present
   - tray closed
   Timecounter "TSC-low" frequency 9743703 Hz quality 1000
   uhub0: 8 ports with 8 removable, self powered
   Root mount waiting for: usbus2 usbus1
   uhub1: 2 ports with 2 removable, self powered
   uhub2: 2 ports with 2 removable, self powered
   Root mount waiting for: usbus2 usbus1
   ugen1.2: <vendor 0x8087> at usbus1
   uhub3: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2>
   on usbus1
   ugen2.2: <vendor 0x8087> at usbus2
   uhub4: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2>
   on usbus2
   Root mount waiting for: usbus2 usbus1
   uhub3: 6 ports with 6 removable, self powered
   uhub4: 6 ports with 6 removable, self powered
   ugen1.3: <Logitech> at usbus1
   ugen2.3: <BISON Corporation> at usbus2
   Trying to mount root from ufs:/dev/ada0s3a [rw]...
   ums0: <Logitech USB Optical Mouse, class 0/0, rev 2.00/53.00, addr 3>
   on usbus1
   ums0: 3 buttons and [XYZ] coordinates ID=0
   agp0: <IvyBridge mobile GT2 IG> on vgapci1
   agp0: aperture size is 256M, detected 65532k stolen memory
   drmn1: <Intel IvyBridge (M)> on vgapci1
   info: [drm] MSI enabled 1 message(s)
   info: [drm] AGP at 0xd0000000 256MB
   iicbus0: <Philips I2C bus> on iicbb0 addr 0xff
   iic0: <I2C generic I/O> on iicbus0
   iic1: <I2C generic I/O> on iicbus1
   iicbus2: <Philips I2C bus> on iicbb1 addr 0xff
   iic2: <I2C generic I/O> on iicbus2
   iic3: <I2C generic I/O> on iicbus3
   iicbus4: <Philips I2C bus> on iicbb2 addr 0xff
   iic4: <I2C generic I/O> on iicbus4
   iic5: <I2C generic I/O> on iicbus5
   iicbus6: <Philips I2C bus> on iicbb3 addr 0xff
   iic6: <I2C generic I/O> on iicbus6
   iic7: <I2C generic I/O> on iicbus7
   iicbus8: <Philips I2C bus> on iicbb4 addr 0xff
   iic8: <I2C generic I/O> on iicbus8
   iic9: <I2C generic I/O> on iicbus9
   iicbus10: <Philips I2C bus> on iicbb5 addr 0xff
   iic10: <I2C generic I/O> on iicbus10
   iic11: <I2C generic I/O> on iicbus11
   iicbus12: <Philips I2C bus> on iicbb6 addr 0xff
   iic12: <I2C generic I/O> on iicbus12
   iic13: <I2C generic I/O> on iicbus13
   iicbus14: <Philips I2C bus> on iicbb7 addr 0xff
   iic14: <I2C generic I/O> on iicbus14
   iic15: <I2C generic I/O> on iicbus15
   info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
   info: [drm] Driver supports precise vblank timestamp query.
   drmn1: taking over the fictitious range 0xd0000000-0xe0000000
   info: [drm] Initialized i915 1.6.0 20080730



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