Ertman, DavidX M <davidx.m.ertman <at> intel.com> writes: > > Actually, the piece you might be interested in is specifically Hardware Timestamping, which is used by > PTP. PTP's primary purpose is to sync clocks on a network, which might be of no interest to you. > > Check out "ptp4l" for some sample code on how to use/access the 1588 clock. > > -----Original Message----- > From: Ertman, DavidX M [mailto:davidx.m.ertman <at> intel.com] > Sent: Tuesday, September 03, 2013 11:37 AM > To: Rajesh > Cc: e1000-devel <at> lists.sourceforge.net > Subject: Re: [E1000-devel] Give priority to the (software) time stamping thread in e1000e > > Have you looked at PTP (IEEE 1588-2008), which uses the hardware clock to timestamp packets as soon as they > leave or enter the interface? If you are looking for maximum accuracy this might be of interest to you. > > -----Original Message----- > From: Rajesh [mailto:knightraj007 <at> gmail.com] > Sent: Friday, August 30, 2013 2:53 AM > To: e1000-devel <at> lists.sourceforge.net > Subject: [E1000-devel] Give priority to the (software) time stamping thread in e1000e > > Hi, > I am new to linux programming. I have an intel NIC with e1000e driver. I am working on precise time stamping of > packets being captured from a network. An interrupt is generated at every packet reception. Thus an > interrupt handler registered by the driver queues the captured packets and timestamps it. > My question is > If want to use RT Linux how can I increase the priority of the time stamping thread. > Is this possible? > > -------------------------------------------------------------------------- ---- > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies and advance your career. Get > an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk? id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > E1000-devel mailing list > E1000-devel <at> lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/e1000-devel > To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired > > -------------------------------------------------------------------------- ---- > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies and advance your career. Get > an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk? id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > E1000-devel mailing list > E1000-devel <at> lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/e1000-devel > To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired > > -------------------------------------------------------------------------- ---- > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk? id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > E1000-devel mailing list > E1000-devel <at> lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/e1000-devel > To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired > >
Hi David, Yeah I have already looked into Hardware network analyzers. But they are too expensive (and we need more than one). So I was trying to somehow improve the accuracy in software. I have already improved it by using RTLinux and also by setting the Interrupt Throttle rate parameter. It is almost good enough, but I am still trying to push it. Can you please elaborate a bit more on your first comment. Thank you. ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ E1000-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
