SlideShare a Scribd company logo
1 of 18
Summer Internship
Presentation
Joseph Zuckerman
Tasks
I.Network Time Protocol with GPS
A.NTP Installation
B.GPSD Usage
C.GPS Configuration
D.Server/Client Network
II. Zynq Board Functionality Testing
A.C++11
B.Limits
C.Connecting to Network
D.Threading
E.Boost
III. Other Research Topics
A. PTP
B. USB Filesystems
IV. Pod Controller Testing
A. Testing MDF
B. Fixing Xterm Display
C. USB Investigation
V. Internship Experience
NTP
•Linux
•NTP installation
•Contacting Internet Servers
•north-america.pool.ntp.org
•time.nist.gov
•utcnist.coloarado .edu
•Terminology
GPS and GPSD
• GPSD Installation
• Instruction Changes (various packages)
• NTP with GPSD
• Must edit ntp.conf file to work with gpsd
Sample Output NTP & GPS
NTP Query
CGPS XGPS
Tools for monitoring GPS
GPS Configuration
• Issues:
• GPS time-out after 5-10 minutes of running
• GPSD doesn’t reconnect with NTP after a time-out
• Find a more stable configuration for the GPS using GUI
• GPS has sensors and other options that are capable of
being turned on and off
• Also 3 different kinds of NMEA messages each with
options for sensors and other data for time and position
GPS Configuration - Settings
• Most of these options and messages were turned on
• Theory – too much data was being sent, overloading the
GPS, and causing it to time out
• Turned off all settings except those related to raw position
and time
GPS Configuration – NMEA Messages
• 3 kinds of NMEA messages
• GGA – latitude, longitude, altitude, time, and fix status
• RMC – latitude, longitude, date, time, speed, course, fix status
• ZDA – date and time
• To account for the settings update turned off everything except time and
position with GGA and RMC and time with ZDA
• Testing this configuration revealed an error regarding GGA, so those were
discarded, too
• Below configuration was decided on and various baud rates were tested to
find the most stable
• 19200 gave the most stable configuration, GPS could run for over an hour
without a time-out
GPS Configuration – PPS
• 4 options for a PPS signal
• Main Loop Start – 100 PPS
• Time Pulse Copy – 4PPS
• Visual Odometer – Pulse everytime GPS travels set distance
• Main Loop Divider – Can change number of pulses per second with a divider
• 100 = divider * Hz
• For 1 Hz, set divider = 100
NTP Server/Client Setup
• Setup an NTP server/client system across the GTRI network
• Used my computer as server and Will’s as the client
• GPS timing source for broadcast
• Setup required editing the ntp.conf file
• For Server:
broadcast 10.104.21.230 minpoll 4
• For client:
broadcastclient
server 10.104.21.230 minpoll 4 maxpoll 4 iburst
NTP Server/Client Output
Server
Client
Zynq Board
• Getting Started
• SD
• SSH
• NFS
• C++
• Used Xilinx SDK to
cross compile code for
ARM
• SDK has Linux terminal
to communicate with
board
Zynq Board – C++11 and Limits
• Tested some basic elements of C++11
• Range-based for loop
• Smart pointers – shared pointers
• Tuples
• Maps
• Tested the limits of sizes of variables on the board
• Same output on my desktop and on Zynq Board
Size (Bytes) Zynq Board Desktop
Char 1 1
Short 2 2
Int 4 4
Long 4 4
Long Long 8 8
Double 8 8
Float 4 4
Pointer 4 4
Zynq Board – Connecting to Internet
• Board has a default IP address 192.168.42.50
• Use that address to communicate with the board
• Generated a static IP for the board
• Edited /etc/network/interfaces to update address, netmask, and gateway info
• ifconfig eth0 10.104.40.26 netmask 255.255.0.0
• Created /etc/resolv.conf to add DNS servers
• Allows FQDN formatting
Contents of interfaces Contents of resolv.conf
Zynq Board – Threading and Boost
• Threading
• Basic Hello World! Program using threading
• Threading code that worked on desktop, would not run on Zynq
• Trying to link to library that wasn’t on the board
• Solution: link to –pthread and statically link to –libstdc++
• Boost
• Installed boost and linked to boost libraries
• Ran simple code using boost features (e.g. Lambda expressions)
Other Research Topics
• PTP – Precision Time Protocol
• Requires hardware timestamping
• Incompatabilities between EXT4, FAT, and NTFS on USB
• Windows cannot read EXT4
Pod Controller
• Tested Mission Data File
• One script launches an Xterm window
• Unable to forward xterm over SSH
• Set DISPLAY = :0.0
• Login with ssh –X, OR
• SSH settings in /etc/ssh/ssh_config
• Turn on ForwardX11
• USB Interaction
• Does not automatically mount to /media/user
• 4 Ports
• 1 goes to /dev/sdb1
• 3 go to /dev/sdc1
Internship Experience

