From: Bill Davidsen <davidsen@tmr.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel@vger.kernel.org, rmk+kernel@arm.linux.org.uk
Subject: Re: HZ != 1000 causes problem with serial device shown by git-bisect
Date: Wed, 29 Mar 2006 12:31:27 -0500 [thread overview]
Message-ID: <442AC46F.2060107@tmr.com> (raw)
In-Reply-To: <1143555233.17522.23.camel@localhost.localdomain>
Alan Cox wrote:
> On Llu, 2006-03-27 at 18:46 -0500, Greg Lee wrote:
>> I am having a problem when using PPP over a particular PCMCIA based serial device and have
>> pinned the problem down using git-bisect to this particular commit that was made between
>> 2.6.12.6 and 2.6.13:
>
> That would make sense.
>
>> I have also tried a number of other kernels and the problem exists all the way to 2.6.15.6
>> but is fixed in 2.6.16, so I am going to git-bisect 2.6.15.6 to 2.6.16, but I thought I
>> would get this message out now in case someone has an inkling of what the problem is.
>
> I think I can tell you fairly accurately if you are running fairly high
> data rates.
>
> The old pre 2.6.16 tty code works something like this
>
> Each serial IRQ
> add chars to buffer if they fit
>
> Each timer IRQ
> switch buffers
> process original buffer
>
>
> So the higher HZ is the faster data speed you can do. With very high
> data rates lower HZ means more dropped characters.
>
> 2.6.16 implements the new tty layer which replaces this with a proper
> buffering and queueing mechanism and is SMP aware (and thanks to Paul
> rather SMP clever too).
Just as an aside to this and thanks to Paul, this seems in practice to
work as well with HT (as I would expect) and handle fairly high rate
(230kb) connections perfectly. I hope it applies for dumb multiport
cards as well, I have a fair number of them here and there.
--
-bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me
prev parent reply other threads:[~2006-03-30 20:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-27 23:46 HZ != 1000 causes problem with serial device shown by git-bisect Greg Lee
2006-03-28 1:27 ` Lee Revell
2006-03-28 2:03 ` HZ != 1000 causes problem with serial device shown bygit-bisect Greg Lee
2006-03-28 2:19 ` Alistair John Strachan
2006-03-28 5:37 ` HZ != 1000 causes problem with serial device shown by git-bisect Valdis.Kletnieks
2006-03-28 13:44 ` Greg Lee
2006-03-28 8:13 ` Russell King
2006-03-28 14:17 ` Greg Lee
2006-03-29 17:22 ` Bill Davidsen
2006-03-28 14:13 ` Alan Cox
2006-03-29 17:31 ` Bill Davidsen [this message]
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=442AC46F.2060107@tmr.com \
--to=davidsen@tmr.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=rmk+kernel@arm.linux.org.uk \
/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