lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091123120409.GA32009@elte.hu>
Date:	Mon, 23 Nov 2009 13:04:09 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Alan Cox <alan@...rguk.ukuu.org.uk>
Cc:	Mike Galbraith <efault@....de>, Robert Swan <swan.r.l@...il.com>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	linux-kernel@...r.kernel.org
Subject: Re: [bisected] pty performance problem


* Alan Cox <alan@...rguk.ukuu.org.uk> wrote:

> > > Another possibility is to do
> > > 
> > > 	if (tty->low_latency)
> > > 		schedule_delayed_work(&tty->buf.work, 0);
> > > 	else
> > > 		schedule_delayed_work(&tty->buf.work, 1);
> > 
> > Flaggery for low latency is kind of lame though - especially if it 
> > defaults to off in most drivers as you say.
> 
> So you'd prefer to detect devices that are byte based or message based 
> by what method ?

I'd not delay the worklet by default - i.e. i'd do Mike's patch.

Havent tested all effects of it though - do you have any estimation 
about negative effects from such a change? We do have hard numbers 
(latencies in the millisecs range) from the opposite direction and those 
numbers arent pretty.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