More Related Content

What's hot

Untitled document
Untitled documentUntitled document
Untitled documentSam Curry
 
Linux 4.x Tracing Tools: Using BPF Superpowers
Linux 4.x Tracing Tools: Using BPF SuperpowersLinux 4.x Tracing Tools: Using BPF Superpowers
Linux 4.x Tracing Tools: Using BPF SuperpowersBrendan Gregg
 
Vigor 3910 docker firmware quick start
Vigor 3910 docker firmware quick startVigor 3910 docker firmware quick start
Vigor 3910 docker firmware quick startJimmy Tu
 
[2C4]Clustered computing with CoreOS, fleet and etcd
[2C4]Clustered computing with CoreOS, fleet and etcd[2C4]Clustered computing with CoreOS, fleet and etcd
[2C4]Clustered computing with CoreOS, fleet and etcdNAVER D2
 
Container Performance Analysis
Container Performance AnalysisContainer Performance Analysis
Container Performance AnalysisBrendan Gregg
 
Implementation of DNS Anycast - a case study
Implementation of DNS Anycast - a case studyImplementation of DNS Anycast - a case study
Implementation of DNS Anycast - a case studyA. S. M. Shamim Reza
 
GlusterFS As an Object Storage
GlusterFS As an Object StorageGlusterFS As an Object Storage
GlusterFS As an Object StorageKeisuke Takahashi
 
Linux 4.x Tracing: Performance Analysis with bcc/BPF
Linux 4.x Tracing: Performance Analysis with bcc/BPFLinux 4.x Tracing: Performance Analysis with bcc/BPF
Linux 4.x Tracing: Performance Analysis with bcc/BPFBrendan Gregg
 
LISA18: Hidden Linux Metrics with Prometheus eBPF Exporter
LISA18: Hidden Linux Metrics with Prometheus eBPF ExporterLISA18: Hidden Linux Metrics with Prometheus eBPF Exporter
LISA18: Hidden Linux Metrics with Prometheus eBPF ExporterIvan Babrou
 
Accelerating Envoy and Istio with Cilium and the Linux Kernel
Accelerating Envoy and Istio with Cilium and the Linux KernelAccelerating Envoy and Istio with Cilium and the Linux Kernel
Accelerating Envoy and Istio with Cilium and the Linux KernelThomas Graf
 
Cilium - BPF & XDP for containers
 Cilium - BPF & XDP for containers Cilium - BPF & XDP for containers
Cilium - BPF & XDP for containersDocker, Inc.
 
Firewalld : A New Interface to Your Netfilter Stack
Firewalld : A New Interface to Your Netfilter StackFirewalld : A New Interface to Your Netfilter Stack
Firewalld : A New Interface to Your Netfilter StackMahmoud Shiri Varamini
 
OpenContrail, Real Speed: Offloading vRouter
OpenContrail, Real Speed: Offloading vRouterOpenContrail, Real Speed: Offloading vRouter
OpenContrail, Real Speed: Offloading vRouterOpen-NFP
 
RxNetty vs Tomcat Performance Results
RxNetty vs Tomcat Performance ResultsRxNetty vs Tomcat Performance Results
RxNetty vs Tomcat Performance ResultsBrendan Gregg
 
Hunt For Blue Leader
Hunt For Blue LeaderHunt For Blue Leader
Hunt For Blue LeaderAngelbo
 
OVN 設定サンプル | OVN config example 2015/12/27
OVN 設定サンプル | OVN config example 2015/12/27OVN 設定サンプル | OVN config example 2015/12/27
OVN 設定サンプル | OVN config example 2015/12/27Kentaro Ebisawa
 
