Tag Archives: NTP

NTP in AIX

By System Admin 77

Hello Everyone,

I got a question regarding NTP (Network time protocal) in AIX.

AIX is new in our environment. so’ we do not have any time server that is useful for new LPARs.
so’ i tried using IBM steps to configure NTP server on one of our test/lab LPARs.

I used the below link to make it work. But it did not working.

IBM Configuring NTP on AIX 5L – United States

ON one of AIX LPAR –> to make it as NTP server
===============================================

[root@LPAR1]> tail -7 /etc/ntp.conf
# Broadcast client, no authentication.
#
#broadcastclient
server 127.127.1.0
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace

[root@LPAR1]/>lssrc -ls xntpd
Program name: /usr/sbin/xntpd
Version: 3
Leap indicator: 00 (No leap second today.)
Sys peer: 127.127.1.0
Sys stratum: 4
Sys precision: -18
Debug/Tracing: DISABLED
Root distance: 0.000000
Root dispersion: 0.010010
Reference ID: 127.127.1.0
Reference time: d597cdae.de0e3000 Mon, Jul 22 2013 11:26:38.867
Broadcast delay: 0.003906 (sec)
Auth delay: 0.000122 (sec)
System flags: pll monitor filegen
System uptime: 1576 (sec)
Clock stability: 0.000000 (sec)
Clock frequency: 0.000000 (sec)
Peer: 127.127.1.0
flags: (configured)(refclock)(sys peer)
stratum: 3, version: 3
our mode: client, his mode: server
Subsystem Group PID Status
xntpd tcpip 8585346 active

another LPAR (Client)

=====================

[root@LPAR2]/>ntpdate -d 127.127.1.0
22 Jul 11:24:58 ntpdate[9437240]: 3.4y
transmit(127.127.1.0)
transmit(127.127.1.0)
transmit(127.127.1.0)
transmit(127.127.1.0)
transmit(127.127.1.0)
server 127.127.1.0, port 123
stratum 0, precision 0, leap 00, trust 000
refid [0.0.0.0], delay 0.00000, dispersion 64.00000
transmitted 4, in filter 4
reference time: 00000000.00000000 Thu, Feb 7 2036 1:28:16.000
originate timestamp: 00000000.00000000 Thu, Feb 7 2036 1:28:16.000
transmit timestamp: d597cd4d.f8c23000 Mon, Jul 22 2013 11:25:01.971
filter delay: 0.00000 0.00000 0.00000 0.00000
0.00000 0.00000 0.00000 0.00000
filter offset: 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000
delay 0.00000, dispersion 64.00000
offset 0.000000

22 Jul 11:25:02 ntpdate[9437240]: no server suitable for synchronization found<br …read more

Source: FULL ARTICLE at The UNIX and Linux Forums

Cisco, Apple, and Google Join Forces on Patent Law

By Douglas Ehrman, The Motley Fool

Filed under:

Thursday saw lawmakers busy themselves with the issue of patent reform surrounding a bill introduced by Representative Peter DeFazio, an Oregon Democrat, which would raise the stack on any party bringing an infringement case that was not also a “practicing entity.” As complicated as all that may sound, the heart of the bill is targeted at shifting the cost of litigation to a party that does not actually use the patent but still brings suit and loses. Major technology firms including Cisco , Apple , and Google all support the bill because each spends millions every year defending these cases. Still, the proposed law poses some real hazards that ultimately outweigh its benefit as written.

The players
The new legislation is targeted specifically at patent litigation enforcement companies — aka PLECs, or “patent trolls” as they are more affectionately known by the companies that they harass and annoy. A PLEC does not actually make anything, but rather hunts for patents that it believes are being infringed and then files lawsuits. In rare cases, the original patent holder — the inventor of the patented technology — is a party to the suit, but in most cases, the PLEC buys the patent for itself and then goes about enforcing it.

The best-known patent troll case, and the one which brought the practice en vogue, was one that involved a judgment against BlackBerry  (then Research In Motion), in which it was ordered to pay $612.5 million to NTP for patents the smartphone maker had infringed. What made that case especially egregious was the fact that Research In Motion had independently developed the technology and not acted in bad faith. Furthermore, the U.S. Patent Office had issued NTP “non-final rejections” of the patents held by NTP but had not processed the matter quickly enough to protect RIM. The judgment was the largest patent ruling in history at the time in was given, having only recently fallen to the Apple ruling in the Samsung case.

On the other side of this battle are the actual technology companies like BlackBerry and Cisco and Google that uses these patents to protect the things that they make. Last fall, The New York Times did an in-depth review of the issue:

In the smartphone industry alone, according to a Stanford University analysis, as much as $20 billion was spent on patent litigation and patent purchases in the last two years — an amount equal to eight Mars rover missions. Last year, for the first time, spending by Apple and Google on patent lawsuits and unusually big-dollar patent purchases exceeded spending on research and development of new products, according to public filings.

Cisco reported that it spent $50 million last year to defend 50 baseless cases. Clearly the cost of patent litigation is out of control and some type of reform is appropriate. The very existence of PLECs is premised on exploiting inefficiencies in the system and allowing non-productive opportunists to …read more
Source: FULL ARTICLE at DailyFinance

Periodic thread with clock_nanosleep

Hi
I have a periodic task (with the highest priority) which I away every X nano-second.
I am using the function clock_nanosleep with REAL_TIME timer.
when I wake up, I versify that I was awake on time,
and check if the delta between the last time I get to sleep and the current time is X nano-second.
(I verify this with the function clock_gettime, and again with REAL_TIME timer).
sometimes when the thread wake up, the delta is not X nano second (it can be sometimes less or high above
X nanosecond)
I am connected to NTP.

1. why sometimes the thread wake up before or after X nano second (I see this through the delta)
2. if the reason is the NTP and REAL_TIME timer, why the thread wake up after it finish to sleep
and the delta is less than X nano second ?

Thanks
Source: The UNIX and Linux Forums