Avoid LCR-Stalling

Konrad Meier meierk at informatik.uni-freiburg.de
Thu Aug 12 15:34:40 UTC 2010


Am 11.08.2010 19:49, schrieb Holger Hans Peter Freyther:
> In src/bsc_hack.c we are scheduling to sync the "Counters" every 60 seconds
> you might want to increase the define as a hacky workaround.
>
>

OK now i understand what the aim of the table "Counters" is.

>
> It would be very nice to have a histogram of which functions block, is it
> everything, just one query or really the write?
>

Today I did some time measurements in the db.c (Debug log attached).

I think the problem is that that the insert-query of the counter values 
are blocking the program.

Regards
  Konrad

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: db.c time.txt
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20100812/8da45a1c/attachment.txt>


More information about the OpenBSC mailing list