How to reset the timestamp value in Suse 10 system



Hello,

I am a newer for Linux system totally, When I tried to capture the
packets with 1us resolution of timestamp by the ethereal in Suse 10,
it doesn't work.

From the FAQ web page of ethereal, the problem seems to be figured out
by changing the configuration of timestamp in OS kernel. But I really
no idea about that how to do.

Is there anyone can give me an instruction about that?

Thanks a lot.

Winter Song

Reference:
Q 9.3: I'm capturing packets on Linux; why do the time stamps have
only 100ms resolution, rather than 1us resolution?

A: Ethereal gets time stamps from libpcap/WinPcap, and libpcap/WinPcap
get them from the OS kernel, so Ethereal - and any other program using
libpcap, such as tcpdump - is at the mercy of the time stamping code
in the OS for time stamps.

At least on x86-based machines, Linux can get high-resolution time
stamps on newer processors with the Time Stamp Counter (TSC) register;
for example, Intel x86 processors, starting with the Pentium Pro, and
including all x86 processors since then, have had a TSC, and other
vendors probably added the TSC at some point to their families of x86
processors.

The Linux kernel must be configured with the CONFIG_X86_TSC option
enabled in order to use the TSC. Make sure this option is enabled in
your kernel.

In addition, some Linux distributions may have bugs in their versions
of the kernel that cause packets not to be given high-resolution time
stamps even if the TSC is enabled. See, for example, bug 61111 for Red
Hat Linux 7.2. If your distribution has a bug such as this, you may
have to run a standard kernel from kernel.org in order to get high-
resolution time stamps.

.



Relevant Pages

  • Re: What kind of tools can capture ip packets(such as UDP)fast enough on Linux Platform
    ... some percent of the packets cannot be captured in Ethereal. ... I'm capturing packets on Linux; why do the time stamps have ... Ethereal gets time stamps from libpcap/WinPcap, ... stamps on newer processors with the Time Stamp Counter (TSC) register; ...
    (comp.os.linux.networking)
  • Re: TSC cannot be used as a time source?
    ... > Incorrect TSC synchronization on an SMP system. ... >I installed the server I used the same timesource I use on other ... Time keeping in Linux is done by an interrupt which occurs regularly ... of the counter at each of the interrupts. ...
    (Fedora)
  • Re: iptables maybe??
    ... > What does your routing table look like (the output of the route command). ... So the night before I shut my linux machine down. ... >>Chain FORWARD ... >>says temporary failure in name resolution. ...
    (alt.os.linux)
  • Re:hardy nvidia fx 5200 resolution
    ... hardy nvidia fx 5200 resolution ... I am new to linux and i dont know much it. ... and then type sudo make install if needed.... ... The box said Windoze or better,so i installed Linux ...
    (Ubuntu)
  • Re: replacement for timeGetTime
    ... Is there an equivalent in Linux? ... ference the function will only return the time since system startup ... on the very first invocation, ... returns - but only with a resolution of a second. ...
    (comp.unix.programmer)