Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread David Gwynne
On 01/09/2010, at 8:37 AM, Stuart Henderson wrote: > On 2010-08-31, Evgeniy Sudyr wrote: >> I have troubles with on OpenBSD 4.7 with HP DL 120 G5 >> >> Actually I'm trying to unpack src.tar.gz and see that it's very slow. > ... >> mpi0 at pci1 dev 0 function 0 "Symbios Logic SAS1068E" rev 0x08:

Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Stuart Henderson
On 2010-08-31, Evgeniy Sudyr wrote: > I have troubles with on OpenBSD 4.7 with HP DL 120 G5 > > Actually I'm trying to unpack src.tar.gz and see that it's very slow. ... > mpi0 at pci1 dev 0 function 0 "Symbios Logic SAS1068E" rev 0x08: apic > 4 int 16 (irq 5) ... > # dd if=/dev/zero of=/tmp/tmp b

Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Kenneth Gober
On Tue, Aug 31, 2010 at 2:42 PM, Evgeniy Sudyr wrote: > Why controller's cache matters if current write speed is 0.5 Mb/sec ? > In windows (prior installation OBSD) I noted ~ 80 MB/sec write speed > on same configuration. > > My current test (after deleting array and installing on single SATA disk

Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Evgeniy Sudyr
Guys, I have no battery backed cache. I even don`t need it for current configuration. Why controller's cache matters if current write speed is 0.5 Mb/sec ? In windows (prior installation OBSD) I noted ~ 80 MB/sec write speed on same configuration. My current test (after deleting array and instal

Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Marco Peereboom
This is mpi so this response doesn't seem accurate as they don't have battery cache etc. On Tue, Aug 31, 2010 at 08:30:53PM +0200, Ivan Nudzik wrote: > Download "Smart Start" CD from HP site. Boot this CD and configure SCSI > adapter an RAID settings. There is far more options to configure, than >

Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Evgeniy Sudyr
Did it, but looks something wrong: 1. scsi -f /dev/rsd0c -m 8 -P 3 -e 2. Opened vi where I edited WCE: 0 to 1 and and saved file 3. Message appears: /var/tmp/scrvzvir1o: 2 lines, 16 characters. SCIOCCOMMAND ioctl: Command accepted. return status 3 (Sense Returned) host adapter status 2 Command ou

Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Evgeniy Sudyr
Marco, thank you for your super fast answer! As I understood you told that I need to delete raid logical disk, and use two separate disks. 1. I deleted array and selected disk 1 to be boot disk in LSI configuration. 2. During installation I was able to see 2 disks (as expected), so I installed O

Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Ivan Nudzik
Download "Smart Start" CD from HP site. Boot this CD and configure SCSI adapter an RAID settings. There is far more options to configure, than from SCSI adapter BIOS. Btw if you have battery backed cache, you can switch on write cache. You should also download and boot "Firmware CD"... I. On Tue,

Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Marco Peereboom
Something like: # scsi -f /dev/rsd0c -m 8 change WCE: 0 to WCE: 1 On Tue, Aug 31, 2010 at 08:20:18PM +0300, Evgeniy Sudyr wrote: > Marco, > > thank you for your super fast answer! > > As I understood you told that I need to delete raid logical disk, and > use two separate disks. > > I did it

Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Evgeniy Sudyr
Marco, thank you for your super fast answer! As I understood you told that I need to delete raid logical disk, and use two separate disks. I did it and I'm installing OpenBSD on first disk right now. I have question for you - how should I "enable write cache on them using scsi" ? -- Thanks!

Re: Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Marco Peereboom
Your disks have write cache disabled. I started on a diff but hit a roadblock and didn't get back to figuring this out. Currently the only way to "fix" this is to undo the raid volume and let the actual physical disks show up. Then enable write cache on them using scsi. Not really something for

Slow disk IO HP DL120 G5 with LSI1068E

2010-08-31 Thread Evgeniy Sudyr
I have troubles with on OpenBSD 4.7 with HP DL 120 G5 Actually I'm trying to unpack src.tar.gz and see that it's very slow. There is my systat during unpacking and dmesg for the server systat 2 usersLoad 2.77 2.48 2.17 Tue Aug 31 19:46:02 2010 memory to