I have recently installed a new Sybase server and have found that the transaction processing throughput is very slow. This has been traced to slow sequential write performance on the log array (controlled by Perc 3/DC).
My system configuration:
- Windows 2000 server running on a dual xeon 3Ghz, 2GB ram - Sybase log array - 2 x 18GB 15K rpm Seagate Cheetah drives configured Raid-0 on Dell Perc 3/DC - Sybase data array - 8 x 36GB 10K Atlas IV drives configured Raid-0 on Dell Perc 3/DC
I am using Raid-0 because we are looking for maximum performance and the server isn't intended for production. Stripe size on raid arrays is 64K.
Using IOMeter I have benchmarked sequential writes on 2KB blocks at 8MB/s. Enabling write-back cache drops sequential writes to around 6MB/s. This is much slower than an equivalent test on a single 7200RPM IDE disk (Around 25MB/s). Using a larger block size of 64K in IOMeter results in 90 MB/s, but this drops to 8MB/s when the write-back cache is enabled. Sybase uses 2K blocks, so this is the figure that I need to increase. Random read performance is excellent - around 2000 IOPs on the data array.
I have tried various configuration combinations to improve the write throughput with little effect. This includes: - Various stripe sizes (2KB - 128KB) - All permutations of the array cache settings (write-back/write-through, read-ahead/no read-ahead, direct IO/Cache IO) - Swapping the controller card to different PCI slots including 32Bit/33Mhz, 64Bit/66Mhz, 64Bit,133Mhz - Utilising Windows 2000 server striping over individual logical drives for each disk - Different disks - the data array (Atlas IV) and the log array (Seagate Cheetah) have the same write performance. - Various firmware and drivers including conversion to LSI MegaRaid 1600 firmware and drivers. - I have confirmed the SCSI interfaces and drives are all operating at Ultra160.
My expectation is that the write-back cache should improve write performance - particulrary on small blocks. This hasn't proven to be the case. I would greatly appreciate any pointers on improving the sequential write performance on small blocks. Also, if this is the expected performance of the Dell Perc 3/DC card then I would be grateful for that feedback so that I can start looking for a new controller card!
I'm getting a dual xeon 3GHz PE6650 with 8GB Ram and a PowerVault 221S with 14 36GB 15k drives to replace my existing Sun server. I haven't received the hardware yet, but once I do I will install Red Hat Enterprise Linux 3 and Sybase 12.5.2 so I can migrate my Sybase databases from my Sun server.
I have prototyped a similar database on a PE2600 with just one cpu, 2GB ram and three internal 26GB 10k drives using RAID 5 and at least all of my Sybase benchmark tests have run much faster than the same tests on the Sun server, which is a dual 450Mhz, with 2GB ram and an external 12 drive (18GB) RAID 5 using a fiber connection. The Sun hardware is almost 6 years old, but so far I have been happy with my tests on the PE2600.
Can't wait to get the 6650 and the PV221S to do some real full blown tests.
DKP
25 Posts
200
0
Posted April 23rd, 2004 12:00
performance on blocks <64k will be low on the Perc cards.
when you say Sybase are you talking the SQL server product ? That should be using 8k block..
Also what system, bios and slot ? (anything sharing the bus with the perc ? )