[suse-sles-e] catastrophic disk-performance on SLES10 with SATA drives

From: Heiko Helmle (heiko.helmle_at_head.de)
Date: Mon Feb 12 2007 - 15:20:13 CET


Message-ID: <45D0779D.7030102@head.de>
Date: Mon, 12 Feb 2007 15:20:13 +0100
From: Heiko Helmle <heiko.helmle@head.de>
Subject: [suse-sles-e] catastrophic disk-performance on SLES10 with SATA drives

Hello,

We're trying to deploy a HP Proliant DL360 G4p Server with two 500GB
SATA Drives with SLES10.

Problem is a really really slow disk-performance. Even using vi on a
file stalls up to 10 seconds sometimes (as vi seems to regularly fsync
to it's swp-file).

Directory listings take ages, even on small directories, as does login.

The system is running Software-Raid-1
/dev/md0 holds /boot
and /dev/md1 holds the LVM-VG with all the other filesystems.

We tried ReiserFS, ext3 with and without dir_index and with different
journal settings, different io schedulers (cfq, anticipatory, etc)

kernel log is error free and i'm running out of ideas, why this machine
is so slow, as it should become a build server.

Does anybody have some experience with SLES10 and LVM on Software-Raid?
Or has an idea how to diagnose this problem? - or is this untested
territory? I'm running some DL320-SATA Firewalls with a similar
configuration successfully on SLES9.

The rough specs of this problem-server are:
Proliant DL360 G4p SATA
Xeon 3.2 Ghz
Two 500GB HP SATA-Drives (7.2k)
2 GB RAM, 2GB Swap (unused)
kernel 2.6.16.27-0.6-smp

I attached a snapshot of /proc/diskstats of the system running - it
shows a considerate amount of time waiting for IO if i read the numbers
right.

install:~ # uptime
   3:11pm up 34 days 0:31, 6 users, load average: 0.75, 1.04, 1.60
install:~ # cat /proc/diskstats | grep -v ram | grep -v loop
    2 0 fd0 0 0 0 0 0 0 0 0 0 0 0
    8 0 sda 3336677 3302998 671792076 51158056 29106194 61713031
806565040 2466757768 0 650362676 2519464032
    8 1 sda1 30440 32074 16 80
    8 2 sda2 6609452 671754298 90877153 746832464
    8 16 sdb 3328838 3267726 672667736 49888748 28927965 61889365
806565040 2507466196 0 651903524 2558952956
    8 17 sdb1 177 422 16 80
    8 18 sdb2 6596824 672662322 90877153 746832464
    9 0 md0 187 0 2052 0 8 0 16 0 0 0 0
    9 1 md1 13206325 0 1344426280 0 84721740 0 697589160 0 0 0 0
  253 0 dm-0 4514 0 37368 30924 8835 0 70680 1386468 0 243100 1417392
  253 1 dm-1 6818 0 107072 87020 520111 0 4160888 42464036 0 14705592
42551080
  253 2 dm-2 28347 0 727832 1239952 10227806 0 81822448 1206597552 0
89564532 1207838504
  253 3 dm-3 11697669 0 1282029492 157966144 4611385 0 36891080
496036832 0 57501420 654030008
  253 4 dm-4 99 0 792 4152 161 0 1288 80756 0 10152 84908
  253 5 dm-5 87688 0 16644562 1369396 601970 0 24631000 222361504 0
11791024 223730964
  253 6 dm-6 154982 0 5214712 3501896 1440980 0 11527840 185181984 0
22332096 188683976
  253 7 dm-7 1225856 0 39661634 33340712 67310492 0 538483936
945699920 0 649791080 984824112
  253 8 dm-8 73 0 584 1064 0 0 0 0 0 796 1064
    3 0 hda 21019 1317430 5354500 2496928 0 0 0 0 0 414184 2496912

---------------------------------------------------------------------
To unsubscribe, e-mail: suse-sles-e-unsubscribe@suse.com
For additional commands, e-mail: suse-sles-e-help@suse.com



This archive was generated by hypermail 2.1.7 : Mon Feb 12 2007 - 17:24:24 CET