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 E197A997E for ; Tue, 24 Apr 2012 18:07:47 +0000 (UTC) Received: (qmail 62873 invoked by uid 500); 24 Apr 2012 18:07:47 -0000 Delivered-To: apmail-trafficserver-users-archive@trafficserver.apache.org Received: (qmail 62708 invoked by uid 500); 24 Apr 2012 18:07:47 -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 62680 invoked by uid 99); 24 Apr 2012 18:07:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2012 18:07:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jplevyak@gmail.com designates 209.85.214.42 as permitted sender) Received: from [209.85.214.42] (HELO mail-bk0-f42.google.com) (209.85.214.42) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2012 18:07:39 +0000 Received: by bkcje9 with SMTP id je9so846207bkc.29 for ; Tue, 24 Apr 2012 11:07:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=7QH8uwJZtPP4v6kSmopszfO58UzYOtqOg1u8cENgugU=; b=D1cYTmkroFwbA2BTXdhS++rQ7HrhNMgI5v6aNTmfoCeEPczytpXzdUVUd+Xw0EmfLW DP37jpbsVIZZOUA5i8hEJpvLGXJVLxxqr68wqQToTJZ8UNGdGeR6DBTd5LeBWjqVZDdv ly3XxHEllGg2LEeSVLnDwUhPD3sRrR5KGY/v+Px94AguDbs9LtQPMxXecguRXM5Gd6EW vku0Xto0HHiZsyvp7A2rnQIZJ9ws6fJbhVMyGgVMK2eteek7ei1TQGfZ0yXBBZV+31PV SwWAesYWbB/PzUM7X3zb5bb1mqEtvvHeDAPSjc9X9GmVDRAAwsSni9BgAeoThyhp4gRE VNVw== MIME-Version: 1.0 Received: by 10.204.9.195 with SMTP id m3mr7016707bkm.78.1335290838391; Tue, 24 Apr 2012 11:07:18 -0700 (PDT) Received: by 10.204.78.79 with HTTP; Tue, 24 Apr 2012 11:07:18 -0700 (PDT) In-Reply-To: <4F9636AD.3030208@apache.org> References: <1335221727.37747.YahooMailNeo@web31806.mail.mud.yahoo.com> <1335233072.24851.16.camel@taorui-ThinkPad-X201> <4F9636AD.3030208@apache.org> Date: Tue, 24 Apr 2012 11:07:18 -0700 Message-ID: Subject: Re: any sort of 32bit limitation preventing large file caches? From: John Plevyak To: users@trafficserver.apache.org Content-Type: multipart/alternative; boundary=0015175cd8be1819aa04be70a0dc X-Virus-Checked: Checked by ClamAV on apache.org --0015175cd8be1819aa04be70a0dc Content-Type: text/plain; charset=ISO-8859-1 Yes, you could increase that, up to closer to ~4MB (AGG_SIZE - sizeof_DOC) That would give you up to 20GB files. Certainly, we could bump up AGG_SIZE, although tying up the disk with large writes might impact read latency to some extent. We could make AGG_SIZE 8MB for example which at 100MB/sec transfer rate is going to eat up ~80msec at the disk. john On Mon, Apr 23, 2012 at 10:14 PM, Leif Hedstrom wrote: > On 4/23/12 9:42 PM, John Plevyak wrote: > >> >> Humm... it would be easy to enlarge the aggregation buffer or disable the >> fragment offsets in the header. The former is probably the most powerful >> solution since if you are serving huge documents, you probably want the >> ability to restart/seek and likely also have significant memory on a per >> disk basis. We could make it configurable. >> >> > Is this something we should add for v3.1.4 / v3.2? > > Also, does increasing the fragment size change any of this ? Perhaps not > an ideal solution, but, we still haven't fixed TS-475 anyways so can't > position / seek afaik ? > > -- Leif > > CONFIG proxy.config.cache.target_**fragment_size INT 1048576 > --0015175cd8be1819aa04be70a0dc Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

Yes, you co= uld increase that, up to closer to ~4MB (AGG_SIZE - sizeof_DOC) =A0That wou= ld give you up to 20GB files. =A0Certainly, we could bump up AGG_SIZE, alth= ough tying up the disk with large writes might impact read latency to some = extent. =A0 =A0We could make AGG_SIZE 8MB for example which at 100MB/sec tr= ansfer rate is going to eat up ~80msec at the disk.

john =A0



=
On Mon, Apr 23, 2012 at 10:14 PM, Leif Hedstrom = <zwoop@apache.org> wrote:
On 4/23/12 9:42 PM, John P= levyak wrote:

Humm... it would be easy to enlarge the aggregation buffer or disable the f= ragment offsets in the header. =A0 The former is probably the most powerful= solution since if you are serving huge documents, you probably want the ab= ility to restart/seek and likely also have significant memory on a per disk= basis. =A0 We could make it configurable.


Is this something we should add for v3.1.4 / v3.2?

Also, does increasing the fragment size change any of this ? Perhaps not an= ideal solution, but, we still haven't fixed TS-475 anyways so can'= t position / seek afaik ?

-- Leif

CONFIG proxy.config.cache.target_fragment_size INT 1048576

--0015175cd8be1819aa04be70a0dc--