Home Blog Page 1682

Open Source at the Heart of Most Startups These Days

open business culture

Bringing together people with high-energy and motivation to create startups that have the potential to make a positive impact on society is a great endeavour. It takes vision to bring together inspiring leaders on one platform and create an environment where their best skills are put to use for a larger cause. C3 Inspire is one of those organizations and thrives on such a vision.

I spoke with Alim Maherali, founder of C3 Inspire, and that talk put a lot of things in perspective when it comes to building and successfully running an organization based on the open source principles of collaboration, connections, and sharing.

In this interview, he tells me about the new culture of startups where there’s a reigning sense of collaboration and the overwhelming use of open source software.

Read more in my interview with Alim Maherali.

read more

Read more at OpenSource.com

Distribution Release: Zentyal 3.3

José Antonio Calvo has announced the release of Zentyal 3.3, an updated version of the project’s Ubuntu-based distribution for small business servers: “The Zentyal development team proudly announces the release of Zentyal Server 3.3, a new version of the Linux alternative to Windows Small Business Server and Microsoft….

Read more at DistroWatch

Early Ubuntu 14.04 Tests Show Some Performance Changes

If you have been wanting to take some time this holiday season to switch from Ubuntu 13.10 stable to the latest development packages for Ubuntu 14.04 LTS, here’s some quick benchmarks I did last week showing some of the performance changes to be found right now from using the latest Ubuntu 14.04 development packages.

Read more at Phoronix

Mageia 4 Getting Closer with New Beta

mageiaAnne Nicolas announced the release of Mageia 4 Beta 2 this past weekend saying, “Lots of effort was put into fixing the remaining blocking bugs.” There are interesting new developments as well all heading for the February 1, 2014 Final release date.

One of the major new features this release is the switch from GTK+ 2 to GTK+ 3. Most of the “Drake” tools have been ported over and “now use more modern components and have access to all widgets.” RPM was upgraded to 4.11.1, the kernel was updated to 3.12.3, and Xorg X Server was updated from 1.13 to 1.14.4. Beta 2 also ships with KDE 4.11.3, GNOME 3.10.1, LibreOffice 4.1.3.2, Firefox 24.1, and GCC 4.8.2. Mageia 4 will also feature Kscreen, the new multi-screen management tool for KDE; a new “Newbie How-To”; and systemd device naming. Cinnamon and MATE are in repositories. There is no new artwork integrated yet, but the freeze was a month ago, so perhaps in the RC.

 
Read more at Ostatic

How And Why I Switched to Ubuntu

ubuntu_logo

You may not agree with everything that they do, but Canonical is the most interesting company in the tech industry today. They have a vision, a wild vision, of a single user interface back by open source software running on all computing devices, both personal and professional. Cloud infrastructure, basic servers, workstations, laptops, tablets, phones, and televisions could, if Canonical plays its cards right, be powered by Ubuntu and the Unity interface. I find this fascinating, and bold. Ubuntu is not just another distribution, it is a vision of what computing could be.

I’ve been an advocate for using open source software in the datacenter for years. As a systems administrator, I see first hand both the business and practical day-to-day management benefits that open source brings. But, for my personal computing needs, I’ve tended to waffle a bit. I’ve been a fan of Apple since 2003 when I bought my first iBook, and it’s been a wild ride to see them skyrocket to the top. I’ve developed a couple of Cocoa applications, one that I know of that’s used quite a bit, and generally thought of myself as part of the Apple community. I partly attribute my love and understanding of design to my time spent with the Mac. There were times when I did not always use a Mac, but one has always been around.

 

Read more at Ostatic

 

FreeBSD 10.0 Kernel Comes To Debian

Advancing prudently but quietly within the Debian camp is the Debian GNU/kFreeBSD operating system that pairs Debian’s GNU user-land with the FreeBSD kernel. For Debian 8.0 “Jessie” there are continued improvements on this spin that does away with the Linux kernel. Debian GNU/kFreeBSD Jessie/Sid currently defaults to the FreeBSD 9.2.0 kernel, but a FreeBSD 10.0 development kernel has already landed in Debian and is the focus of today’s benchmarks.

Read more at Phoronix

Everything You Need to Know to Install SteamOS On Your Very Own Computer

True to its word, Valve has released a beta version of SteamOS, the Linux-based operating system that it will use to power its living room Steam Machine consoles. The release coincides with a lucky group of 300 public beta testers who were selected to actually receive Steam Machines to test on—the rest of us can still use the OS, but we’ll have to bring our own hardware.

Valve had previously recommended that users who aren’t “intrepid Linux hackers” should wait a few more months before trying out SteamOS, but that’s not going to stop Ars from barreling head first into the midst of things! We downloaded the OS as quickly as we could after it went live and spent some time getting it whipped into shape on fresh hardware. Contrary to Valve’s warning, the install wasn’t complex or scary at all—though if you’ve never installed Linux before, it might take you a bit out of your comfort zone.

Read more at ArsTechnica.

Distribution Release: Quirky 6.0

