Hello,
I have a server with the following configuration: Supermicro 6015B-T+B, 32 Gb RAM, 4 Seagate SATA hard drives (ST3500320NS/SN05). FreeBSD 7.1-RELEASE-p8 amd64.
2 disks are configured as gm0 RAID-1 volume. 2 other disks are configured as gm1 RAID-1 volume. gm0 is for system and gm1 is for MySQL DB.
As you can see, the performance of disk subsystem is very bad.
I have another server with with FreeBSD 7.2 Release, same configuration, but only 2 hard disks:
You can see, the second server hard disk speed about 58 Mbytes/sec, but the first server speed is only 7 Mbytes/sec.
How I can improve the hard disk performance of first server?
I have a server with the following configuration: Supermicro 6015B-T+B, 32 Gb RAM, 4 Seagate SATA hard drives (ST3500320NS/SN05). FreeBSD 7.1-RELEASE-p8 amd64.
2 disks are configured as gm0 RAID-1 volume. 2 other disks are configured as gm1 RAID-1 volume. gm0 is for system and gm1 is for MySQL DB.
Code:
# mount
/dev/mirror/gm0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/mirror/gm0s1d on /tmp (ufs, local, soft-updates)
/dev/mirror/gm0s1f on /usr (ufs, local, soft-updates)
/dev/mirror/gm0s1e on /var (ufs, local, soft-updates)
/dev/mirror/gm1s1d on /usr/local/db (ufs, local, soft-updates)
# dd if=/dev/zero of=/1testfile bs=1M count=200
200+0 records in
200+0 records out
209715200 bytes transferred in 28.393003 secs (7386158 bytes/sec)
# dd if=/dev/zero of=/usr/local/db/1testfile bs=1M count=200
200+0 records in
200+0 records out
209715200 bytes transferred in 28.109289 secs (7460708 bytes/sec)
I have another server with with FreeBSD 7.2 Release, same configuration, but only 2 hard disks:
Code:
# uname -a
FreeBSD sunzzz 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC 2009 [email]root@driscoll.cse.buffalo.edu[/email]:/usr/obj/usr/src/sys/GENERIC amd64
# mount
/dev/mirror/gm0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/mirror/gm0s1f on /tmp (ufs, local, soft-updates)
/dev/mirror/gm0s1d on /usr (ufs, local, soft-updates)
/dev/mirror/gm0s1g on /usr/local (ufs, local, soft-updates)
/dev/mirror/gm0s1e on /var (ufs, local, soft-updates)
/dev/md101 on /RAMDISK (ufs, local)
# dd if=/dev/zero of=/usr/local/db/1testfile bs=1M count=200
200+0 records in
200+0 records out
209715200 bytes transferred in 3.603078 secs (58204459 bytes/sec)
How I can improve the hard disk performance of first server?