IOwait très sollicité pendant l'activité du disque.

IOwait très sollicité pendant l'activité du disque. - Hardware - Linux et OS Alternatifs

Marsh Posté le 22-09-2006 à 14:00:55    

Yop,
 
Quand mon disque transfert des fichiers d'une certaine taille par exemple ou que je fais un find par exemple mon IOwait s'affolle et ma machine freeze quelques secondes...
En fouinant sur le net j'ai essayé plusieurs solutions infructueuses.

Citation :

Un check du disque qui est OK.
Une utilisation du noyau Debian qui ne change rien.
Utilisation du dernier noyau 2.6.18-rc7 qui ne change rien non plus.
J'ai aussi changé le mode preemptif en essayent les 3 modes et idem.
J'ai changé la fréquence du kernel et idem.
J'ai changé le scheduler en CFQ et idem.


 
Je sèche pas mal en fait.
J'utilise du nForce 4 et un disque IDE 80Go et deux en SATA, je n'avais pas de soucis jadis (ne me demandait pas à partir de quand c'est apparu je ne serais vous répondre.)
 
Merci d'avance. :)


---------------
http://wiki.incloudus.com/display/DOC | http://blog.incloudus.com | http://wiki.goldzoneweb.info | http://www.stendhalclub.fr
Reply

Marsh Posté le 22-09-2006 à 14:00:55   

Reply

Marsh Posté le 22-09-2006 à 15:03:17    

Le DMA est activé ? (drivers CM et disque)


---------------
Be the one with the flames.
Reply

Marsh Posté le 22-09-2006 à 15:15:30    

Ton disque SATA ne serait pas utilisé comme IDE par hasard ?
Pour pouvoir bénéficier du SATA à plein régime il faut le déclarer comme SCSI et utiliser libata ...
 
90% que c'est ça, j'ai eu le même problème :o


---------------
Wedge#2487 @HS -#- PW: +∞ -#- Khaz-Modan/Boltiz @WoW
Reply

Marsh Posté le 22-09-2006 à 15:52:16    

Le DMA est activé et mon chipset est en dur dans le noyau.
J'utilise bien libata mes disques sont bien reconnus en /dev/sdx sauf pour le 80Go qui est in IDE donc en hda.


Message édité par goldyfruit le 22-09-2006 à 15:52:47

---------------
http://wiki.incloudus.com/display/DOC | http://blog.incloudus.com | http://wiki.goldzoneweb.info | http://www.stendhalclub.fr
Reply

Marsh Posté le 22-09-2006 à 16:43:10    

Et les freeze, c'est plutôt quand tu utilises le 80Go ou les SATA ou n'importe ?


---------------
Be the one with the flames.
Reply

Marsh Posté le 22-09-2006 à 17:04:22    

Reply

Marsh Posté le 22-09-2006 à 18:54:01    

y'a quoi dans les logs ?  un dmesg affiche quoi ce genre de comportement se manifeste ?


---------------
« Ce qui ne vous tue pas vous rend plus fort » F. Nietzsche | « Vise_ la Lune. Si tu rates, au pire, t'es dans la merde » Un poète disparu dans le cercle
Reply

Marsh Posté le 22-09-2006 à 19:02:14    

Le dmesg semble correct :

Citation :

ctl 0xBE2 bmdma 0xC800 irq 17
ata4: SATA max UDMA/133 cmd 0x960 ctl 0xB62 bmdma 0xC808 irq 17
ata3: SATA link up 1.5 Gbps (SStatus 113)
ata3: dev 0 cfg 49:2f00 82:74eb 83:7fea 84:4023 85:74e9 86:3c02 87:4023 88:203f
ata3: dev 0 ATA-6, max UDMA/100, 321672960 sectors: LBA48
ata3(0): applying bridge limits
nv_sata: Primary device added
nv_sata: Primary device removed
nv_sata: Secondary device added
nv_sata: Secondary device removed
ata3: dev 0 configured for UDMA/100
scsi2 : sata_nv
ata4: SATA link up 1.5 Gbps (SStatus 113)
ata4: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4773 85:7c69 86:3e01 87:4763 88:407f
ata4: dev 0 ATA-7, max UDMA/133, 586114704 sectors: LBA48
nv_sata: Primary device added
nv_sata: Primary device removed
nv_sata: Secondary device added
nv_sata: Secondary device removed
ata4: dev 0 configured for UDMA/133
scsi3 : sata_nv
  Vendor: ATA       Model: HDS722516VLAT80   Rev: V34O
  Type:   Direct-Access                      ANSI SCSI revision: 05
  Vendor: ATA       Model: Maxtor 6V300F0    Rev: VA11
  Type:   Direct-Access                      ANSI SCSI revision: 05
st: Version 20050830, fixed bufsize 32768, s/g segs 256
SCSI device sda: 321672960 512-byte hdwr sectors (164697 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 321672960 512-byte hdwr sectors (164697 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
 sda: sda1
sd 2:0:0:0: Attached scsi disk sda
SCSI device sdb: 586114704 512-byte hdwr sectors (300091 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
SCSI device sdb: 586114704 512-byte hdwr sectors (300091 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
 sdb: unknown partition table
sd 3:0:0:0: Attached scsi disk sdb
sd 2:0:0:0: Attached scsi generic sg0 type 0
sd 3:0:0:0: Attached scsi generic sg1 type 0
ieee1394: Initialized config rom entry `ip1394'
ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16
ACPI: PCI Interrupt 0000:01:07.2[B] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 18
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[18]  MMIO=[fdeff000-fdeff7ff]  Max Packet=[2048]  IR/IT contexts=[4/8]
ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17
ACPI: PCI Interrupt 0000:01:09.0[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 19
ohci1394: fw-host1: OHCI-1394 1.1 (PCI): IRQ=[19]  MMIO=[fdefe000-fdefe7ff]  Max Packet=[2048]  IR/IT contexts=[4/8]
video1394: Installed video1394 module
ieee1394: raw1394: /dev/raw1394 device initialized
eth1394: eth0: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
eth1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet (fw-host1)
ACPI: PCI Interrupt Link [APCL] enabled at IRQ 21
ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [APCL] -> GSI 21 (level, low) -> IRQ 20
PCI: Setting latency timer of device 0000:00:02.1 to 64
ehci_hcd 0000:00:02.1: EHCI Host Controller
ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:02.1: debug port 1
PCI: cache line size of 64 is not supported by device 0000:00:02.1
ehci_hcd 0000:00:02.1: irq 20, io mem 0xfeb00000
ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 10 ports detected
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt Link [APCF] enabled at IRQ 20
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [APCF] -> GSI 20 (level, low) -> IRQ 21
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:02.0: irq 21, io mem 0xfe02f000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 10 ports detected
Initializing USB Mass Storage driver...
usb 2-1: new full speed USB device using ohci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usb 2-4: new low speed USB device using ohci_hcd and address 3
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00023c0151125f75]
usb 2-4: configuration #1 chosen from 1 choice
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver hiddev
input: Logitech USB-PS/2 Optical Mouse as /class/input/input0
input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:02.0-4
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
i2c_adapter i2c-0: nForce2 SMBus adapter at 0x1c00
i2c_adapter i2c-1: nForce2 SMBus adapter at 0x1c40
ieee1394: Host added: ID:BUS[1-00:1023]  GUID[0001292000023c3f]
input: AT Translated Set 2 keyboard as /class/input/input1
it87: Found IT8712F chip at 0x290, revision 7
Advanced Linux Sound Architecture Driver Version 1.0.11rc4 (Wed Mar 22 10:27:24 2006 UTC).
ALSA device list:
  No soundcards found.
Netfilter messages via NETLINK v0.30.
ip_conntrack version 2.4 (8183 buckets, 65464 max) - 172 bytes per conntrack
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI Shortcut mode
BIOS EDD facility v0.16 2004-Jun-25, 3 devices found
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 164k freed
Adding 1461872k swap on /dev/hda6.  Priority:-1 extents:1 across:1461872k
EXT3 FS on hda2, internal journal
drivers/usb/serial/usb-serial.c: USB Serial support registered for Handspring Visor / Palm OS
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 3.5
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 5.0
usbcore: registered new driver visor
drivers/usb/serial/visor.c: USB HandSpring Visor / Palm OS driver
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
ACPI: PCI Interrupt 0000:01:06.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 22
bttv0: Bt878 (rev 17) at 0000:01:06.0, irq: 22, latency: 32, mmio: 0xfdfff000
bttv0: detected: Pinnacle PCTV [bswap] [card=39], PCI subsystem ID is bd11:1200
bttv0: using: Pinnacle PCTV Studio/Rave [card=39,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00ff27ff [init]
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: miro: id=9 tuner=3 radio=no stereo=no
bttv0: using tuner=3
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: i2c: checking for TDA9887 @ 0x86... not found
tuner 2-0060: All bytes are equal. It is not a TEA5767
tuner 2-0060: chip found @ 0xc0 (bt878 #0 [sw])
tuner 2-0060: type set to 3 (Philips (SECAM+PAL_BG) (FI1216MF, FM1216MF, FR1216MF))
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.54.
ACPI: PCI Interrupt Link [APCH] enabled at IRQ 23
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [APCH] -> GSI 23 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:0a.0 to 64
forcedeth: using HIGHDMA
eth2: forcedeth.c: subsystem: 010de:cb84 bound to 0000:00:0a.0
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda10, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda9, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda7, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda8, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sdb, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ACPI: PCI Interrupt 0000:01:0a.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 22
sk98lin: Could not read VPD data.
ACPI: PCI interrupt for device 0000:01:0a.0 disabled
sk98lin: probe of 0000:01:0a.0 failed with error -5
ACPI: PCI Interrupt Link [APC4] enabled at IRQ 19
ACPI: PCI Interrupt 0000:01:07.0[A] -> Link [APC4] -> GSI 19 (level, low) -> IRQ 23
Installing spdif_bug patch: Audigy 2 ZS [SB0350]
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt 0000:05:00.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 22
PCI: Setting latency timer of device 0000:05:00.0 to 64
NVRM: loading NVIDIA Linux x86 Kernel Module  1.0-8774  Tue Aug  1 20:54:08 PDT 2006
i2c_adapter i2c-3: SMBus Quick command not supported, can't probe for chips
i2c_adapter i2c-4: SMBus Quick command not supported, can't probe for chips
i2c_adapter i2c-5: SMBus Quick command not supported, can't probe for chips
hda: cache flushes supported
pwc: Philips webcam module version 10.0.12-rc1-debian loaded.
pwc: Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840.
pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
pwc: Trace options: 0x0001
pwc: Logitech QuickCam 4000 Pro USB webcam detected.
pwc: Registered as /dev/video1.
usbcore: registered new driver Philips webcam


Les problèmes apparaissent lors de transferts de fichiers ou de grosses activés du disque par exemple la lecture de la table informations_schema de MySQL qui fait très bobo au disque. :pt1cable:


---------------
http://wiki.incloudus.com/display/DOC | http://blog.incloudus.com | http://wiki.goldzoneweb.info | http://www.stendhalclub.fr
Reply

Marsh Posté le 22-09-2006 à 19:28:50    

sans parler du freeze ... c'est un peu normal qu'une tache qui fait des tas E/S soit limité par les E/S ... c'est le rôle IOwait.
 
Passe en cfq de toutes façons.
Fais un bench hdparm pour voir ce que ça donne. Après t'as peut-être juste un problème matériel. Fais du smart.

Reply

Marsh Posté le 22-09-2006 à 19:30:09    

Taz a écrit :

sans parler du freeze ... c'est un peu normal qu'une tache qui fait des tas E/S soit limité par les E/S ... c'est le rôle IOwait.
 
Passe en cfq de toutes façons.
Fais un bench hdparm pour voir ce que ça donne. Après t'as peut-être juste un problème matériel. Fais du smart.


Tout ceci a déjà été fait et indiqué dans le premier post.


---------------
http://wiki.incloudus.com/display/DOC | http://blog.incloudus.com | http://wiki.goldzoneweb.info | http://www.stendhalclub.fr
Reply

Marsh Posté le 22-09-2006 à 19:30:09   

Reply

Marsh Posté le 22-09-2006 à 20:02:15    

j'ai rien lu sur hdparm. ni sur smart.


Message édité par Taz le 22-09-2006 à 20:02:43
Reply

Marsh Posté le 22-09-2006 à 20:33:44    

Citation :

Un check du disque qui est OK.


J'ai tout fait fsck, hdparm, smartmontool.


---------------
http://wiki.incloudus.com/display/DOC | http://blog.incloudus.com | http://wiki.goldzoneweb.info | http://www.stendhalclub.fr
Reply

Marsh Posté le 22-09-2006 à 23:07:12    

et nous on est madame soleil ...

Reply

Marsh Posté le 22-09-2006 à 23:13:38    

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed