Date: Fri, 27 Apr 2001 08:13:11 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: Andrew Gallatin <gallatin@cs.duke.edu> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/alpha mp_machdep.c Message-ID: <XFMail.010427081311.jhb@FreeBSD.org> In-Reply-To: <20010427105814.A47421@grasshopper.cs.duke.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On 27-Apr-01 Andrew Gallatin wrote: > John Baldwin [jhb@FreeBSD.org] wrote: >> on smp.patch next which doesn't panic but changes many things. I'm still >> trying to figure out why each CPU is doling out 115% of p_cpticks for each >> schedcpu() update. > > Could it be because hz on a rawhide is really 1200, but we still > divide by 8 to get stathz? Eg, stathz is 150 and 150/128 is roughly 117% Yes, that would do it. If that is really the case, then simply adjusting stathz for the rawhide would fix that easily. > FWIW, I'd like to see all your clock patches committed. Gimme an hour or so. :) I think I'm going to redo the alpha clock stuff slightly so that platforms will actually set a platform.clockintr() for real that handles both hardclock and statclock. The default will do what the old function I modified for SMP does, and on teh 4100 we'll use the current handler, on teh 2100 we will use one that uses forward_*clock since the clock is roundrobin, etc. > Drew -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010427081311.jhb>