Barry Kauler has announced the release of Quirky 6.0, a minimalist distribution (and a fork of Puppy Linux) that attempts to explore new avenues and implement unusual ideas: “Quirky is my fun project to explore new ideas for Linux. I started Quirky Linux in 2009 as a venue….

Read more at DistroWatch

Linux Kernel Support For Intel Processor Trace (Intel PT)

Patches were published last week that enable support for the Intel Processor Trace extension within the Linux kernel’s perf sub-system…

Read more at Phoronix

Benchmarking the ODroid XU: A Fast-Clocked Quad A15 ARM Machine

The ODroid-XU contains 8 CPU cores in a big.LITTLE configuration where four of the cores are active at any time. The Single Board Computer comes with 2Gb of RAM, USB 3, a microHDMI connector able to output 1080p, 10/100 network connectivity, a microSD slot, and the ability to connect up to 64Gb of eMMC flash memory to the system.

odroid xuIn the picture, at left, you can see the ethernet connector, 4 USB 2.0 ports, and the display port connector. The connectors at the other end of the machine are headphone, microsd, two USB 3.0 ports, and power input. The four pin white connector on the top left of the board is for the UART to serial cable which allows you to get a serial console on the ODroid-XU right from the start of booting. The 30 pin header on the right side of the board offers ADC, SPI, and GPIO access.

There are many optional extras for the ODroid-XU; the top of your list should be one of the eMMC boards which allow you to choose how much flash memory you want on your ODroid. The benchmarks below will shine some light on this suggestion. The eMMC is shown below the ODroid-XU. I also got the SATA to USB3 dock and Smart Power to measure and contrast power consumption. During this series on embedded Linux boards I have been using an at-the-wall power meter to show the full power consumption of these ARM machines. Using an at-the-wall meter also means I am measuring the inefficiency of the normal power supply that the ARM machine comes with. With the smart power device I can compare the at-the-wall figures to “at the wire” post power brick figures.

The eMMC flash also comes with a small adaptor board which is shown to the left of the eMMC flash in the picture. The adaptor board is green, the eMMC board is blue. The adaptor board has a connector for the eMMC board on one end and a microSD connector on the other end. This way you can use the adaptor board to connect the eMMC to a desktop machine using a microSD card reader. You will want to connect the eMMC to the desktop like this to write a Linux system image to the eMMC. Then you can disconnect the adaptor board and connect the eMMC directly to the ODroid to boot up. The eMMC connects to the ODroid-XU on the left side just above where the heatsink fan power lead connects, making it a touch fiddly to connect, getting in between the heat sink and case.

Installing Fedora

The eMMC came with Android 4.2 installed on it so I gave that a quick look before installing Fedora. The grapics transitions operated smoothly, with fennec-23.0b10 getting 3997 overall in the Octane benchmark. I noticed a few little gotchas on the Android install: no play store, and when trying to install apk files through the browser I was met with a message that installation could not progress because there was no sdcard. I guess the eMMC setup confused Android. The later issue can be gotten around by using a USB cable and the Android debugger “adb” to install your custom apk files on the ODroid-XU.

To get Fedora 19 on the ODroid-XU, download the latest image, connect the eMMC card using the adaptor, and use dd to copy the image to the card. The command below uses the /dev/disk/by-id path to minimize the risk of accidentally overriding the wrong disk. Using “fdisk -l” on that usb-Generic device is a handy double check that you have a disk that is of 16Gb (or the expected size of your eMMC). Once I copied the image to the eMMC and connected it the ODroid-XU booted into a Fedora desktop at 720p.

# dd bs=4096 if=fedora19_armhf_odroidxu_20130927.img 
  of=/dev/disk/by-id/usb-Generic_STORAGE_DEVICE_000000009412-0:0 

You can’t use the normal preferences panel to change the display resolution. Instead you set a few options shown below in the /boot/uboot/boot.ini file to your tastes. Unlike some uboot configuration setups, there is no extra processing you need to do after editing the boot.ini file as it is used directly during system boot. There are some issues with HDMI listed on the ODroid Forums but I didn’t have display issues at either 720 or 1080p.

setenv fb_x_res     "1920"
setenv fb_y_res     "1080"
setenv hdmi_phy_res "1080p60hz"

Benchmarking speed

Moving on to benchmarks, first I’ll take a look at the performance of the optional eMMC module against a class 10 microSD card (I used a Sandisk 16Gb Ultra mSDHC UHS-I Class10 card). For benchmarking I used both bonnie++ and a targeted test using IOzone. The target I chose for IOzone was for uncached read and write of data in 4Kb size. This is a particularly weak area for general purpose microSD cards as many of the cards are designed to write digital pictures and video onto instead of for use with general purpose computing devices.

The eMMC performed wonderfully with bonnie++ getting about 128Mb/s sequential read and failing to 30Mb/s and 20Mb/s for sequentail write and rewrite respectively. The class 10 microSD card got 22, 5, and 3.7Mb/s respectively for read, write, and rewrite performance. This makes the eMMC about 6 times faster than the class 10 card for sequential read and write. Looking back at theODroid-U2 benchmarks, it got 61Mb/s, 16Mb/s, and 12Mb/s for sequentail read, write, and rewrite respectively on it’s eMMC. So sequential IO performance where both the ODroids were using eMMC makes the ODroid-XU about twice as fast as the ODroid-U2.

