Return-Path: X-Original-To: apmail-trafficserver-users-archive@www.apache.org Delivered-To: apmail-trafficserver-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BB25F8BD9 for ; Mon, 22 Aug 2011 09:48:00 +0000 (UTC) Received: (qmail 8854 invoked by uid 500); 22 Aug 2011 09:47:57 -0000 Delivered-To: apmail-trafficserver-users-archive@trafficserver.apache.org Received: (qmail 8725 invoked by uid 500); 22 Aug 2011 09:47:51 -0000 Mailing-List: contact users-help@trafficserver.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@trafficserver.apache.org Delivered-To: mailing list users@trafficserver.apache.org Received: (qmail 8706 invoked by uid 99); 22 Aug 2011 09:47:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2011 09:47:49 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shannowx@gmail.com designates 209.85.210.172 as permitted sender) Received: from [209.85.210.172] (HELO mail-iy0-f172.google.com) (209.85.210.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2011 09:47:41 +0000 Received: by iye7 with SMTP id 7so11645051iye.31 for ; Mon, 22 Aug 2011 02:47:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=d46cn6Es+MraAF3Iqc8R2F785U6P8jt2wMR+xocbaZ8=; b=LklcnR5h4GQDH+MxewdZsNlG/Fi/rKvplQloFWjcZ2HSaoDbXZHnKM5XdOzlQI1eXa TjeUh5YpHfzCmMC/i+DvKO2x5Nt1JtNJpqvjZYVu8HXfv0wGCwWuVDnVaGwp/ULUu/er icIxlQ5AhDVJFUi1W7jhEj1uqf23rih9p7/G0= MIME-Version: 1.0 Received: by 10.231.20.136 with SMTP id f8mr5377905ibb.32.1314006420787; Mon, 22 Aug 2011 02:47:00 -0700 (PDT) Received: by 10.231.208.8 with HTTP; Mon, 22 Aug 2011 02:47:00 -0700 (PDT) In-Reply-To: References: Date: Mon, 22 Aug 2011 10:47:00 +0100 Message-ID: Subject: Re: HTTP responses slower after first attempt From: Chris Reynolds To: dev@trafficserver.apache.org, users@trafficserver.apache.org, Chris Reynolds Content-Type: multipart/alternative; boundary=0015176f03d4f1905104ab14f5db X-Virus-Checked: Checked by ClamAV on apache.org --0015176f03d4f1905104ab14f5db Content-Type: text/plain; charset=ISO-8859-1 Hi, I have managed to resolve this problem. If the proxy.config.http.share_server_sessions config value is set to 0 then this problem does not occur - the default is 1. When running performance tests I was using the same server. Is this a bug? I would have thought that sharing server sessions would make the performance faster not slower. Chris Reynolds. On 22 August 2011 09:48, Chris Reynolds wrote: > Hi, > > I am performing some basic performance tests with Traffic Server with and > without a plugin I have written. I have noticed that if you download > (without any plugin enabled) a file then download another file that the > second download is a lot slower that the first one - over 10 times as slow. > If you then wait for about 10-20 seconds it is back to the original speed. > > For example downloading an 8MB file using wget takes about 0.09s, but > downloading the same or another 8 MB file on the same server again it is > 1.3s. If I bypass the proxy then the files always downloads at about 0.07s. > > This seems to be affecting the overall performance of Traffic Server. Note > I am using version 3.0.0 with no caching enabled. > > Has any one got any ideas? > > Thank-you, > > Chris Reynolds. > > > --0015176f03d4f1905104ab14f5db Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

I have managed to resolve this problem. If the proxy= .config.http.share_server_sessions config value is set to 0 then this probl= em does not occur - the default is 1. When running performance tests I was = using the same server.

Is this a bug? I would have thought that sharing server= sessions would make the performance faster not slower.

Chris Reynolds.

On 22 August 2011 0= 9:48, Chris Reynolds <shannowx@gmail.com> wrote:
Hi,

I am performing some= basic performance tests with Traffic Server with and without a plugin I ha= ve written. I have noticed that if you download (without any plugin enabled= ) a file then download another file that the second download is a lot slowe= r that the first one - over 10 times as slow. If you then wait for about 10= -20 seconds it is back to the original speed.

For example downloading an 8MB file using wget takes ab= out 0.09s, but downloading the same or another 8 MB file on the same server= again it is 1.3s. If I bypass the proxy then the files always downloads at= about 0.07s.

This seems to be affecting the=A0overall=A0performance = of Traffic Server. Note I am using version 3.0.0 with no caching enabled.

Has any one got any ideas?

Thank-you,

Chris Reynolds.=



--0015176f03d4f1905104ab14f5db--