Re: tty update speed regression (was: 2.6.14-rc2-mm1)

From: Nishanth Aravamudan
Date: Fri Sep 23 2005 - 16:33:04 EST


On 23.09.2005 [23:42:53 +0400], Alexey Dobriyan wrote:
> On Fri, Sep 23, 2005 at 12:07:49PM -0700, Nishanth Aravamudan wrote:
> > On 23.09.2005 [22:42:16 +0400], Alexey Dobriyan wrote:
> > > poll([{fd=0, events=POLLIN}], 1, 0) = 0
>
> > > I can send full strace log if needed.
> >
> > Nope, that helped tremendously! I think I know what the issue is (and
> > why it's HZ dependent).
> >
> > In the current code, (2.6.13.2, e.g) we allow 0 timeout poll-requests to
> > be resolved as 0 jiffy requests. But in my patch, those requests become
> > 1 jiffy (which of course depends on HZ and gets quite long if HZ=100)!
> >
> > Care to try the following patch?
>
> It works! Now, even with HZ=100, gameplay is smooth.
>
> Andrew, please, apply.

Great! Thanks for the testing, Alexey.

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