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 April 6th, 2006, 03:26 AM
manuelw manuelw is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2006
Posts: 2 manuelw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 24 m 27 sec
Reputation Power: 0
Firebird performance question

Hi all,

This probably is a stupid question, but I have not yet figured it out, so hopefully somebody can enlighten me...

We have a firebird server running on a Dual Xeon (2Ghz) machine with 2GB RAM and a Sata Raid 5 Array for the database storage under Win 2K3 Server OS. So the machine is pretty well scaled for our needs. The CPUs are Hyperthreaded, so I have 4 virtual CPUs available. The FB Server (Superserver) is configured in the firebird.conf with CpuAffinityMask = 14, so I use 3 of the 4 processors for the FB Server mainly.

Now, my problem is that (although I find the overall performance of the system OK), I think it could do more if FB would only make use of the RAM available. The main database file I have has approx 2GB on disk and in complicated queries there is lots of disk activity and average CPU activity mainly on 2 CPUs. Also the memory footprint in RAM of FB is never more than 100MB, no matter how complicated the query...

So how do I make FB use the RAM available, like e.g. keeping part of the DB in Memory to process faster?

I read the article about correlation of page size, disk block site etc. and find it worthwhile considering to improve the performance from disk; yet, that still will not change that I have 70% of my RAM idle

Any ideas anyone?

Thanks much, Manuel.

Reply With Quote
  #2  
Old April 6th, 2006, 03:40 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,925 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 3 Weeks 3 Days 20 h 9 m 23 sec
Reputation Power: 279
AFAIK Firebird SuperServer should be pinned to one CPU.
Switch to Classic Server to take advantage of multiple CPUs.

Reply With Quote
  #3  
Old April 10th, 2006, 10:16 AM
manuelw manuelw is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2006
Posts: 2 manuelw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 24 m 27 sec
Reputation Power: 0
Hi pabloj,

Quote:
Originally Posted by pabloj
AFAIK Firebird SuperServer should be pinned to one CPU.
Switch to Classic Server to take advantage of multiple CPUs.


Well, I am aware of that as well and have tried it. I did find an overall better performance running the superserver bound to 3 CPUs. Yet, the CPU binding does not really do anything to the used memory, which IMHO should have a considerable effect on performance

Thanks anyway on the hint.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > Firebird performance question


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 2 hosted by Hostway
Stay green...Green IT