The Next Generation Firewall for Red Hat Enterprise Linux 7 RC
The Next Generation Firewall for Red Hat Enterprise Linux 7 RCThe Next Generation Firewall for Red Hat Enterprise Linux 7 RC
The Next Generation Firewall for Red Hat Enterprise Linux 7 RCThomas Graf
 
The linux networking architecture
The linux networking architectureThe linux networking architecture
The linux networking architecturehugo lu
 

What's hot (20)

Untitled document
Untitled documentUntitled document
Untitled document
 
Linux 4.x Tracing Tools: Using BPF Superpowers
Linux 4.x Tracing Tools: Using BPF SuperpowersLinux 4.x Tracing Tools: Using BPF Superpowers
Linux 4.x Tracing Tools: Using BPF Superpowers
 
Vigor 3910 docker firmware quick start
Vigor 3910 docker firmware quick startVigor 3910 docker firmware quick start
Vigor 3910 docker firmware quick start
 
[2C4]Clustered computing with CoreOS, fleet and etcd
[2C4]Clustered computing with CoreOS, fleet and etcd[2C4]Clustered computing with CoreOS, fleet and etcd
[2C4]Clustered computing with CoreOS, fleet and etcd
 
Container Performance Analysis
Container Performance AnalysisContainer Performance Analysis
Container Performance Analysis
 
Implementation of DNS Anycast - a case study
Implementation of DNS Anycast - a case studyImplementation of DNS Anycast - a case study
Implementation of DNS Anycast - a case study
 
GlusterFS As an Object Storage
GlusterFS As an Object StorageGlusterFS As an Object Storage
GlusterFS As an Object Storage
 
Linux 4.x Tracing: Performance Analysis with bcc/BPF
Linux 4.x Tracing: Performance Analysis with bcc/BPFLinux 4.x Tracing: Performance Analysis with bcc/BPF
Linux 4.x Tracing: Performance Analysis with bcc/BPF
 
LISA18: Hidden Linux Metrics with Prometheus eBPF Exporter
LISA18: Hidden Linux Metrics with Prometheus eBPF ExporterLISA18: Hidden Linux Metrics with Prometheus eBPF Exporter
LISA18: Hidden Linux Metrics with Prometheus eBPF Exporter
 
Accelerating Envoy and Istio with Cilium and the Linux Kernel
Accelerating Envoy and Istio with Cilium and the Linux KernelAccelerating Envoy and Istio with Cilium and the Linux Kernel
Accelerating Envoy and Istio with Cilium and the Linux Kernel
 
Cilium - BPF & XDP for containers
 Cilium - BPF & XDP for containers Cilium - BPF & XDP for containers
Cilium - BPF & XDP for containers
 
Ipref
IprefIpref
Ipref
 
Firewalld : A New Interface to Your Netfilter Stack
Firewalld : A New Interface to Your Netfilter StackFirewalld : A New Interface to Your Netfilter Stack
Firewalld : A New Interface to Your Netfilter Stack
 
OpenContrail, Real Speed: Offloading vRouter
OpenContrail, Real Speed: Offloading vRouterOpenContrail, Real Speed: Offloading vRouter
OpenContrail, Real Speed: Offloading vRouter
 
RxNetty vs Tomcat Performance Results
RxNetty vs Tomcat Performance ResultsRxNetty vs Tomcat Performance Results
RxNetty vs Tomcat Performance Results
 
Cache profiling on ARM Linux
Cache profiling on ARM LinuxCache profiling on ARM Linux
Cache profiling on ARM Linux
 
Hunt For Blue Leader
Hunt For Blue LeaderHunt For Blue Leader
Hunt For Blue Leader
 
OVN 設定サンプル | OVN config example 2015/12/27
OVN 設定サンプル | OVN config example 2015/12/27OVN 設定サンプル | OVN config example 2015/12/27
OVN 設定サンプル | OVN config example 2015/12/27
 
The Next Generation Firewall for Red Hat Enterprise Linux 7 RC
The Next Generation Firewall for Red Hat Enterprise Linux 7 RCThe Next Generation Firewall for Red Hat Enterprise Linux 7 RC
The Next Generation Firewall for Red Hat Enterprise Linux 7 RC
 
