[Xastir] Please....

Curt, WE7U archer at eskimo.com
Wed Jan 12 15:20:51 EST 2005


On Wed, 12 Jan 2005, Curt, WE7U wrote:

> On Wed, 12 Jan 2005, ke4lkq wrote:
>
> > What do I need to do to help you programmers run down the cpu issues I have
> > with Xastir....
> > Just checked and Xastir was using 86% at 30 sec average as reported by TOP.
> > This has been going on now for some time and I need to pay attention and
> > learn how to find the (problem?)
>
> You bet.  I'm not seeing that sort of problem, and am hooked to a
> full firenet feed here.  See the INSTALL file, near the ned, the
> section titled "NOTES FOR DEVELOPERS":.  The first section there is
> on profiling, which will allow you to build a text file showing what
> routines were called, how often, and how much time each one took.
> Armed with that info you can beat the developers about the head.

A quick run here on a full firenet feed with weather alerts turned
on gives me the below.  I only included the top partof the listing,
down to 0.5% CPU usage.  There are plenty more below that, but of
course the heavy-hitters are at the top.  The numbers settle down
more with longer runtimes, but this should give a quick idea as to
what to look at first.  It appears to me that weather alerts are
causing some slowdowns 'cuz we have a number of alerts coming across
right now.  The next heavy-hitter would would be the dbfawk stuff.

Note that I wasn't doing any map operations other than the weather
alerts for this run.

--
Curt, WE7U.   APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"


Flat profile:

Each sample counts as 0.01 seconds.
  %   cumulative   self              self     total
 time   seconds   seconds    calls   s/call   s/call  name
 25.80     30.96    30.96    59512     0.00     0.00  alert_match
 20.32     55.34    24.38 23910275     0.00     0.00  awk_eval_expr
  9.18     66.35    11.01 59433665     0.00     0.00  awk_find_sym
  8.35     76.37    10.02  3278576     0.00     0.00  awk_exec_program
  4.59     81.88     5.51  4842546     0.00     0.00  awk_exec_action
  4.30     87.04     5.16     1095     0.00     0.00  index_update_accessed
  3.78     91.57     4.53 20446671     0.00     0.00  normal_title
  2.76     94.88     3.31  1563820     0.00     0.00  dbfawk_parse_record
  1.57     96.76     1.88  1203079     0.00     0.00  is_my_call
  1.51     98.57     1.81                             UpdateTime
  1.25    100.07     1.50  4991408     0.00     0.00  awk_get_sym
  1.19    101.50     1.43                             draw_shapefile_map
  1.09    102.81     1.31    16135     0.00     0.00  data_add
  1.05    104.07     1.26    16860     0.00     0.00  search_station_name
  0.91    105.16     1.09       73     0.01     0.03  display_file
  0.73    106.03     0.87    28094     0.00     0.00  convert_lat_s2l
  0.62    106.77     0.74    43504     0.00     0.00  display_station
  0.52    107.39     0.62    76362     0.00     0.00  symbol
  0.50    107.99     0.60    45436     0.00     0.00  draw_symbol




More information about the Xastir mailing list