Main: White Paper FAQ Examples JavaDoc Classloader Performance

Protomatter Syslog Performance

Nate Sammons - May, 2003
Covers Release 1.1.8

Performance Testing Tool
The PerformanceTest class includes a good performance testing rig for testing log policies, loggers, etc.

With 5 threads, a file logger with buffering turned on, running on a 650MHz PIII Coppermine Sony Vaio laptop running RedHat Linux 7.2, kernel 2.4.9, I saw these results:

 

With the Syslog.setComputeCaller() option set to true, the performance looks like this:

Interestingly, the IBM JDK deadlocked while trying to create new instances of java.lang.Throwable in rapid succession (either single-threaded or multi-threaded). Suffice it to say that the StackTraceUtil.whereAmI() method can be a very slow operation, though very useful for debugging.