Real-Time Granularity: A Query
Craig Leres
leres at surf.ee.lbl.gov
Thu Jan 4 15:28:51 AEST 1990
By the way, the Sparcstation's clock has a microsecond register; we
were able to modify the nit code to take advantage of this when
constructing the nit timestamp.
While this is a vast improvement over the 20ms clock other Suns provide
(10ms if you've hacked the kernel like me) it's still not perfect for
network analysis. When packets arrive close together, you tend to be
measuring the time it takes nit to process a packet instead of the
inter-packet spacing. What we need is an ethernet interface that
installs per-packet timestamps in hardware!
Don't have any sun4c source so I haven't hacked gettimeofday() to use
it yet. But I gave the nit enhancements to a buddy at Sun and he it was
a good idea and would see about sticking it in SunOS.
Craig
More information about the Comp.unix.wizards
mailing list