Subject | Re: Best OS tu use with Firebird ?? |
---|---|
Author | diegodelafuente |
Post date | 2006-06-07T18:04:18Z |
I will try to change to Classic Server
--- In firebird-support@yahoogroups.com, "Nigel Weeks" <nweeks@...>
wrote:
--- In firebird-support@yahoogroups.com, "Nigel Weeks" <nweeks@...>
wrote:
>using ext
>
> > I have a Red Hat v9 2.4kernel with Fb 1.5 Superserver. I´am
> > 3 for the Partition Type.and 2
> > 100 users use thist Server to access a single Database.
> > The Server Hardware is an IBM Server Series 206, with 3GB Ram
> > disks in Raid 1.it, and
>
> > Is this OS the best choice for my equipment ?
>
> Unix is always a better choice if you've got support people for
> management/your boss lets you use it.have
> Windows has poor SMP support, and requires process affinity if you
> multiple CPU's to overcome scheduler inadequacies(processshuffling between
> unloaded CPU's) when dealing with small numbers of highly CPUhungry
> processes(SuperServer).Ram ?
>
> > Does Fb runs better with a Server 2003 and NTFS ?
> It will run slower than a decent unix
>
> > Does Fb Clasic Server run s better for 100 users with 3Gb of
>for quick
> It depends on what your application does, and how it's used.
>
> SuperServer has a large central cache where record sets are stored
> access by the same query run at a later stage. It lends itselfstrongly to
> applications where the same information is requested veryfrequently, as
> cache hits are faster than going down to disk, and pulling records.short,
> SS, therefore, it great for OLTP (On-Line Transaction Processing) -
> simple transactions and queries.model
> On the other hand, SuperServer is a single-process, multi-threaded
> server(and can thusly only use one CPU), and while allarchitectures of
> Firebird have exclusive "serialized" sections where only oneoperation can
> occur at a time(new page request, etc), SuperServer has thetendency to
> stall other transactions/operations if a large, complex query isperformed.
> Rest assured, the other operations will be performed, but theirrequests
> will be serialized, and done one after the other. Therefore, ifit's deep
> reporting you're after, SuperServer might not be the ideal choice.do
>
> Classic Server has a cache inside every process that's launched to
> database operations (one process per connection). If theseconnections are
> re-used(persistent connections), the caches can result in veryhigh speed
> operation - at the expense of ram. On most OS's, each process hasit's own
> executable space in memory, then it's data space, which swells tocontain
> it's cache space, and can get large if persistent connectionsaren't closed
> regularly.many CPU's
> On the other hand, Classic will scale enormously. It will use as
> as you can throw at it, and allow massive amounts of operations tobe
> performed simultaneously. Some sections of some operations arestill
> serialised, as Firebird needs to keep track of new/deleted pages,etc, but
> it hammers along.users,
> Deep, complex reports can be performed with little impact on other
> especially if you're using SMP hardware. Very stong for OLAP (On-Line
> Analysis/Analytics Processing).two "Ideal
>
> So, in a nutshell, there is no one "Ideal Solution". There are
> Solutions" - perfectly tuned and tailored to your needs.operations
> Super Server:
> Ram Usage: Low, with large central cache
> Simple Query Speed: Amazing if it can pull from the cache
> Doesn't like: Long, complex queries(Causes a pause on other
> until complete)windows box,
> SMP suitablilty: Poor. If allowed to swap between CPU's on a
> it'll run like a dog, and can only use one CPU at the best of timesaquisition, logging,
> Ideal Uses: Web Content Management, POS systems, data
> network traffic logging/recordingaren't
>
> Classic Server:
> Ram Usage: Medium to High, especially if persistent connections
> recycledgreat
> Simple Query Speed: Amazing if persistent connections are used,
> otherwisecaches can
> Doesn't like: Not so thrifty with ram, and having multiple
> result in cache misses, meaning records will be pulled from diskif the
> result is not in this process's cachesystems,
> SMP Suitability: Brilliant. Scales almost linearly across CPU's
> Ideal Uses: accounting systems, CRM, ERP, logistics/transport
> deep reporting systems.experience
>
> Two ideal solutions, depending on your needs.
>
>
> > Another Question.
> > How can I check if The Raid Card is apropiate for my workload ?
> > Can I see some statictis or something else ? I have not
> > with Linux.
>
> On FreeBSD, I can do a `systat -iostat 1`, and see the load on disk
> subsystems. There should be a similar tool on Linux.
>
> N.
>