From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=AWL,DNS_FROM_RFC_BOGUSMX autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 58309BC6B for ; Tue, 12 Feb 2008 01:43:27 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FAJ96sEfQOfEbaWdsb2JhbACBWYdThxALCgInmgs X-IronPort-AV: E=Sophos;i="4.25,335,1199660400"; d="scan'208";a="22510511" Received: from lgb-static-208.57.241.27.mpowercom.net (HELO sanddune.1969web.com) ([208.57.241.27]) by mail4-smtp-sop.national.inria.fr with ESMTP; 12 Feb 2008 01:43:29 +0100 Received: from [10.3.2.21] (zilles.1969web.com [10.3.2.21]) by sanddune.1969web.com (Postfix) with ESMTP id 74C27BAD485; Mon, 11 Feb 2008 16:43:24 -0800 (PST) Message-ID: <47B0EBA9.7000200@1969web.com> Date: Mon, 11 Feb 2008 16:43:21 -0800 From: Karl Zilles User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Andre Nathan Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Nethttpd_plex performance question References: <1202775620.5316.7.camel@homesick> In-Reply-To: <1202775620.5316.7.camel@homesick> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; ocamlnet:01 model:01 plex:98 nathan:98 plex:98 wrote:01 caml-list:01 static:03 benchmark:04 processors:04 examples:07 examples:07 uses:07 odd:09 i'm:09 Andre Nathan wrote: > I'm trying to write a simple webserver using Nethttpd_plex from the > ocamlnet package. I did a simple benchmark using the examples provided > in the distribution (easy_daemon.ml and netplex.ml). Both examples > create static pages, but the netplex version shows worse performance, > which I think is odd because it uses a multi-process model, while > easy_damon is a single process handling all requests. How many processors does the machine that you're testing on have?