From owner-freebsd-current Tue Nov 17 00:54:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA11257 for freebsd-current-outgoing; Tue, 17 Nov 1998 00:54:43 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA11251 for ; Tue, 17 Nov 1998 00:54:41 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.1/8.8.5) with ESMTP id JAA26038; Tue, 17 Nov 1998 09:52:42 +0100 (CET) To: Kevin Day cc: current@FreeBSD.ORG Subject: Re: MediaGX and calcru: negative time In-reply-to: Your message of "Mon, 16 Nov 1998 17:11:54 CST." <199811162311.RAA09337@home.dragondata.com> Date: Tue, 17 Nov 1998 09:52:42 +0100 Message-ID: <26036.911292762@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> FreeBSD 2.2.7-RELEASE #0: Wed Oct 21 16:22:35 CDT 1998 >> devel@kevin1.touchmaster:/usr/src/sys/compile/DEVEL >> CPU: Cyrix GXm (0.00-MHz 586-class CPU) >> Origin = "CyrixInstead" Id = 0x540 DIR=0x3346 Stepping=3 Revision=3 >> real memory = 63963136 (62464K bytes) >> avail memory = 60252160 (58840K bytes) > >FreeBSD 3.0-RELEASE #0: Mon Nov 16 16:10:02 CST 1998 > root@kevin1.touchmaster:/usr/src/sys/compile/DEVEL >Timecounter "i8254" frequency 1193182 Hz cost 40336 ns >Timecounter "TSC" frequency 20172892 Hz cost 180 ns >CPU: Cyrix GXm (20.17-MHz 586-class CPU) > Origin = "CyrixInstead" Id = 0x540 Stepping=0 DIR=0x3346 > Features=0x808131 >real memory = 63963136 (62464K bytes) >avail memory = 60243968 (58832K bytes) >According to date, i'm running about 15-30x the speed I should be. > >Has anyone else reported this for a GXm? This is because the speed of your TSC counter is WAY wrong. If you know what frequency it should be, sysctl -w kern.timecounter.frequency=XXXXXX where XXXXXX is that frequency in Hz. Even better yet, try to find out why the frequency is so wrong in sys/isa/clock.c -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message