From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <40659FE8.8030709@swtch.com> From: Russ Cox User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031221 Thunderbird/0.4 MIME-Version: 1.0 To: 9fans@cse.psu.edu Subject: Re: [9fans] rio and acme scrolling References: <78e57cf1aaa73ca03a1e3a5df2385bd8@hamnavoe.com> In-Reply-To: <78e57cf1aaa73ca03a1e3a5df2385bd8@hamnavoe.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 27 Mar 2004 10:38:16 -0500 Topicbox-Message-UUID: 44d941ca-eacd-11e9-9e20-41e7f4b1d025 >Alternatively, why not use the TSC when there is one? I note that >this is the default for the MP architecture, but only for CPU server >kernels -- does anyone know why? > >Here's a one-line fix which also seems to work on my thinkpad: > >term% diff /sys/src/9/pc/devarch.c devarch.c >692a693 > > >> archgeneric.fastclock = tscticks; >> >> The TSC is not reliable once the BIOS starts playing tricks with CPU speeds. Try unplugging your Thinkpad and see if your TSC keeps running at the same speed. Russ