Google Play icon

Cubieboard Part 2: Benchmarking Performance of the Allwinner A10

Posted September 17, 2013

Last time around I took a look at the Cubieboard, installing Linux onto it and its general power usage needs. (See “Cubieboard: ARM A8 CPU with SATA for Under $50.”) Now we’ll see some numbers on how well the A10 ARM at the heart of the Cubieboard performs. Remember when reading the performance numbers that the Cubieboard and BeagleBone Black are single core machines while the GK802 and ODroid-U2 are quad cores, and on top of all that the Intel 2600K has hyperthreading.


cubieboardThe Cubieboard has an ARM A8, 1Gb of RAM, 4Gb of Flash storage, HDMI output, and a whole bunch of IO pins.


I am using a 16Gb SanDisk Ultra microSDHC card to benchmark devices that offer a microSD slot. Such cards can be purchased for around $15 and with ratings up to 30mb/sec they should allow a smaller ARM machine to run effectively while keeping the storage cost reasonable. I’ll just refer to this card as the “test microSD card”. Expanding the openssl-1.0.1e.tar.gz onto the test microSD card took 7.6 seconds. The same operation took 4.7 seconds on a desktop Intel 2600K machine. Compiling openssl took 25.5 minutes on the Cubieboard, about 8.5 minutes on the GK802 quad core Freescale i.MX6 machine, and around 1.5 minutes on the Intel 2600K CPU.

Openssl Speed Test

The openssl speed test showed similar results for ciphers and digests with the Cubieboard (red) performing in the same ballpark as the BeagleBone Black (blue). RSA signature verification on the Cubieboard at 166 was slightly faster than the Beagle Bone Black with 163, but again these are in the same ball park.

ciphers copy

digests copy

Graphics performance

To test 2d graphics performance I used version 1.0.1 of the Cairo Performance Demos. There are many individual tests in the Cairo demos: the gears test runs three turning gears, the chart runs four line graphs, the fish is a simulated fish tank with many fish swimming around, gradient is a filled curved edged path what moves around the screen and flowers renders rotating flowers that move up and down the screen. For comparison I used a desktop machine running an Intel 2600K CPU with an NVidia GTX 570 card which drives two screens, one at 2560×1440 and the other at 1080p. I’ve also included the performance of the GK802 running at 1080p and BeagleBone Black running at 720p.

cairo copy

Web browsing

For testing Web browsing performance, I used Firefox and ran the Octane Javascript benchmark. The Intel 2600K sets the top performance as expected with 9667 overall. Next up, the ODroid-U2 came in at 1411, then the GK802 with 777 overall, the Cubieboard at 384, and finally the BeagleBone Black at 367. Note that the BeagleBone Black and Cubieboard are both single core machines while the others are all quad or more cores.

octane copy

The Cubieboard comes with 4Gb of onboard flash storage. Bonnie wants to create files which are twice the size of the available memory on the system to avoid disk caches from interfering with the benchmark. Since I was using some of the internal storage for an Ubuntu install I only had about 600Mb of free spage on any one filesystem on flash. The first attempts I made were to write files of up to 200Mb in size, after three attempts to do this, each ending in a kernel Oops during IO I decided to sacrifice the Ubuntu install in internal storage and reformat the nandd partition using a striped ext4 filesystem without a journal. The final bonnie++ command shown below completed on the newly formatted ext4 filesystem in internal flash. This resulted in a sequential output of 4.6Mb/sec with a sequential input of about 68Mb/sec. The read benchmark is likely to be higher than real read performance because of the 1Gb of RAM available for caching.

[email protected]:~/flash$ /sbin/bonnie++ -f -m cubieflash -s 100 -r 50 -n 0 -d `pwd` 
... Oops!
... Reboot...
# mount | grep nandd
/dev/nandd on /mnt/t2 type ext4 (rw,relatime,data=ordered)
# mkfs.ext4 -O ^has_journal -E stride=2,stripe-width=1024 -b 4096 -LTESTFS /dev/nandd
# mount LABEL=TESTFS /mnt/test
# cd /mnt/test
mkdir benchmarking
# chown ben benchmarking
# su -l ben
$ cd /mnt/test/benchmarking
$ /sbin/bonnie++ -f -m cubieflash -s 200 -r 100 -d `pwd`

SATA port

To get the SATA port up and running you might have to perform a few extra steps, shown below. Firstly you’ll need the sunxi-tools to verify that your /boot/script.bin initializes the SATA port. The Fedora 18 I used did not enable the SATA port so I had to update the decoded script.fex file and regenerate my /boot/script.bin file from the fex file.

I used the 120Gb model of the SanDisk Extreme range of SSD for testing. These drives can be had for around $100. An ext4 filesystem was created with default parameters and mounted with default parameters. About 41Mb/sec could be written to the SSD and 104Mb/sec read back from it with 1849 seeks/sec performed. For comparison, the exact same drive on the TI OMAP5432 got 66Mb/sec write, 131Mb/sec read and could do 8558 seeks/sec.

# bin2fex /boot/script.bin > /boot/script.fex 
# vi /boot/script.fex 
sata_power_en = port:PB08<1><default><default><0>
# fex2bin /boot/script.fex >| /boot/script.bin
# modprobe  sw_ahci_platform
# su -l ben
$ cd /mnt/ssd/benchmarking
$ bonnie++ -f -m cubiessd -d `pwd`

The Cubieboard offers similar raw CPU performance to the BeagleBone Black, which is another 1Ghz single core machine. The Cubieboard2 is now available based on the dual core Allwinner A20 CPU. While I got some hardware offloaded 1080 video decoding working, I had to compile vlc myself and tinker around with the CedarX libraries to get there. The SATA port and cable offered by the Cubieboard are rare to see for a board of this price range and offer good performance for a lower end SSD.



Featured news from related categories:

Technology Org App
Google Play icon
87,043 science & technology articles

Most Popular Articles

  1. You Might Not Need a Hybrid Car If This Invention Works (January 11, 2020)
  2. Toyota Raize a new cool compact SUV that we will not see in this part of the world (November 24, 2019)
  3. An 18 carat gold nugget made of plastic (January 13, 2020)
  4. Human body temperature has decreased in United States, study finds (January 10, 2020)
  5. Donkeys actually prefer living in hot climate zones (January 6, 2020)

Follow us

Facebook   Twitter   Pinterest   Tumblr   RSS   Newsletter via Email