There are many times when a machine will want to read and write small random bits of data. When you start an application many configuration files, icons, and other files are likely to be needed, and those might not be in the cache already. To test for this small IO pattern I used the below commands to invoke IOzone. The -I option means to use direct IO which will avoid the Linux disk caches. The -i0 through -i4 select which tests to run, -r 4k means to use 4Kb records during tests, and -s 16m means to use 16Mb files for testing. Using direct IO allows smaller files to be used without letting Linux cache the whole file in RAM and skew the results.

$ time iozone -I -a -i0 -i1 -i2 -i4 -r 4k -s 16m

The results are shown below. For comparison to a desktop machine I used an OCZ Vertex2 60Gb SSD drive attached a Z68 motherboard using an Intel 2600K CPU. As expected, the OCZ SSD has a healthy lead across the board. It is interesting that using the eMMC write and random writes are about 3 times faster than the class 10 microSD card. Read performance at 4Kb is closer to 2.5 times faster when using the eMMC compared to the 16Gb class 10 card.

                                            random  random   record  
           write rewrite    read    reread    read   write  rewrite 
eMMC16G     4551    4856    13146    13059   12780    4561     5573 
Sandisk16G  1578    1764     5039     5075    5108    1692     2704 
OCZ V2     45212   45569    53995    54375   30248   24482    60865 

Looking at the Octane Javascript benchmark, an Intel 2600K using firefox-24.0-1 gets 17899. The ODroid-XU gets around 30% of that performance with 5215 overall. This is the highest Octane performance I have seen from an ARM machine in the series so far. Though I should also mention that the OMAP5432 chip from Texas Instruments which got 1914 was only at half its true clock speed at the time.

The OpenSSL speed test is single threaded, so some of the performance advantage of the ODroid-XU having the quad A15 cores is lost in the results. The ODroid-XU gets 483 and 8647 for 1024 bit RSA signature and verification. An Intel 2600K gets 3965 and 73462 for the same tests, making the Intel 2600K about 8 times faster than the ODroid-XU. The Intel 2600K to ODroid-XU numbers for 1024 bytes of sha256 is 186835 to 86985 respectively making the Intel slightly over twice as fast for this digest.

 Odroid cipher performance

Odroid digest performance

rsa sign

ODroid rsa verify results

Benchmarking Graphics Performance

To test 2d graphics performance I used version 1.0.1 of the Cairo Performance Demos. Clearly the ODroid-XU is not doing any hardware accelerated 2D graphics at the moment. 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.

      ODroid-XU    BBB    desktop 2600k/nv570
          1080p   720p    two screens
chart:       5       2      16
fish:        7       4     188
flowers:     4       1     170
gears:      36      26     140
gradient:   17      10     117

The two main downsides I encountered with the ODroid-XU are fan noise and support for hardware accelerated video playback. The CPU itself should be fast enough to decode and display content up to 720p and I experimented a bit with upscaling smaller content to screen size. Looking at the 1080p Big Buck Bunny didn’t decode in real time purely in software. The fan is connected with 4 screws and I imagine that replacing it with a larger 80mm fan would mitigate the noise issue at the expense of the ODroid-XU then looking a bit awkward.

Power wise the ODroid used about 2 watts idle at a 1080p desktop. Plugging in a passive hub with a keyboard and mouse jumped that to 3.1 Watts at idle. Leaving the keyboard and mouse plugged in, during openssl speed consumption moved up to around 7 W. When running, octane power was mostly in the 6 W range with the occasional jump into the 7s. Running 5 instances of openssl speed at once gave peaks into the 10 W range. Given that the keyboard and mouse were only drawing 1 W of that, this might be why the default power supply can potentially deliver up to 20 W.

To compare the numbers above with those taken using the wall power meter that I’ve been using throughout the series, at idle with the keyboard and mouse plugged in a 5V/3.1A supply used 4 W. The MinnowBoard power supply also used around 4 W powering the ODroid-XU at idle. Running 5 openssl speed processes at once, the wall power meter showed in the 13 W range. This makes the wall power readings about 20-25% higher than the at the board readings measured by the smart power supply. Though the smart power supply is itself powered by a 12V/3A power supply.

The ODroid-XU performs well for general CPU tasks and its eMMC helps the machine hum along. Hardware video decode and scale isn’t there at the moment, though that might change in the future. Video decode aside, if you are looking for a small very fast quad core ARM machine that you can run Fedora or other Linux distributions on easily the ODroid-XU might be what you are after. The ODroid-XU has a healthy lead in openssl performance and the highest Octane performance of ARM machines in the series so far.

There are two variations of the XU, with “+E” adding the ability to measure the power usage of the A15 and A7 ARM CPU cores, the GPU, and the memory. I hope to review the external hard disk bay soon using a nice SSD to see how performance is impacted by going over USB 3.0.