Re: [tkined] Scotty CPU usage

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Wed, 25 Feb 1998 10:56:51 +0100

>>>>> Christopher Akritides writes:

Christopher> We're using scotty at my company and we have a question
Christopher> regarding CPU usage. One of our groups stripped scotty
Christopher> from everything but the essentials for SNMP requests and
Christopher> the CPU usage remained peculiarly high. Is scotty
Christopher> supposed to have poor performance, or do we actually have
Christopher> a problem? We are using AIX 3.2.5

If your scripts only use SNMP, than there is no point in removing the
other stuff except that you save a few bytes of virtual memory. The
question whether scotty has poor performance can not be answered
because:

a) Performance is a relative thing. Of course, coding in C usually
leads to faster programs. But you pay a high price in terms of
development time.

b) You have to specify what you are doing before one can argue about
good or bad performance. And you have to specify to which program
you compare it too.

c) The performance problem (if there is one) might as well be in
your scripts rather than the scotty package. Its difficult to
tell something about it without knowing what your scripts look
like.

d) You don't even tell us which Tcl version and which scotty version
you are using. There are huge differences, especially between Tcl
7.6 and Tcl 8.0.

I personally feel that the performance of scotty is pretty good.
Show me a script language with a similar powerful API which is
substantially faster and I will do my best to beat it, at least on
OSes I am familiar with. I don't know about AIX. ;-)

Juergen

-- 
Juergen Schoenwaelder  schoenw@ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw
Technical University Braunschweig, Dept. Operating Systems & Computer Networks
Bueltenweg 74/75, 38106 Braunschweig, Germany.        (Tel. +49 531 / 391 3283)
--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.