How to reset the timestamp value in Suse 10 system
- From: song_winter@xxxxxxxxxxx
- Date: Sat, 28 Jul 2007 23:40:54 -0700
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.
by changing the configuration of timestamp in OS kernel. But I reallyFrom the FAQ web page of ethereal, the problem seems to be figured out
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.
.
- Follow-Ups:
- Re: How to reset the timestamp value in Suse 10 system
- From: Jan Kandziora
- Re: How to reset the timestamp value in Suse 10 system
- Prev by Date: ZoneMinder finally installed and functional as a DV(R?).
- Next by Date: Re: 10.2 partitioning. Sucks!
- Previous by thread: ZoneMinder finally installed and functional as a DV(R?).
- Next by thread: Re: How to reset the timestamp value in Suse 10 system
- Index(es):
Relevant Pages
|