[asterisk-dev] How to improve astdb? Any ideas?

Stefan Schmidt sst at sil.at
Mon Sep 6 09:38:57 CDT 2010


Am 06.09.2010 14:09, schrieb Tzafrir Cohen:
> On Sun, Sep 05, 2010 at 08:32:03PM +0200, Stefan Schmidt wrote:
>> Hello list,
>>
>> in my test scenario i have seen that astdb could be a problem in a heavy
>> loaded system (for example 2000 sip peers). Atleast the real problem is
>> the astdb->sync which is called on every astdb_put/delete or deltree call.
>>
>> the problem is that syncing the astdb to the disk will needs minimum 2ms
>> and up to 40 ms with an big amount of entries in the database. In this
>> time no incoming package is read so this will cause some really bad
>> things to the system like every peer get unreachable.
> 
> What kernel do you use? What filesystem?
> 
hello tzafir,

on my testsystem which i use for this time compares i have debian lenny
running with kernel 2.6.26-2-amd64 and ext3 filesystem. there are 2
harddisks in a Hardware Raid 1.

best regards

steve



More information about the asterisk-dev mailing list