Date: Thu, 21 Jun 2001 23:49:04 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: Martin Blapp <mb@imp.ch> Cc: smp@FreeBSD.ORG, Brad Karp <bkarp@icsi.berkeley.edu>, phk@FreeBSD.ORG Subject: RE: clock speedup on SMP boxes Message-ID: <Pine.BSF.4.21.0106212336310.32561-100000@besplex.bde.org> In-Reply-To: <20010621144914.P766-100000@levais.imp.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 21 Jun 2001, Martin Blapp wrote: > Just gettimeofday() produces 8sec time drifting now. No need > to use poll() in our little programm I sent previously. > > There is no time drifting if we used a 100% load programm with > just poll(). > > Very strange. Do you have some idea ? From clock.c in -current: | #ifdef APIC_IO | #define lapic_irr1 ((volatile u_int *)&lapic)[0x210 / 4] /* XXX XXX */ | /* XXX this assumes that apic_8254_intr is < 24. */ | (lapic_irr1 & (1 << apic_8254_intr)))) | #else | (inb(IO_ICU1) & 1))) | #endif Maybe apic_8254_intr is not < 24. I think the second XXX comment has rotted in -current, but it still applies in RELENG_4. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0106212336310.32561-100000>