Subject Re: Please help me out in tuning out our Firebird server.
Author
The question is too broad , can you check/trace what queries are run that trigger that high cpu on the server side (maybe is garbage collection that is triggered )

Also for variables there are many articles how to tune them 

Try to take them one by one and check what they really do