Final Project

  • Upload
    jess

  • View
    22

  • Download
    1

Embed Size (px)

DESCRIPTION

Final Project. Alexander Popp. Outline. Abstract Background Purpose Experimental Results Conclusion Summary. Abstract. RTAI FIFOs are created in the real-time system Opening a FIFO file in user space doesn’t even open a file at all - PowerPoint PPT Presentation

Citation preview

Final Project

Final ProjectAlexander PoppOutlineAbstractBackgroundPurposeExperimentalResultsConclusionSummaryAbstractRTAI FIFOs are created in the real-time systemOpening a FIFO file in user space doesnt even open a file at allAll RTAI FIFOs referenced from nodes in the file systemBackgroundProject an overall extension of Lab ThreeWhy is it real time?Utilizes processes and threadsFlow control using semaphoresUses real time FIFOs as a part of real time processCritical ConceptsFIFOs, named, and unnamed pipesPurposeDoes using a USB drive in the Linux file system change the time required to move data between user space and kernel space?Why do this?Final product of trying to get a USB to work on that board in the lab.Understanding the fundamental nature of kernel and user space interactionsExperimentalFirst Steps: The USBLoading the USBModule vs. kernel versionForced loadSolutionsFormatting the USBAvailable formatsPartition Issues

Experimental

ExperimentalExamination of TimestampsHow does time to process change when?USB is not installed into dev/rtfUSB is installed into dev/rtf USB is installed and backups of the file transfer are madeThree sets of trials, with six trials per setExperimental

ExperimentalFirst Trial: ControlUses Lab Three to get basic time stampsFIFOs accessed from dev/rtf as before

ExperimentalSecond Trial: USB DriveDrive mounted at dev/rtfThe FIFO locations are recreated on the USB

ExperimentalThird Trial: Add a backupBefore the second time stamp is taken, a backup of the timestamp structure is saved on the USBResultsLab Five ControlTime in nsTrialOneTwoThreeFourFiveSixStamp One104844027108210027110556027115554027116982027122796027Stamp Two104844333108210231110556231115554231116982231122796231Total Time306204204204204204Average Time221USB FIFOTrialOneTwoThreeFourFiveSixStamp One339342027343014027346686027350154027351990027353112027Stamp Two339342333343014231346686231350154231351990231353112231Total Time306204204204204204Average Time221USB FIFO w/BackupTrialOneTwoThreeFourFiveSixStamp One705318027707256078708684027710724027713172027715314027Stamp Two705318435707256282708684231710724231713172231715314282Total Time408204204204204255Average Time246.5Results

ConclusionsWhen making file in user space to write to FIFO with, your really making a node/referenceNo, a node is not a type of fileAll RTAI FIFO operations are really done in kernel spaceSimply provides a means of communicationNothing really happens in the user spaceConclusions

SummaryAbstractBackgroundPurposeExperimentalResultsConclusionSummary

Questions?

If we knew what we were doing, it wouldnt be called research- Albert Einstien