Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Mar 2013 16:55:49 +0200
From:      Alexander Motin <mav@FreeBSD.org>
To:        Luigi Rizzo <rizzo@iet.unipi.it>
Cc:        Davide Italiano <davide@FreeBSD.org>, svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r247792 - head/sys/dev/syscons
Message-ID:  <5134B5F5.7000204@FreeBSD.org>
In-Reply-To: <20130304144216.GA63659@onelab2.iet.unipi.it>
References:  <201303041400.r24E0xOo076175@svn.freebsd.org> <20130304144216.GA63659@onelab2.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04.03.2013 16:42, Luigi Rizzo wrote:
> On Mon, Mar 04, 2013 at 02:00:59PM +0000, Davide Italiano wrote:
>> Author: davide
>> Date: Mon Mar  4 14:00:58 2013
>> New Revision: 247792
>> URL: http://svnweb.freebsd.org/changeset/base/247792
>>
>> Log:
>>   MFcalloutng (r244249, r244306 by mav):
>>   - Switch syscons from timeout() to callout_reset_flags() and specify that
>>   precision is not important there -- anything from 20 to 30Hz will be fine.
>>   - Reduce syscons "refresh" rate to 1-2Hz when console is in graphics mode
>>   and there is nothing to do except some polling for keyboard.  Text mode
> 
> just to understand, how does this 1-2Hz affect the respose to keypresses ?
> does it mean it takes 0.5..1s to see the keypress ?

No, it is a polling for keyboard presence, and its rate already limited
to 1Hz by comparing kbd_time_stamp to time_uptime there.

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5134B5F5.7000204>