From owner-freebsd-stable@FreeBSD.ORG Sat Mar 20 02:06:54 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4B25106564A; Sat, 20 Mar 2010 02:06:54 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost0.waddell.com (mailhost0.waddell.com [12.154.38.61]) by mx1.freebsd.org (Postfix) with ESMTP id 8442D8FC0C; Sat, 20 Mar 2010 02:06:54 +0000 (UTC) Received: from emlpfilt2.waddell.com (emlpfilt2.waddell.com [10.1.10.30]) by mailhost0.waddell.com (Postfix) with ESMTP id CBEF226362D; Fri, 19 Mar 2010 20:47:27 -0500 (CDT) Received: from emlpfilt2.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 7D21D2F8002; Fri, 19 Mar 2010 20:49:35 -0500 (CDT) Received: from advpexv0.wradvisors.com (advpexb1.wradvisors.com [192.168.203.21]) by emlpfilt2.waddell.com (Postfix) with ESMTP id 74DF42F8001; Fri, 19 Mar 2010 20:49:35 -0500 (CDT) Received: from ADVPHTCAS0.wradvisors.com ([192.168.203.228]) by advpexv0.wradvisors.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 19 Mar 2010 20:49:35 -0500 Received: from WADPMBXV0.waddell.com ([169.254.1.205]) by ADVPHTCAS0.wradvisors.com ([192.168.203.228]) with mapi; Fri, 19 Mar 2010 20:49:34 -0500 From: Gary Gatten To: "'dan.naumov@gmail.com'" , "'freebsd-net@freebsd.org'" , "'freebsd-questions@freebsd.org'" , "'freebsd-stable@freebsd.org'" , "'freebsd-performance@freebsd.org'" Date: Fri, 19 Mar 2010 20:49:34 -0500 Thread-Topic: Samba read speed performance tuning Thread-Index: AcrHzOlSisOlux8WQhGh78s4+fcm6AAAq4gk Message-ID: <30209_1269049775_4BA429AF_30209_895_1_D9B37353831173459FDAA836D3B434994A334315@WADPMBXV0.waddell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginalArrivalTime: 20 Mar 2010 01:49:35.0203 (UTC) FILETIME=[97C6DB30:01CAC7CF] Cc: Subject: Re: Samba read speed performance tuning X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2010 02:06:55 -0000 SXQgTUFZIG1ha2UgYSBiaWcgZGlmZiwgYnV0IG1ha2Ugc3VyZSBkdXJpbmcgeW91ciB0ZXN0cyB5 b3UgdXNlIHVuaXF1ZSBmaWxlcyBvciBmbHVzaCB0aGUgY2FjaGUgb3IgeW91J2xsIG1lIHRlc3Rp bmcgY2FjaGUgc3BlZWQgYW5kIG5vdCBkaXNrIHNwZWVkLg0KDQotLS0tLSBPcmlnaW5hbCBNZXNz YWdlIC0tLS0tDQpGcm9tOiBvd25lci1mcmVlYnNkLXF1ZXN0aW9uc0BmcmVlYnNkLm9yZyA8b3du ZXItZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc+DQpUbzogZnJlZWJzZC1uZXRAZnJlZWJz ZC5vcmcgPGZyZWVic2QtbmV0QGZyZWVic2Qub3JnPjsgZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJz ZC5vcmcgPGZyZWVic2QtcXVlc3Rpb25zQGZyZWVic2Qub3JnPjsgRnJlZUJTRC1TVEFCTEUgTWFp bGluZyBMaXN0IDxmcmVlYnNkLXN0YWJsZUBmcmVlYnNkLm9yZz47IGZyZWVic2QtcGVyZm9ybWFu Y2VAZnJlZWJzZC5vcmcgPGZyZWVic2QtcGVyZm9ybWFuY2VAZnJlZWJzZC5vcmc+DQpTZW50OiBG cmkgTWFyIDE5IDIwOjI4OjAyIDIwMTAK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