Firebird SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesFirebird SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 20th, 2004, 02:32 PM
ksaul ksaul is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 2 ksaul User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Firebird and RAID

We have a third party Java application running against a Firebird DB and we are running into an interesting problem. If we run this application on a server with RAID 1 (SCSI or IDE) the application performs very slow and the system never uses more than 8-10% of the CPU. If the application is run without RAID it is extremely fast and will use 100% CPU.

Anybody have any thoughts?

Reply With Quote
  #2  
Old August 23rd, 2004, 03:30 AM
mariuz's Avatar
mariuz mariuz is offline
Bug Hunter
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Transylvania (Romania)
Posts: 274 mariuz User rank is Corporal (100 - 500 Reputation Level)mariuz User rank is Corporal (100 - 500 Reputation Level)mariuz User rank is Corporal (100 - 500 Reputation Level)mariuz User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 20 h 12 m 34 sec
Reputation Power: 9
Lightbulb

Quote:
Originally Posted by ksaul
We have a third party Java application running against a Firebird DB and we are running into an interesting problem. If we run this application on a server with RAID 1 (SCSI or IDE) the application performs very slow and the system never uses more than 8-10% of the CPU. If the application is run without RAID it is extremely fast and will use 100% CPU.

Anybody have any thoughts?


Maybe is related to write performance on raid 1
Quote:
Write performance is slightly worse than on a single device, because identical copies of the data written must be sent to every disk in the array. The write is not complete until all disk writes are finished. Reading may be faster than without RAID-1, depending on the read-balancing strategy that is implemented. We did not benchmark our RAID setups. We are using RAID to provide data redundancy, not to improve disk performance.

http://www.linuxjournal.com/article.php?sid=5653

ps : how can we reproduce this ? maybe doing some inserts on a raid 1 partition then on a single drive ?
__________________
My home page: http://www.firebirdsql.org and work place :http://www.reea.net

Reply With Quote
  #3  
Old August 23rd, 2004, 01:33 PM
ksaul ksaul is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 2 ksaul User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for your thoughts. We decided to check out RAID 0 and it has the same problems on both SCSI320 and IDE hardware based RAID.

In terms of disk read/write delay, I am leaning away from that path. With HW RAID our form takes 40 seconds to load, without RAID it takes 8. This morning we tested W2K software RAID there is no problem.

Our SCSI testbed is a Compaq DL360 XEON 2.8Ghz, 1Gb RAM, Ultra320 SCSI; IDE is a custom 4U P4 3.06Ghz, 1Gb RAM, 3Ware IDE.

We run other applications (non Java) on the same boxes against significantly larger Firebird db's and do not have any performance problems.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > Firebird and RAID


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT