From owner-freebsd-stable@FreeBSD.ORG Mon Oct 12 06:10:42 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EF02106568F for ; Mon, 12 Oct 2009 06:10:42 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by mx1.freebsd.org (Postfix) with ESMTP id 91A998FC12 for ; Mon, 12 Oct 2009 06:10:41 +0000 (UTC) Received: by ewy18 with SMTP id 18so2577408ewy.43 for ; Sun, 11 Oct 2009 23:10:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:to:cc:subject:references :organization:from:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=nMQ1Yvhfrs4F86SohPKDnrblQtNywB8UnLKdwEsfG68=; b=CIQ9/W/d6200m8knZP4+s/BlgZcLI4KO9Ug3erTgJ0RJMIRRjv2PXVXCHdgZqDFq2O wcYm1VjQ1xQFZVt7Hh275cy8HfLFNGUKC4TMyUC/oSUFyFIk8g67+Rne+Hyr90fMgPar f9U+Ovmzb+teAIBd0V4HxhYY6s63/4gZ6GqZ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:cc:subject:references:organization:from:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=xFMJIZEmNAPox2KS44eV0HeezoqXuSYl6D+7fBopWyUmVIC/HNdPI3vZmmw68BxU9H kfnWzxO/fkVtFcR0pZfzSGPAJSdh1STHoqAlIZGsT8Stbrj8oK7vO51XaNz17xr0CYAp 32rC09+AGv3673JlmN9/gZmW5sVmB3tj1/gvw= Received: by 10.210.9.7 with SMTP id 7mr6606067ebi.5.1255326563591; Sun, 11 Oct 2009 22:49:23 -0700 (PDT) Received: from localhost (ms.singlescrowd.net [80.85.90.67]) by mx.google.com with ESMTPS id 10sm936683eyd.30.2009.10.11.22.49.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 11 Oct 2009 22:49:22 -0700 (PDT) To: Ed Schouten References: <20091011201715.GY71731@hoeg.nl> Organization: TOA Ukraine From: Mikolaj Golub Date: Mon, 12 Oct 2009 08:49:20 +0300 In-Reply-To: <20091011201715.GY71731@hoeg.nl> (Ed Schouten's message of "Sun\, 11 Oct 2009 22\:17\:15 +0200") Message-ID: <81k4z1p3fj.fsf@zhuzha.ua1> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: stable@FreeBSD.org Subject: Re: can't change tty speed and buffer size on 8.0 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: Mon, 12 Oct 2009 06:10:42 -0000 On Sun, 11 Oct 2009 22:17:15 +0200 Ed Schouten wrote: > Hello Mikolaj, > > It is indeed true that the new TTY layer restricts the baud rate to > 9600. We could consider clamping the baud rate between a certain range, > to prevent the TTY buffer size from growing excessively. > > So what kind of buffer size are you interested in? Would 115200 / 5 be > enough? I have reviewed my logs for the last period and the line with maximum length I have found was 6521 characters. And if I filter only those lines that I am usually interested in then the maximum lenght has been 3288. So 115200/5=23040 would be more then enough for me :-) Thanks, -- Mikolaj Golub