The linux networking architecture
The linux networking architectureThe linux networking architecture
The linux networking architecture
 

Viewers also liked (14)

Pg 13-
Pg 13-Pg 13-
Pg 13-
 
Nomas neocolonización
Nomas neocolonizaciónNomas neocolonización
Nomas neocolonización
 
Presentación diapositivas
Presentación diapositivasPresentación diapositivas
Presentación diapositivas
 
Ch06 4e t2
Ch06 4e t2Ch06 4e t2
Ch06 4e t2
 
Pg 14
Pg 14Pg 14
Pg 14
 
Institucion
Institucion Institucion
Institucion
 
Aprendizaje autónomo
Aprendizaje autónomoAprendizaje autónomo
Aprendizaje autónomo
 
Contenido
ContenidoContenido
Contenido
 
GUEST Manifesto
GUEST ManifestoGUEST Manifesto
GUEST Manifesto
 
Connect M Ems Mail
Connect M Ems MailConnect M Ems Mail
Connect M Ems Mail
 
бадова
бадовабадова
бадова
 
LION E-Mobility AG
LION E-Mobility AGLION E-Mobility AG
LION E-Mobility AG
 
Yellow Stone National Park
Yellow Stone National ParkYellow Stone National Park
Yellow Stone National Park
 
scan0008
scan0008scan0008
scan0008
 

Similar to GTRI Internship Presentation

Multi-Site Perforce at NetApp
Multi-Site Perforce at NetAppMulti-Site Perforce at NetApp
Multi-Site Perforce at NetAppPerforce
 
MikroTik Network Simulator.pptx
MikroTik Network Simulator.pptxMikroTik Network Simulator.pptx
MikroTik Network Simulator.pptxglobalkomputer
 
Mikro_Tik_Network_Simulator.pptx
Mikro_Tik_Network_Simulator.pptxMikro_Tik_Network_Simulator.pptx
Mikro_Tik_Network_Simulator.pptxglobalkomputer
 
Ims, at beginning was...
Ims, at beginning was...Ims, at beginning was...
Ims, at beginning was...labcorsionline
 
Network troubleshooting
Network troubleshootingNetwork troubleshooting
Network troubleshootingSkillspire LLC
 
CCNA2 Verson6 Chapter10
CCNA2 Verson6 Chapter10CCNA2 Verson6 Chapter10
CCNA2 Verson6 Chapter10Chaing Ravuth
 
April, 2021 OpenNTF Webinar - Domino Administration Best Practices
April, 2021 OpenNTF Webinar - Domino Administration Best PracticesApril, 2021 OpenNTF Webinar - Domino Administration Best Practices
April, 2021 OpenNTF Webinar - Domino Administration Best PracticesHoward Greenberg
 
Network client configuration
Network client configurationNetwork client configuration
Network client configurationEduardo Cambinda
 
4 ip services span,rspan
4 ip services span,rspan4 ip services span,rspan
4 ip services span,rspanSagarR24
 
Accumulo Summit Keynote 2018
Accumulo Summit Keynote 2018Accumulo Summit Keynote 2018
Accumulo Summit Keynote 2018Accumulo Summit
 
Sergey Dzyuban "To Build My Own Cloud with Blackjack…"
Sergey Dzyuban "To Build My Own Cloud with Blackjack…"Sergey Dzyuban "To Build My Own Cloud with Blackjack…"
Sergey Dzyuban "To Build My Own Cloud with Blackjack…"Fwdays
 
Workstations-02.pptx
Workstations-02.pptxWorkstations-02.pptx
Workstations-02.pptxDorcask3
 
Byte blower basic setting full_v2
Byte blower basic setting full_v2Byte blower basic setting full_v2
Byte blower basic setting full_v2Chen-Chih Lee
 
DIY OFDM Session
DIY OFDM SessionDIY OFDM Session
DIY OFDM SessionNutaq
 
Criteo Labs Infrastructure Tech Talk Meetup Nov. 7
Criteo Labs Infrastructure Tech Talk Meetup Nov. 7Criteo Labs Infrastructure Tech Talk Meetup Nov. 7
Criteo Labs Infrastructure Tech Talk Meetup Nov. 7Shuo LI
 
