Subject | Re: [firebird-support] fb 2.1 on Windows: how to use more RAM? |
---|---|
Author | Stefan G. Weichinger |
Post date | 2010-08-27T12:21:07Z |
Am 27.08.2010 14:05, schrieb Doug Chamberlin:
maybe because overall data grows and grows ...
We just wonder why the database-server swaps out so much and if we might
change this behavior by configuring firebird.
That server doesn't do anything else ...
The database page cache
its RAM now, so the 8 gigs of the db-server should be fully in RAM as well.
Thanks for your feedback, Stefan
> You don't say what the actual problem is that you are facing. Is theThe app gets slower over time, maybe because it is written suboptimal,
> application too slow? Was it faster before? If so, what changed?
>
> What makes you think it is Firebird that is the cause?
maybe because overall data grows and grows ...
We just wonder why the database-server swaps out so much and if we might
change this behavior by configuring firebird.
That server doesn't do anything else ...
>> The firebird.conf was completely *default* as I looked at it.ok ...
>
> This is not at all unusual in the Firebird world. Many sites require
> no tuning.
>> Maybe the app itself is slow or buggy or something, sure, but whatok, we will try that.
>> can I do to tune firebird itself?
>>
>> I already increased DefaultDbCachePages from 75 to now 300 ...
>
> This change may or may not improve things. But so say there is unused
> RAM in the VM so maybe this value could be increased another 100.
> Try it.
> It seems you are running Firebird classic.Yes, I said so in an earlier mail in this thread.
The database page cache
> should be kept on the smaller side since it occurs for eachYep, I already understood that it applies to each single process.
> connection process, so DON'T think about increasing it to 2048 or
> so.
> Are you sure the VM is fully allocated the 8GB in actual RAM by theYep, we are. The host has 64 GB of RAM and is using about the half of
> host server?
its RAM now, so the 8 gigs of the db-server should be fully in RAM as well.
>> afai understand we have a pagesize of 16 MBAh, ok, my mistake.
>> (?).
>
> No, that might be 16KB but not 16MB. Page size is like sector/cluster
> size on a file system - the database is allocated and accessed via
> pages of this size.
Thanks for your feedback, Stefan