In message <[EMAIL PROTECTED]> Matthew Dillon writes: : The general problem with the timecounter is that not only is the hardware : indeterminant, but the timecounter structure itself is *NOT* MP safe, : at least not by my read of it. : : It also doesn't appear to be interrupt safe. If a microtime() or : getmicrotime() call is interrupted and the interrupting interrupt calls : microtime(), it can corrupt the data returned by the first guy and : even corrupt the structure. We've hacked the parallel port interrupt to be a fast one on one of our boxes. It is connected to the pps driver which calls getnanotime to timestamp the pps pulse that came in. We've seen, in carefully plotting ntp data, that there are often (1 in a thousand) large dropouts in the times reported. They are in the neighborhood of the clock tick. Since ntp discards the outliers, this was a low priority issue for us given the overall nature of that particular system. At the time I took a look at it, and couldn't see how access to the counter could be mp safe, but didn't have a lot of time to pursue it. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
- RE: Using packed structs to gain cheap SMP ... Allen Pulsifer
- RE: Using packed structs to gain cheap ... Allen Pulsifer
- Re: Using packed structs to gain cheap ... Alfred Perlstein
- Re: Using packed structs to gain c... Assar Westerlund
- Re: Using packed structs to gain cheap SMP ... Mike Smith
- Re: Using packed structs to gain cheap ... Poul-Henning Kamp
- Re: SMP buildworld times / performance tests Bruce Evans
- Re: SMP buildworld times / performance test... Poul-Henning Kamp
- Re: SMP buildworld times / performance ... Matthew Dillon
- Re: SMP buildworld times / perform... Poul-Henning Kamp
- Re: SMP buildworld times / performance ... Warner Losh
- Re: SMP buildworld times / performance ... Mike Smith
- Re: SMP buildworld times / perform... Jesper Skriver
- Re: SMP buildworld times / per... Mike Smith
- Re: SMP buildworld times / per... Poul-Henning Kamp
- Re: SMP buildworld times / performance test... Eric D. Futch
- Re: SMP buildworld times / performance tests Andy Farkas
- Re: SMP buildworld times / performance tests Matthew Dillon
- Re: SMP buildworld times / performance tests Peter Wemm
- Re: SMP buildworld times / performance tests Matthew Dillon
- Re: SMP buildworld times / performance tests Brad Knowles