element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Sci Fi Your Pi
  • Challenges & Projects
  • Design Challenges
  • Sci Fi Your Pi
  • More
  • Cancel
Sci Fi Your Pi
Blog TrainingSphere - 4 - Installing Realtime Raspbian
  • Blog
  • Forum
  • Documents
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: amgalbu
  • Date Created: 3 Jul 2015 4:05 PM Date Created
  • Views 1043 views
  • Likes 3 likes
  • Comments 7 comments
  • sci_fi_your_pi
  • training_sphere
  • sci_fi_pi
Related
Recommended

TrainingSphere - 4 - Installing Realtime Raspbian

amgalbu
amgalbu
3 Jul 2015

It's time to start doing something serious!

 

So, according to the plan, I will install the realtime version of the Raspbian. I will use Raspberry Pi Model B. I will install this Raspbian version with real-time kernel for Raspberry Pi 2 Model B. It is based on 2015-02-16-raspbian-wheezy with default kernel replaced to 3.18.9-rt5-v7+ kernel and a few additional tunings.

Default Raspbian kernel 3.18 is configured with PREEMPT option and provides worst case latency around hundreds of microseconds. Real-time demanding applications require lower latencies than that. Real-time patch lowers the worst case latency to tens of microseconds, improving performance of real-time applications such as autopilots to be run on Linux.

Emlid (the company that provides this Raspbian version) provides also some useful performance comparisons

 

image

By the way, the following interrupt latency data (obtained by running command)

sudo cyclictest -l1000000 -m -n -a0 -t1 -p99 -i400 -h400 -q

gives another idea of the performance improvements between Raspberry Pi and Raspberry Pi 2

 

Interrupt Latency

Raspberry Pi

Raspberry Pi 2

No RT

RT

No RT

RT

Min

13 us

11 us

13 us

11 us

Avg

23 us

23 us

21 us

18 us

Max

1153 us

66 us

307 us

58 us

 

The step to install the realtime Raspbian are

  1. download image from
    http://docs.emlid.com/Downloads/Real-time-Linux-RPi2/
  2. unzip the .xs file using 7-Zip. This will create a .img file
  3. dump the image on a SD card using Win32DiskImager

 

Very smooth and easy!

  • Sign in to reply

Top Comments

  • DAB
    DAB over 10 years ago +1
    The numbers look reasonable given the capability difference between the boards. DAB
  • Problemchild
    Problemchild over 9 years ago +1
    Nice to see some quite useful figures, have you got any for the RPI 3 yet ? Also it would be quite interesting to get some figures against other board types or even PCs
  • Problemchild
    Problemchild over 9 years ago

    Nice to see some quite useful figures, have you got any for the RPI 3 yet ?

    Also it would be quite interesting to get some figures against  other board types or even PCs

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • clem57
    clem57 over 9 years ago in reply to Former Member

    Make sure you tried in group Raspberry Pi other places you would have no permission.

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 9 years ago in reply to clem57

    when I try to create a question on element14 it says I cant

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • clem57
    clem57 over 9 years ago in reply to Former Member

    Please create a new discussion with details and mark as a question to get help.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 9 years ago

    great I bought a raspberry pi  3, I am f@#ked

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube