NCT Logo
Second Signal Logo
A Collection of Information and Ideas by Andrew Pollack

Happy Birthday, United States of America!

Site Links



Presentations & Technotes

Need Help? I'm Available.

If you need something weird built, something that's crashing to be made stable, something to work faster, or your stuff reviewed for security...

It's a great time to ask.

Followup - more test data with really interesting results By Andrew Pollack on 02/23/2004 at 01:35 PM EST

I modified the test (described here: http://www.thenorth.com/apblog2.nsf/0/816E292DD0A455E385256E3F0079C823 ) to try to make it resist things like random server performance changes due to whatever else the machine is doing. I've also tried to eliminate a few other variables.

The four tests were performed all at once. Each was performed 10 times, but not in order. A loop to 40 was created, and a modulus function was used to determine which test ran (e.g. if counter equaled 23, then 23/4 = 5 r3, so test 3 was run). The times listed are cumulative from all tens runs of each test. That should have mixed it up enough.

I've put the results in order. You'll notice that pipelined communication to the Domino server is clearly indicated over multiple concurrent communication. Within that, however, is the interesting result that even pipelined there is about a small advantage to having multiple Domino sessions. Personally, I think this is a terribly small advantage and in a servlet environment where the concurrency will not be quite so exact the contention should be lessened enough to make this negligible.

My own conclusion from this, is that based on the compromises of code simplicity, performance, and stability a single pipelined I/O queue thread as a static class should be the best way to handle all the Domino I/O for a single server. At some point I'll test multiple server access through the DIIOP thread.

The three machines are all running the same jvm (1.4) though the code is compiled as 1.3 compatible classes.

The single processor machine is my workstation, a cheap 1.7ghz Celeron with 1gb of RAM.

The "faster" of the two duals is a Dual P4 700mhz with 1gb of RAM, but its running a bunch of other stuff too. Also, that was the same machine as the Domino server, which tosses in some weird possibilities for contention but matches the real world case of where many java agents and servlets run.

The slower of the two duals is a Dual P-II 350mhz with 512megs of RAM running Windows NT (Yeah, yeah, but its still nice machine).


Single Processor Machine:

Test 2: 34,220ms. Pipelined, two sessions.
Test 1: 42,423ms. Pipelined, one session.
Test 4: 47,722ms. Threaded, two sessions.
Test 3: 53,765ms. Threaded, one session.

Dual Processor Machine, same machine as Domino:

Test 2: 37,596ms. Pipelined, two sessions.
Test 1: 40,155ms. Pipelined, one session.
Test 4: 51,767ms. Threaded, two sessions.
Test 3: 53,032ms. Threaded, one session.

Slower dual processor machine:

Test 2: 43,327ms. Pipelined, two sessions.
Test 1: 45,576ms. Pipelined, one session.
Test 3: 57,874ms. Threaded, one session.
Test 4: 67,298ms. Threaded, two sessions.
Add a Comment Show Comments ( - loading - ) Your Comments Most Recent Articles

  1. 07/04/2008A must watch video for CSS developers - Even if you don't use YUIMost of you know that by this time of day (7pm as I write this) I have the attention span of a gerbil on crack. That should add some weight to the recommendation I'm about to make. I just watched (most of) a 42 minute presentation on CSS that is geared toward jumpstarting the viewer on using the YUI tookit. The presentation is by the author of the CSS files themselves, and manages to include some fantastic background and detail about exactly how different browsers calculate fonts widths and scaling. By ...... 
  2. 07/04/2008Config driven CSS websites in Domino - What do you tokenize?I'm soliciting ideas & best practices on building configurable "theme like" CSS for a Domino site. I'm in the midst of a design refresh for this blog, as well as the main NCT site. They are both functional but truly ugly. I've decided to merge the two into a much more integrated self -- but more on that later. As part of the redesign work, I've been hand crafting a bit of HTML and CSS that will eventually become the framework into which all the active content will be placed. Every time I do this, I try to ...... 
  3. 07/03/2008Declaration of Independence - Take a minute or two, and read itWere it not for the events leading to, and following from this document; we in this part of the world would be speaking English, would be disliked by the French, and would...oh, heck, just read the thing. It's a great work.#dofi {xwidth:100%; color:black; margin:15px; padding:25px; background-image:url(/apblog4.nsf/0/0734560CA88260728525747C000F479F/$file/parchmnt.jpg) ; border:solid 1px black; #dofi p {INCONGRESS, JULY4, 1776A DECLARATIONBy theREPRESENTATIVESof theUNITED STATES OF AMERICA,INGENERAL ...... 
  4. 07/03/2008All your YouTube viewing history will now be available to ViacomAs if my post earlier today wasn't enough, here's some further emphasis. According to Wired, a judge has ordered Google to turn over its entire history of user viewing data to the media giant. The ruling is based in part on the idea that IP addresses which are tracked don't constitute sufficiently identifying information to be considered a privacy problem. IMHO this is a massive hypocrisy. If the data isn't revealing enough to be a privacy concern, then it has no value as a proof of violation and thus ...... 
  5. 07/03/2008Designer in Eclipse (Domino Designer 8.5 Beta) "Error creating new project" Dialog BoxIn Domino Designer 8.5 Beta 1, you may have seen this dialog box when attempting to view the design of a database: The "Project" it is referencing is an Eclipse project that is part of the Eclipse workspace. Your NSF database is being presented to the Eclipse framework as a project. The problem appears to be the result of already having a project with the same name. This happens if you already have used Designer in Eclipse to look at the design of a database with the same name on another server. To resolve ...... 
  6. 07/03/2008George Orwell would have been so proud 
  7. 07/03/2008Bush Administration ends up supporting the Internet Porn industry 
  8. 07/02/2008Extremely frustrating problem with Domino Directory "Global Domain" document - Causes you to waste hours looking for the problem 
  9. 07/02/2008XPages: Is this a show stopper for you? 
  10. 07/02/2008XPages in Beta 1 -- Not done enough yet for me to use in production 
  11. 07/02/2008Killing Spree! 
  12. 07/01/2008DAOS (Attachements stored outside the NSF in a pool) after 1 week - The Vedict 
  13. 06/30/2008Mixing @Formulas and Lotusscript on Web Pages?  
  14. 06/29/2008Free the Bookmarks! (or "What we should learn from the OSS movement") 
  15. 06/29/2008Wanted: Guest Bloggers - Looking for a few good lurkers willing to try their hand at one or two brief stories 
  16. 06/29/2008Nearly 5 years of blogging -- with comments -- as a wordle 
  17. 06/27/2008I'm thinking about packaging up some services around security, court ordered mail search compliance, and performance. 
  18. 06/26/2008Gab & Tim go on a fire call! A short story in pictures... 
  19. 06/25/2008What is the root of your application? 
  20. 06/24/2008Meta-Blogging: What can be learned from watching Planet Lotus hit counters 
Click here for more articles.....