I got new HP Proliant DL160 G5 with three sata disk. For You interested in details here is a dmesg. Box setup wen’t smooth but disk operations performance was very low. Copy big file wrom disk to disk was around 6Mb/sec, fetching src from cvs stops from time to time for a while. To show how slow this is look how long take inserting backup of this blog to mysql again:
cancer@quad/usr/home/cancer[52]22:34#mysql -uroot -p cancerwp < /usr/home/cancer/cancer_blog_17.08.2009.sql
Enter password:
cancer@quad/usr/home/cancer[53]22:54#
Yup, 20 minutes and sql file was 85 Mb.
After checking dkctl against disks, I found (with help of morr) that write cache is disabled.
dkctl wd0 getcache
/dev/rwd0d: read cache enabled
/dev/rwd0d: read cache enable is not changeable
/dev/rwd0d: write cache enable is changeable
/dev/rwd0d: cache parameters are not savable
After enabling…
dkctl wd0 setcache rw
/dev/rwd0d: read cache enabled
/dev/rwd0d: write-back cache enabled
/dev/rwd0d: read cache enable is not changeable
/dev/rwd0d: write cache enable is changeable
/dev/rwd0d: cache parameters are not savable
… performance went to satisfying level. Copying is now about 40Mb/sec and restoring database above in less than minute.
Unfortunettly saving this settings is not possible for now.
dkctl wd0 setcache rw save
dkctl: /dev/rwd0d: setcache: Operation not supported
Maybe this have to be turned on in bios of server. For now i put cache enablers into /etc/rc.local.
System is NetBSD 5.0.1_PATCH i386 with FFSv2 and WAPBL.
© odwiedź stronÄ™ http://maciejewski.org po wiÄ™cej fajnych postów!