GPU Computing for Data Science
GPU Computing for Data Science GPU Computing for Data Science
GPU Computing for Data Science Domino Data Lab
 
CCNP Data Center Centralized Management Automation
CCNP Data Center Centralized Management AutomationCCNP Data Center Centralized Management Automation
CCNP Data Center Centralized Management AutomationE.S.G. JR. Consulting, Inc.
 

Similar to GTRI Internship Presentation (20)

Pika
PikaPika
Pika
 
Multi-Site Perforce at NetApp
Multi-Site Perforce at NetAppMulti-Site Perforce at NetApp
Multi-Site Perforce at NetApp
 
MikroTik Network Simulator.pptx
MikroTik Network Simulator.pptxMikroTik Network Simulator.pptx
MikroTik Network Simulator.pptx
 
Mikro_Tik_Network_Simulator.pptx
Mikro_Tik_Network_Simulator.pptxMikro_Tik_Network_Simulator.pptx
Mikro_Tik_Network_Simulator.pptx
 
Ims, at beginning was...
Ims, at beginning was...Ims, at beginning was...
Ims, at beginning was...
 
Network troubleshooting
Network troubleshootingNetwork troubleshooting
Network troubleshooting
 
CCNA2 Verson6 Chapter10
CCNA2 Verson6 Chapter10CCNA2 Verson6 Chapter10
CCNA2 Verson6 Chapter10
 
April, 2021 OpenNTF Webinar - Domino Administration Best Practices
April, 2021 OpenNTF Webinar - Domino Administration Best PracticesApril, 2021 OpenNTF Webinar - Domino Administration Best Practices
April, 2021 OpenNTF Webinar - Domino Administration Best Practices
 
Network client configuration
Network client configurationNetwork client configuration
Network client configuration
 
4 ip services span,rspan
4 ip services span,rspan4 ip services span,rspan
4 ip services span,rspan
 
Accumulo Summit Keynote 2018
Accumulo Summit Keynote 2018Accumulo Summit Keynote 2018
Accumulo Summit Keynote 2018
 
Sergey Dzyuban "To Build My Own Cloud with Blackjack…"
Sergey Dzyuban "To Build My Own Cloud with Blackjack…"Sergey Dzyuban "To Build My Own Cloud with Blackjack…"
Sergey Dzyuban "To Build My Own Cloud with Blackjack…"
 
Workstations-02.pptx
Workstations-02.pptxWorkstations-02.pptx
Workstations-02.pptx
 
Byte blower basic setting full_v2
Byte blower basic setting full_v2Byte blower basic setting full_v2
Byte blower basic setting full_v2
 
DIY OFDM Session
DIY OFDM SessionDIY OFDM Session
DIY OFDM Session
 
Criteo Labs Infrastructure Tech Talk Meetup Nov. 7
Criteo Labs Infrastructure Tech Talk Meetup Nov. 7Criteo Labs Infrastructure Tech Talk Meetup Nov. 7
Criteo Labs Infrastructure Tech Talk Meetup Nov. 7
 
TCP-IP PROTOCOL
TCP-IP PROTOCOLTCP-IP PROTOCOL
TCP-IP PROTOCOL
 
GPU Computing for Data Science
GPU Computing for Data Science GPU Computing for Data Science
GPU Computing for Data Science
 
CCNP Data Center Centralized Management Automation
CCNP Data Center Centralized Management AutomationCCNP Data Center Centralized Management Automation
CCNP Data Center Centralized Management Automation
 
CentOS at Facebook
CentOS at FacebookCentOS at Facebook
CentOS at Facebook
 

