Raspberry Pi 2 - Then and Now, a Comparison
Posted On at by adminGood things come in little packages, so goes the saying. Rather than
trying to cheer up a boy whose growth spurt hadn't kicked in (cough),
it’s clear that statement was designed to perfectly describe the
Raspberry Pi; the tiny computer that could.
Although it was primarily designed for the education market, when the Pi
was first released, I like many others was incredibly keen to get my
hands on one purely to tinker and see if the box really was as good as
reports had led me to believe.
So what’s New?
It's been 3 years since the original Pi launched and seemed to single-handedly send the internet into meltdown. In the intervening years, several new versions of the board have been released, each adding small incremental improvements, with an additional 2 USB ports being added to version B+ and the RAM being doubled from 256MB (in versions A to B Rev1) to 512Mb in subsequent models. Due in no small part to the incredible demand for the Pi, it was some time before I was able to get my hands on one, picking up the model B rev 2, which came with just 2 USB ports and a friction lock SD card slot.
But the latest release, Raspberry Pi 2 model B really moves things along and bumps the Pi up at least a couple of notches in terms of performance capabilities.
So how do the two models compare? On paper at least, the Pi 2 should be much quicker. With double the RAM (1GB vs 512MB in my original) and a 900MHz quad-core ARM Cortex-A7 processor (vs a 700MHz single-core ARM116JZF-S)
Performance Benchmarks
To get a theoretical impression of how much difference there actually was between my Pi and the new model, I needed to run some benchmarks. Fortunately, Roy Longbottom’s Raspberry Pi benchmarks were just the thing I needed.
Whetstone
The whetstone benchmark is one of the original benchmark tests and looks at the number of calculations carried out per second (Millions of Whetsone Instructions per Second)
Dhrystone
The Dhrystone benchmark, (which is a hilarious pun about the older whetstone benchmark when you're a Fortran dev from the early 80s) is intended to be representative of integer programming and is testing general CPU performance. The main output is the number of dhrystones per second, with a dhrystone being the number of iterations of the main code loop per second. Basically, more is better.
So with these results, I should be able to handle all the tasks I currently do much more smoothly and efficiently. But more importantly, I was keen to see how much more I would now be able to achieve with the additional horsepower behind me.
Projects Tests
Media Server
The first project that sprung to mind when I thought about the new compute power at my disposal was the home theatre I have set up with the Pi. This isn't an ideal system (I can’t easily access Netflix for instance) but the incredibly low power means I can quite happily have this set up in the spare room ready to go when I want to watch something. I can then set up more powerful systems for my more regular viewing.
At present I'm using OpenElec, one of the two main XBMC/Kodi distributions that is compatible with the Pi. I've tried both and OpenElec just comes out on top as it's been slightly less prone to crashing on me. The Model B is more than adequate for a simple media server. It's not really capable of running any of the more complex theme packs, but it’s happy with posters and background art. And I've not had any problems with connecting to my NAS using SMB or using the Yatse Android app as a remote control.
The system is also quite happy playing 1080p video though it can take a little while for videos to start playing. The only real downside is that sometimes navigating menus and actually getting to the content can be a little choppy and menus don't load as quickly as I've come to expect.
With the Pi 2, these minor niggles disappeared. Menus are much snappier and the speed of loading posters and background art seemed markedly improved. This was one of the more important things for me as having a system which not only works well, but looks good is important when you're trying to win the debate about whether you need another gadget in the lounge.
Another indicator of how much of an improvement the system has seen is that I was also able to run a range of other more demanding theme packs that are available. The original Pi was essentially limited to the confluence theme for performance issues.
Programming/Desktop Use
The improved ARM v7 processer in the Pi 2 definitely makes a difference in the general usability of the desktop environment. I've run both models on Raspian, A Debian Wheezy Distro. The improvement in performance is definitely appreciable. Whilst the system isn't blazingly fast and responsive, this should never be the expectation. For the price, the performance is perfectly satisfactory.
The original Model B was interesting to use as a desktop for an hour or two, but the speed limitations meant it quickly became an exercise in frustration trying to have any kind of productivity. Tasks such as opening the browser seem to take north of 30 or 40 seconds and anything requiring more processor power often dragged on even longer.
The Pi 2 solves a lot of these problems. Boot up time is pretty much half what it was and opening and using programs feels much more responsive. Using a range of the programs that come pre-installed with Raspian as well as some others I've installed, the difference is marked.
Embedded Projects
Embedded projects are one of the few areas where if you already own and use a Pi, an upgrade probably isn't going to make that much of a difference. The kind of project where you don't intend to be tinkering regularly, or the activity you're doing isn't one that is going to demand lots from the Pi, you're unlikely to see any real benefit from upgrading. That is of course unless like me, you've got the B+ rev 1 which only came with two USB ports. There are probably a number of occasions in which those extra ports will come in handy.
Conclusions
So, should you be tempted by the new Raspberry Pi model? If you're planning on doing anything that requires even a modicum of processing power, then the new model is a must. Not only does it remove a lot of the frustration that can build up from using an under-powered device, but it opens a number of doors to new projects that can really take advantage of the upgrades.
What is really exciting, is the announcement from Microsoft that they're creating a freely available version of Windows 10 that will run on the new Pi 2 as part of its Windows Developer Program for IoT.
There are also a number of other things I'm keen to try out on the new board, game emulation being one. The Pi 2 should be able to handle PS1 level emulation well (as opposed to older 16-bit systems on the original), so if this is an area you want to look more into, then the upgrade is definitely worth looking at.
That said, there are a couple of things to consider before you make your purchase. If like me you've got the original Model B, then this pre-dates the addition of a couple of USB ports and a re-jig of the board’s components. What this means is that you'll also need to splash out on a new case as well. Not exactly a huge investment, but definitely something to bear in mind. If you've got the Model B+ then any cases you've got are still compatible.
Asus Xonar DGX 5.1
Posted On at by admin
D-Link DNS-320L
Posted On at by adminHave you ever had a situation where you need to share a few large files
between a PC and a Mac across the home network? If the answer to this
question is "No" then count yourself lucky! It is truly one of the most
headache-inducing tasks I have tried to do recently.
If the answer is "Yes" then I think you'll sympathise with me. What
sounds like the most simple of networking tasks actually turns out to
involve hours of Google searches and shaking one's head in frustration.
The situation was simple. I had a large number of files in Windows 8.1
that I wanted to transfer to a Macbook Pro. These totaled about 40GB in
size so I didn't want to go through the hassle of putting them on an
external hard drive, then transferring files from the drive to the Mac
as it would have taken far too long with only a USB 2.0 hard drive at
hand. Instead, I thought I would simply share the file on the PC with
the homegroup and pick it up from the Mac over the network. It is a lot
more hassle than this, however. There are a number of guides on how to
do this process on Google, but unfortunately none of them worked for me,
due to the Mac requiring non-existent passwords for the PC and it not
picking up the Homegroup properly.
This process made me think that it would be great if I could have access
to any of the files I wanted to share, from any device, even if my PC
is turned off.
The solution to this?
Enter: The D-Link DNS-320L 2-Bay Cloud Network Storage Enclosure!
This neat little black box now sits on top of my router and contains all
the files I want to share with devices I specify via a simple web
browser or as an assigned drive on any laptop or PC connected to the
home router.
Using two 1TB Seagate Barracuda drives, the setup wizard allows you to format the drive configuration in the following ways:
- Standard (two separate volumes on the NAS);
- JBOD (combining the drives for maximum available space);
- RAID 0 (combining the drives for maximum available performance); or
- RAID 1 (mirroring the drives so that if one fails, the other will still contain all the data). This option, however, only allows for a maximum of 1TB of space.
I opted for the RAID 1 configuration for 1TB of space. This is because the data I wanted to store on the device is important for me to keep. If it weren't as valuable, a better option would be to configure the drives in RAID 0, in order to increase the read/write times and gain more storage space.
2 x 1TB Drives Ready for NAS
Drives in-situ
The setup program formats the drives as appropriate (this process took about five minutes in total), then the device appears as a network drive in the Explorer window on a PC. On a MacBook, the DLink device appeared as a shared device in Finder, which could be accessed using the username and password set up during the installation. Accessing the management window of the NAS is done by simply entering the ip address of the unit in a browser window. Easy peasy!
NAS Web Interface
When transferring files over from the PC to the NAS over my home network, the speed averaged around 35 MB/s; streaming music, large audio files and 1080p video directly from the unit over home WiFi was flawless, reading files at around 43MB/s.
The D-Link DNS-320L also has the option to sign up to www.mydlink.com in order to access files from the NAS anywhere in the world. After a simple registration process, the web interface becomes available and is very easy to navigate, and download and upload files to the device. There is also a very useful "MyDlink Access-NAS" app on an Android or iPhone that can be downloaded for free, allowing backups of material from a phone or the ability to access files stored on the NAS. You can also stream music from the device straight to the 'phone with the built-in media player within the app (depending on the speed of the data connection) and even set the app to automatically save photos taken with your 'phone's camera straight to the NAS. Handy!
Browsing Using the Phone
MyDLink Interface
Downloading from the web interface was very quick - around 6MB/s at home and around 1.5MB/s on 4G using an Android phone (this being around the maximum speed I usually get for downloading anything from the Internet).
Along with great media storage and playback facilities, this home network storage solution provides a number of practical applications for backing up whole drives (for example, setting a Windows backup to run every week straight onto the NAS for peace of mind). I have a 'fresh skeleton build' of Windows backed up now containing programs that I frequently use such as Chrome, VLC player, Steam and Origin to name but a few, so whenever I want a fresh installation of Windows I can simply restore this build from the NAS rather than spend time re-downloading all the necessary programs. This can all be managed through the "ShareCenter" web interface within the unit and is very user-friendly and easy to navigate. It also includes options to control home security cameras linked to the device if you so desire.
For the price paid for this little unit (around £40 at the time of the review), the ease of use and the peace of mind it offers regarding backups and storage of files, it is a cost-effective, user-friendly and convenient solution to file sharing. The DLink DNS-320L is a fantastic piece of kit that I would wholeheartedly recommend as a basic home network storage solution.