Raspberry Pi Performance

The BitScope Display Diagnostic Application

Optimizing real-time waveform display for Raspberry Pi

BitScope Display Diagnostic Tool

One of the things that sets BitScope apart from other PC based test, measurement and data acquisitions systems is its interactive software which displays live mixed signal waveforms in real-time running on a wide variety of computers and embedded systems.

Late last year we started porting our software to Raspberry Pi. We love the Pi and while it's not the fastest little computer on the planet (update: it's much faster now), turns out it's more powerful than you might think, if used correctly.

What do we mean by "used correctly"?

In a nutshell we mean to run code optimized for efficient execution on a system with a modest (by today's standards) CPU, FPU and L1/L2 caches, and a partially accelerated X server. This is not to say Raspberry Pi does not have very powerful graphics (it does!) or that it can't do some pretty good number crunching (it can!) but our aim is to leverage what is available in a cross-platform sense without resorting to writing customized GPU code (not yet anyway).

Over the past decade or so software developers have been spoilt somewhat as the Intel juggernaut churned out ever more powerful (and power hungry) processors. In our view all this power has obscured architectural flaws that have crept into the software written for these systems. It has resulted in poorer performance than is otherwise possible if only the software was written a little differently. One only needs to look at the CPU and graphics hardware of an old Amiga to marvel at what can be achieved with much less grunt than a modern x86 i7.

So we started tackling this problem by developing BitScope Display, a cross-platform diagnostic tool to help assess the display performance across all supported platforms. We've focused on platform suitability for real-time interactive use with BitScope. It has enabled our beta testers to provide practical feedback from their Windows, Mac, x86 Linux and ARM/Rasperry Pi based systems as we developed the latest DSO production release.

In the hope that it might be useful to others, we've published it to enable you to see how well your system performs for live waveform display without actually needing a BitScope and without being distracted by other issues such as signal processing, USB performance, network latency or device configuration settings.

There is more to the story of software optimization than just display but for BitScope it goes a long way to achieving our goal; high speed waveform capture and analysis on the widest range of platforms possible. We'll post more updates soon about other ways we're boosting our software performance, especially on Raspberry Pi, so stay tuned!

Related Posts

Raspberry
Raspberry Pi Zero W, a wireless wonder for only $10 !Feb 28
Raspberry
Raspberry Pi 3 Launch and BitScope BladeFeb 29
BitScope
Physical Computing with Raspberry Pi and BitScope!Dec 03
Raspberry
BitScope Micro with Raspberry Pi Touchscreen Display!Sep 09
Raspberry
BitScope, Ozberry & Pimoroni at Sydney Mini Maker Faire!Aug 12
Raspberry
BitScope Blade for Raspberry Pi at Hannover Maker Faire!Jun 05
Software
BitScope DSO 2.9 Now Available.Jun 02
BitScope
Getting Started with BitScopeMay 08
BitScope
BitScope Micro In-Line Data AcquisitionApr 02
BitScope
BitScope ARM Platform CompatibilityFeb 10
Raspberry
Bootstrapping Raspberry Pi 2 for BitScopeFeb 05
Raspberry
Raspberry Pi 2 and BitScope PerformanceFeb 02
Education
BitScope Micro & Raspberry Pi in Education at BETTJan 21
BitScope
BitScope Connection Ports ExplainedDec 19
BitScope
BitScope Micro and Oscilloscope ProbesDec 10
Raspberry
Raspberry Pi Model A+ or B+ or B+ Slimline?Nov 14
Education
Electronic Measurement with BitScope & Raspberry PiNov 12
BitScope
Hands on with BitScope Micro at electronica 2014Nov 11
BitScope
BitScope Micro Video Tutorial with Farnell element14Nov 10
BitScope
BitScope Micro and Raspberry Pi at electronica 2014!Nov 06
BitScope
BitScope Micro element14 Webinar Review.Nov 03
BitScope
BitScope Micro Webinar with element14!Oct 29
BitScope
element14 launches BitScope Micro for Raspberry Pi!Oct 27
BitScope
BitScope Micro Diagnostic Port Explained.Aug 16
Raspberry
MagPi talks Raspberry Pi B+, HATs & BitScope.Aug 04
Raspberry
Raspberry Pi B+ BitScope x 4 = 8 analog + 32 logic !Aug 01
Raspberry
Low cost networked data acquisition with Raspberry Pi.Dec 17
BitScope
BitScope Server, shared remote access for any BitScope!Dec 15
Software
BitScope DSO updated for Server CompatibilityDec 14
Education
Collaborative Solutions, Online & Interactive Education.Dec 09
Education
Powerhouse ThinkSpace Digital LearningDec 04
Raspberry
The Sydney Mini Maker Faire Review.Nov 28
Education
Breadboard One, the 4 Bit Up/Down CounterNov 07
Software
Using a USB BitScope with any Linux system.Nov 05
BitScope
Sydney BitScope, Online Demo Updated.Oct 30
Software
BitScope Touch Screen User InterfaceOct 28
BitScope
BitScope is virtually indestructible, just as we intended!Oct 23
Education
BitScope Ed at OzBerryPi, Presentation Review.Oct 21
Software
Vertical Offsets and Dual Channel DisplayOct 19
Raspberry
How to Install BitScope DSO on Raspberry PiOct 18
Education
Breadboard One, a typical Mixed Signal Circuit.Oct 17
BitScope
Dual Channel Active Differential Probe (New Product).Oct 15
BitScope
BitScope Smart Port. The clever connection.Oct 12
Education
BitScope Ed, an Educational Blog about Electronics.Oct 09
BitScope
Why the oscilloscope update rate is important.Oct 06
Software
BitScope Software Blog LaunchedOct 04
BitScope
Differential measurements matter, here's why...Oct 01
BitScope
BitScope Website Upgrade and Blog LaunchSep 29
Raspberry
BitScope Software for Raspberry Pi OscilloscopeSep 27
BitScopeBitScope DSO Tutorial ExamplesSep 09