public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Joe deBlaquiere <jadb@redhat.com>
To: Alex Belits <abelits@phobos.illtel.denver.co.us>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Serial device with very large buffer
Date: Thu, 01 Feb 2001 22:56:52 -0600	[thread overview]
Message-ID: <3A7A3E14.1010300@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.10.10102011546290.948-100000@mercury>

Hi Alex!

	I'm a little confused here... why are we overrunning? This thing is 
running externally at 19200 at best, even if it does all come in as a 
packet. I would think the flip buffer would never contain more than a 
few characters. Are you running it at a higher rate internally? Does it 
buffer up a whole packet if you do this?

Wouldn't it be a little easier to drop somthing like "AT#MRU=500\r" to 
the modem than to change the tty driver?

-- 
Joe

Alex Belits wrote:

> On Thu, 1 Feb 2001, Alan Cox wrote:
> 
> 
>>>   I also propose to increase the size of flip buffer to 640 bytes (so the
>>> flipping won't occur every time in the middle of the full buffer), however
>>> I understand that it's a rather drastic change for such a simple goal, and
>>> not everyone will agree that it's worth the trouble:
>> 
>> Going to a 1K flip buffer would make sense IMHO for high speed devices too
> 
> 
> 1K flip buffer makes the tty_struct exceed 4096 bytes, and I don't think,
> it's a good idea to change the allocation mechanism for it.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2001-02-02  4:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-01 23:20 Serial device with very large buffer Alex Belits
2001-02-01 23:45 ` Alan Cox
2001-02-01 23:50   ` Alex Belits
2001-02-02  4:56     ` Joe deBlaquiere [this message]
2001-02-02  5:22       ` Alex Belits
2001-02-02  5:45         ` Joe deBlaquiere
2001-02-02  6:43           ` Alex Belits
2001-02-09 19:12   ` Pavel Machek
2001-02-12  7:03     ` Alex Belits
  -- strict thread matches above, loose matches on Subject: below --
2001-02-02  5:28 Garst R. Reese

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A7A3E14.1010300@redhat.com \
    --to=jadb@redhat.com \
    --cc=abelits@phobos.illtel.denver.co.us \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox