40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  40m Log  Not logged in ELOG logo
Entry  Mon Jun 16 21:56:53 2014, Jenne, Update, Computer Scripts / Programs, fstab updates, MC autolocker running, FSS slow loop alive 
    Reply  Tue Jun 17 12:04:40 2014, manasa, Update, Computer Scripts / Programs, MC autolocker NOT running, FB needs some attention FE_red.png
       Reply  Tue Jun 17 16:52:40 2014, ericq, Update, Computer Scripts / Programs, autolocker confusion 
          Reply  Tue Jun 17 19:39:29 2014, rana, Update, Computer Scripts / Programs, autolocker confusion 
             Reply  Wed Jun 18 11:28:19 2014, Manasa, Update, Computer Scripts / Programs, autolocker confusion 
                Reply  Wed Jun 18 13:29:48 2014, rana, Update, Computer Scripts / Programs, autolocker confusion 
                   Reply  Wed Jun 18 17:38:14 2014, Jenne, Update, Computer Scripts / Programs, autolocker running again 
                      Reply  Thu Jun 19 16:49:15 2014, rana, Update, Computer Scripts / Programs, autolocker running again 
                         Reply  Thu Jun 19 22:04:23 2014, ericq, Update, Computer Scripts / Programs, caget/caput now return in reasonable time 
                            Reply  Fri Jun 20 09:46:49 2014, manasa, Update, IOO, MC WFS servo turned ON 
                            Reply  Fri Jun 20 19:07:44 2014, rana, Update, Computer Scripts / Programs, op340m DNS 
                               Reply  Tue Jun 24 22:46:15 2014, ericq, Update, Computer Scripts / Programs, op340m crons 
       Reply  Tue Jun 17 17:04:26 2014, ericq, Update, Computer Scripts / Programs, FB troubles 
Message ID: 10077     Entry time: Thu Jun 19 22:04:23 2014     In reply to: 10074     Reply to this: 10078   10084
Author: ericq 
Type: Update 
Category: Computer Scripts / Programs 
Subject: caget/caput now return in reasonable time 

I think I've fixed the caget/caput issue. Rana's observation that pinging the IP directly was faster than pinging the hostname set me on a path of googling which informed making the following changes to the DNS setup on chiara (specifically, informed by this thread: http://www.dslreports.com/forum/r11836974-BIND-slow-to-reply-over-LAN-Solved)

/etc/bind/named.conf.local has these lines:

zone "martian" IN {
 type master;
 file "/etc/bind/zones/martian.db";
 };
zone "113.168.192.in-addr.arpa" {
 type master;
 file "/etc/bind/zones/rev.113.168.192.in-addr.arpa";
};

The first zone command links hostnames like c1lsc to an IP like 192.168.113.62, but apparently in the second, we need to do the inverse. So, for each line in martian.db like

c1lsc           A       192.168.113.62

I added a line in rev.113.168.192.in-addr.arpa like so:

62 IN PTR c1lsc.martian

This seems kind of silly, but now if you do the host command from a workstation, it can find the hostname associated with an IP. 

controls@pianosa|~ > host 192.168.113.62
62.113.168.192.in-addr.arpa domain name pointer scipe12.martian.113.168.192.in-addr.arpa.
62.113.168.192.in-addr.arpa domain name pointer c1lsc.martian.113.168.192.in-addr.arpa.

[At this point, note that we have a bunch of duplicate entries in https://wiki-40m.ligo.caltech.edu/Martian_Host_Table  with these scipe## hostnames. What are these for?]


 
Now (edited for brevity):
 
controls@ottavia|~ > ping -c 5 -D c1sus
PING c1sus.martian (192.168.113.85) 56(84) bytes of data.
<SNIP>
--- c1sus.martian ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3997ms
rtt min/avg/max/mdev = 0.051/0.075/0.114/0.028 ms
controls@ottavia|~ > ping -c 5 -D 192.168.113.85
PING 192.168.113.85 (192.168.113.85) 56(84) bytes of data.
<SNIP>
--- 192.168.113.85 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3998ms
rtt min/avg/max/mdev = 0.052/0.130/0.380/0.127 ms
 
controls@pianosa|~ > time caget C1:LSC-XARM_GAIN
C1:LSC-XARM_GAIN               0.015
real    0m0.039s
 
controls@pianosa|~ > time caput C1:LSC-XARM_GAIN 0.0151
Old : C1:LSC-XARM_GAIN               0.015
New : C1:LSC-XARM_GAIN               0.0151
real    0m0.054s
 
 
 

 

ELOG V3.1.3-