GTRI Internship Presentation

  • 2. Tasks I.Network Time Protocol with GPS A.NTP Installation B.GPSD Usage C.GPS Configuration D.Server/Client Network II. Zynq Board Functionality Testing A.C++11 B.Limits C.Connecting to Network D.Threading E.Boost III. Other Research Topics A. PTP B. USB Filesystems IV. Pod Controller Testing A. Testing MDF B. Fixing Xterm Display C. USB Investigation V. Internship Experience
  • 3. NTP •Linux •NTP installation •Contacting Internet Servers •north-america.pool.ntp.org •time.nist.gov •utcnist.coloarado .edu •Terminology
  • 4. GPS and GPSD • GPSD Installation • Instruction Changes (various packages) • NTP with GPSD • Must edit ntp.conf file to work with gpsd
  • 5. Sample Output NTP & GPS NTP Query CGPS XGPS Tools for monitoring GPS
  • 6. GPS Configuration • Issues: • GPS time-out after 5-10 minutes of running • GPSD doesn’t reconnect with NTP after a time-out • Find a more stable configuration for the GPS using GUI • GPS has sensors and other options that are capable of being turned on and off • Also 3 different kinds of NMEA messages each with options for sensors and other data for time and position
  • 7. GPS Configuration - Settings • Most of these options and messages were turned on • Theory – too much data was being sent, overloading the GPS, and causing it to time out • Turned off all settings except those related to raw position and time
  • 8. GPS Configuration – NMEA Messages • 3 kinds of NMEA messages • GGA – latitude, longitude, altitude, time, and fix status • RMC – latitude, longitude, date, time, speed, course, fix status • ZDA – date and time • To account for the settings update turned off everything except time and position with GGA and RMC and time with ZDA • Testing this configuration revealed an error regarding GGA, so those were discarded, too • Below configuration was decided on and various baud rates were tested to find the most stable • 19200 gave the most stable configuration, GPS could run for over an hour without a time-out
  • 9. GPS Configuration – PPS • 4 options for a PPS signal • Main Loop Start – 100 PPS • Time Pulse Copy – 4PPS • Visual Odometer – Pulse everytime GPS travels set distance • Main Loop Divider – Can change number of pulses per second with a divider • 100 = divider * Hz • For 1 Hz, set divider = 100
  • 10. NTP Server/Client Setup • Setup an NTP server/client system across the GTRI network • Used my computer as server and Will’s as the client • GPS timing source for broadcast • Setup required editing the ntp.conf file • For Server: broadcast 10.104.21.230 minpoll 4 • For client: broadcastclient server 10.104.21.230 minpoll 4 maxpoll 4 iburst
  • 12. Zynq Board • Getting Started • SD • SSH • NFS • C++ • Used Xilinx SDK to cross compile code for ARM • SDK has Linux terminal to communicate with board
  • 13. Zynq Board – C++11 and Limits • Tested some basic elements of C++11 • Range-based for loop • Smart pointers – shared pointers • Tuples • Maps • Tested the limits of sizes of variables on the board • Same output on my desktop and on Zynq Board Size (Bytes) Zynq Board Desktop Char 1 1 Short 2 2 Int 4 4 Long 4 4 Long Long 8 8 Double 8 8 Float 4 4 Pointer 4 4
  • 14. Zynq Board – Connecting to Internet • Board has a default IP address 192.168.42.50 • Use that address to communicate with the board • Generated a static IP for the board • Edited /etc/network/interfaces to update address, netmask, and gateway info • ifconfig eth0 10.104.40.26 netmask 255.255.0.0 • Created /etc/resolv.conf to add DNS servers • Allows FQDN formatting Contents of interfaces Contents of resolv.conf
  • 15. Zynq Board – Threading and Boost • Threading • Basic Hello World! Program using threading • Threading code that worked on desktop, would not run on Zynq • Trying to link to library that wasn’t on the board • Solution: link to –pthread and statically link to –libstdc++ • Boost • Installed boost and linked to boost libraries • Ran simple code using boost features (e.g. Lambda expressions)
  • 16. Other Research Topics • PTP – Precision Time Protocol • Requires hardware timestamping • Incompatabilities between EXT4, FAT, and NTFS on USB • Windows cannot read EXT4
  • 17. Pod Controller • Tested Mission Data File • One script launches an Xterm window • Unable to forward xterm over SSH • Set DISPLAY = :0.0 • Login with ssh –X, OR • SSH settings in /etc/ssh/ssh_config • Turn on ForwardX11 • USB Interaction • Does not automatically mount to /media/user • 4 Ports • 1 goes to /dev/sdb1 • 3 go to /dev/sdc1

Editor's Notes

  1. Create EOSL logo for bottom